* Split RenderableSphere class into a local and an online sphere
* Make the video sphere derive from the regular sphere
* Make RenderableTimeVaryingSphere derive from RenderableSphere
* Some clean up
* Add general functions for renderable matrix calculations
* Make RenderableSphere and Plane use them
* Fix an issue with the RenderablePlane shader
* Make one function that returns all three types of render matrices
* Make more Renderables use the general matric calculation function
* Make more Renderable use the general matrix function
* Simplify alternative transforms for matrix calculations
* Small clean-up
* Update RenderableModel (again) to use new transform functions
* Make calc all matrix function to return tuple
* Update some more places
* Add assets for eclipse profile
* Include the eclipse shadow in the eclipse profile
* Fix issue with the eclipse extended in both directions. Disable the Earth and Moon grids by default in the profile
* Create a RenderableNodeLine example asset
* First version of node direction hint renderable (arrow)
* Add possibility to set length as a multiplier of the bounding sphere
* Draw arrow cylinder using index array
* Update exponents and min max values for lengths
* Draw arrow head
* Only update arrow geometry when positions change
* Add some properties to control visuals of arrow
* Implement invert option
* Add normals and shading
* Set arrow head size by length percentage instead of angle
* Add bottom circle to cone
* Cleanup and update examples
* Remove non-existing property from example asset
* Fix vertices not updating if anchor node was changed
And some missing updates on property change
* Start cleaning up some shape rendering helper functions
* Cleanup code and move cylinder function to helper class
* Refactor cylinder creation code (fewer loops over same vector)
* Update transformations to correctly scale and place arrow
* Add the cone to make the arrowhead
* Update faulty triangle normals
* Add property visibilities
* Rename NodeDirectionHint to NodeArrow
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Hack to try to get desired behavior (for testing)
* Add properties to control axes of rotation and whether rotation aorund up should be enabled
* Generalze orbit function to just use an angle instead of speed and deltatime
* Move speed scale computation to a separate function
* Refactor horizontal translation code a bit
* Refactor speed computation for idel behavior
* Refactor/clean up orbit code
* Add property docs
* Add some safety checks
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* More updates based on code review
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Rename remote scripting property to reflect better what it does
* Change the remote scripting name in all modules
* Update all scripts and action calls to use the new property for sync
* Simplify code that decides whether to send actions to nodes and peers
* Move Lua console hint text to be right top aligned
* Update Lua script topic
* Added new JSON key whether or not the script should be synced to other
nodes and peers
* Per default all scripts sync to everyone
In the next full release, we should have two separate keys that
decides whether to sync and send to nodes and peers separately
* Add some comments that explain why there is no sync for some scripts
* Make sync argument in trigger action function BooleanType
* Change name of line fade in RenderableTrail from Fade to LineFade
* Adress review comments
---------
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Add asset meta and GUI description to AltAz grid and move to Night sky in menu
To avoid confusion with other grids, that have a global position rather than a local one
* Add asset metas and GUI descriptions to Night Sky assets
* Add metas and update name of some example assets
* Night sky asset meta
* Add descriptions and asset metas to scale objects
---------
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Make reading exoplanet data from CSV during runtime work
* Add function descriptions
* Clarify an info message
* Initialize all data parameters with NaN, to prevent unpredictable values when a parameter is not included in the dataset
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>