* Makes Translation/Scale/Rotation all able to have a TimeFrame, not just the SpiceRotation. Add read-only BoolProperty to the TimeFrame that indicates whether the current time is a in the timeframe
---------
Co-authored-by: Emma Broman <emma.broman@liu.se>
- Expose the FormatString property (closes#3519). Contrary to other properties, it wasn't accessible through the scripting API.
- Fix the time simplification logic (closes#3515). If the lowest required time unit's value was zero, all time units where displayed regardless of what the user required. Fix this by using a "less than" comparison rather than an equality comparison.
- Fix string truncation (closes#3516). The time string truncation was off by one, causing the trailing unit name to be truncated e.g. (minutes -> minute).
* 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>
* 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>
* 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.
* Do not hide requestedUnit of dashboarditem distance in UI
We want to be able to change it during runtime
* Change visiblity of RequestedUnit properties
* Restructuring the queueScript function
* Don't log the contents of actions that are triggered. Add the ability to do verbose logging in the scriptlog
* Update CEF version number
* Set OpenSpace_Helper version of C++ to 20
* Update C++ syntax to v 20
* Remove deprecated function (now default)
* Set the cache folder for cef
* Make static function in webbrowsermodule that determines if we can use accelerated rendering
* Add flag for accelerated rendering to webrenderhandler
* Use accelerated rendering
* Implement function to see if gui should absorb click
* Adhere to 80 char linewidth
* Make only the UI GPU accelerated
* Use dirty rects size for the texture to remove crash
* Better comments
* Make has content function work for GPU acceleration
* Make it so all browsers can be accelerated
Tried making it so only the gui was accelerated for simplicity. Performance plummeted, so reverted that
* Tidy up
* Add accelerated rendering flag to the screenspacerenderable shader
* Add temporary fix to make the sky browser work
* Remove flag from gui render handler
* Enable webgl in a nicer way
* Unbind texture in screenspacerenderable
* Add better comments for error handling
* Tidy up
* Address PR comments
* Make the acceleration Windows only
* Remove unnecessary setting of shader dictionary
* Allow web dev tools to connect to CEF
* Update modules/webbrowser/include/browserinstance.h
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Update modules/webbrowser/include/webrenderhandler.h
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Apply suggestions from code review
Co-authored-by: Emma Broman <emma.broman@liu.se>
---------
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Remove events for scenegraphnodes and screenspacerenderables
* Add events for updating the property tree
* Remove duplicate function calls
* Update src/properties/propertyowner.cpp
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Address PR comments and make helper functions with better comments
* Make uri function not return the identifier if the uri is not valid
* Rename fullyQualifiedIdentifier to uri
* Update gui hash
---------
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Add model vertex color support
* Fix an issue with the Tiangong model not loading properly and set a correct bounding sphere size for it
* Update caching for models
* Update previous model examples to the new format
* And add a new example to test the new vertex colors support
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Add a model example with lighting
* Improve the basic example and add a separate example for vertex colors
* Add visual test for vertex colors (#3348)
* Update the readme file for the visual tests
* Add asset instruction to the visual testing readme
* Add visual test for RenderableModel with vertex colors
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Update test when asset changed name
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Update Ghoul
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>