Skip to content

A C# library for Unity to interface with Stellarium's Remote Control HTTP API.

License

Notifications You must be signed in to change notification settings

davejrodriguez/StellariumUnity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StellariumUnity

A C# library for Unity to interface with Stellarium's Remote Control HTTP API.

Getting Started

  1. Download and install Unity 2019.4 (any version after the addition of UnityWebRequest will likely work, but this is what I'm testing on)
  2. Download and open the StellariumUnity project in Unity.
  3. Download and install Stellarium v0.20.2. (any version after about v0.15 should work, but this is what I'm testing on)
  4. Open Stellarium.
  5. Click Configuration [F2].
  6. Click the Plugins tab.
  7. Click the Remote Control plugin in the left-hand list.
  8. Check Load at startup.
  9. Close and re-open Stellarium.
  10. Repeat steps 5-7.
  11. Click configure.
  12. Check Server enabled and Enable automatically at startup. (Allow access if required)
  13. Set the port to 8090.
  14. Save settings as default.
  15. Close the configure window.
  16. Click the Scripts tab.
  17. Select skybox.ssc script in the left-hand list.
  18. Check Close window when script runs.
  19. Run the script. (You should see the window close and the camera point to the cardinal directions, up, and down sequentially)
  20. Verify that screenshots have been captured in Users[USERNAME]\Pictures\Stellarium.
  21. In the Unity editor, open the example scene in Assets/Stellarium/Examples/Example/Scenes/Example.
  22. Press play.
  23. In the game window, check Use Stellarium Skybox.
  24. Experiment changing the time and date and click Update to see the skybox change in the game window.

About

A C# library for Unity to interface with Stellarium's Remote Control HTTP API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%