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