* Remove duplicated node line example
* Update `ScreenSpaceBrowser` example to new format
* Add screenspace image examples
* Add docs and examples for `RenderableGrid`
* Add docs and examples for `RenderableRadialGrid` + create 10 grid segments per default
* Add docs and examples for `RenderableSphericalGrid`
* Remove the old, combined, grid example
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Fix a reference to a deprecated and renamed function in navigationstate docs
* Review documentation for scripts defined in .lua files
And utilize new markdown functionality
* Update renderable box grid size specs
So that it can have a size less than 1, and throws a specification error when the size is given as negative
* Fix some issues with the gaia filtering scripts
* Try adding param documentation to the lua script documentation
It works!
* Utiliize mroe markdown features in the updated documentations
* Add function parameter info and make small updated to gaia filtering functions
* Replace a long parameter info in description with `param` description
* Update usage examples
* Add example of how to create debug axes for the current SGN
* Update add add documentation for `RenderableDistanceLabel`
* Move distancelabel to `base` module and remove now empty `vislab` module
* Add examples for `RenderableNodeLine` and `RenderableDistanceLabel`
* Fix faultily formatted documentation ID for `RenderableNodeLine`
* Make `RenderableDistanceLabel` unit use units from distanceconversion file
And simplify how the different names for a unit are specified
* Use new distanceUnitList() function for other classes that uses the units
* Change default unit to correct option according to documentation
* Make the text property readonly for `RenderableDistanceLabel`
* Add property to specify the precision of the number
distance label precision to docs
* Add examples with different units and descriptors
* Add docs description to `RenderableNodeLine`
* Update name in one of the examples
* Remove redundant switch cases
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
---------
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Update some of the base documentation to make more sense on the docs page
* Add description for `RenderableConstellationBounds`
* Add description for `RenderableConstellationLines` and names file and labels details
* Remove redundant info from description
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Malin E <malin.ejdbo@gmail.com>
* Update constellation bound documentation based on review comments
* Update docs about labels for constellation lines as well
---------
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Malin E <malin.ejdbo@gmail.com>
* Use `TextureComponent` for `RenderableSphereImageLocal`
Cleans up code and makes texture reload automatically if the file changes
* Move a faultily located include
* Add description and update GUI property values
* Add examples with a single color
* Remove old example file
* Rename ellipse example and remove width
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Address review comments
* Also update renerable description
---------
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Add boxgrid examples
* Add description about the box grid renderable for the docs page
* change phrasing in example assets slightly
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Remove labels support for `RenderableBoxGrid`
---------
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Add screenspace version of debug plane, and an example
* Remove the old renderable
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Make `RenderableCartesianAxes` fade and fix opacity setting
* Update existing documentation of cartesian axes
* Add example with custom colros and parent node
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Include earth asset instead of using string identifer
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* There is now a bool setting to turn off depth writing and testing for
RenderableSpheres (useful for background images).
* There is also an Option setting to choose blending mode, similar to
the setting that RenderablModel has.
* NOTE: The default behaviour for RenderableSphere have now changed.
Before it was always additive blending that was used but now it is
default blending that is used by default. If additive blending is
wanted, then use the option setting and select it instead.
* Move exoplanet creation code to Lua
* Add more descriptions and handle missing values
* Remove old creation function and move load from CSV to Lua
* Properly document all functions, including a type for the `systemData` return value
* Add `\param` documentation to the scripts
* Cleanup and move helper functions to core scripts
* Throw Lua errors when things go wrong, instead of returning empty objects
This prevents the rest of the code from being run
* Flesh out TODO comments, so future us know why they are there
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
# To run the script
Make sure to install the latest Python API version `openspace-api 0.1.2`
The script is located in `OpenSpace/support/assetvalidation`, the main script takes a few command line arguments
`--dir` - specify the OpenSpace directory
`--filter` - optionally supply a regex string to filter which assets to validate
`--verbose` - flag to print debug info to log and also console (default off), if off only warnings and errors are logged
`--start` - flag to start OpenSpace as a subprocess (default on) if this is off it assumes OpenSpace is already running, useful if you want to run OpenSpace via Visual Studio for example.
`--at` - specify an index to start at a specific asset
run eg:
`python main.py --dir="C:/User/Desktop/OpenSpace" --filter="examples" --verbose=True --start=False --at=35`
* Do not hide requestedUnit of dashboarditem distance in UI
We want to be able to change it during runtime
* Change visiblity of RequestedUnit properties
* Add a tag for all exoplanet globes
* Add color to exoplanet globes based on their size
* Update color of terrestrial planets to be more deeply brown
* Change order so that the default texture for planets is shown on top
I.e. only use color if no other texture was provided
* Add descriptions of layer and planet type
* Add descriptions for some more things in the system
* Increase ambient intensity for when a planet is colored (not textured)
* Ignore GlobeBrowsing shader warning when setting camera position (closes#3405)
* Apply suggestions from code review
* Fix new constant names (from review)
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>