* 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>
* Add example to TimelineRotation. Also fix bug where a non-interpolating timelinerotation would disappear before the first keyframe
---------
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Apply the hue, value, saturation, and gamma values from the renderengine to screenspace renderables. Change the screenspace's own gamma value into an offset
* Make it clearer that the gamma correction is now an offset
A passover of all the Parameters descriptions and PropertyInfo descriptions of the renderables in the code base to make then more consistently and concisely formatted. Also fixed some small issues and added or updated descriptions.
* Start rephrasing propertyinfos for more consistency
* Update eclipse cone propertyinfos
* Update `RenderableFov` property infos and group colors in UI
* `RenderableGalaxy` and `RenderableGlobe`
* Update more descriptions
* Moore descriptions
* Update docs for `RenderableShadowCylinder` and add properties
* `RenderableSkyTarget`, and spheres (`ImageOnline` and `ImageLocal`)
* `RnederableSphericalGrid`, and update line width info of other types, for consistency
* `RenderableStars` and `RenderableTimeVaryingSphere`
* Update more propertyinfos
* Fix inconsistent mentioning of true/false
* change some phrasings for increased consistency
* Update Renderbin description to include Sticker bin and remove extra property
* Rename `OutlineWeight` -> `OutlineWidth`
* Extend description about enable depth test for models
* Clarify what relative values mean for `RenderableNodeArrow`
* Elaborate on `RenderableLabel` size property
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Malin E <malin.ejdbo@gmail.com>
* Update examples for `RenderableNodeArrow` and `RenderablePlaneImageOnline`
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Makes it so that changes can be done to the color map file without having to delete the cache, and decreases confusion about that one file is cached when the other isn't
Fixes following issues: #625 , #1067 , #1212 , #1472 , #2072 , #2235, #2964
- Trails in `renderableTrailTrajectory` now goes through the spacecraft when using `AccurateTrailPositions`.
- Trail fading controls have been improved for classes using the `renderableTrail` class.
- `renderableOrbitalKepler` (asteroids/satellites) can now be rendered as both trails and points (or both at once). Solution implements similar functionality/controls as `renderablePointCloud`.
- Default setting for SweepChunking has been changed from `true` to `false` (iterative calculations of `renderableTrailTrajectory`).
- Some fixes related to missing points or off-by-one errors related to trail rendering
* WIP start including rotation data
* Fix option to use orientation data or not
* Renames to reflect that points are no longer billboarded (at least not always)
* Increase max value for scale factor
* Fix correct scaling for tully and deep sky objects
* Remove the old RenderablePlanesCloud, we don't need it anymore
* Add unit handling for size scaling from data values
* Clarify some documentation about the points being rendered as planes
* Update datasets to the new ones on the server
* Use quaternions for orientation instead of vectors (simplifies interpolation and requires less data)
* Make interpolation of orientation work
* Fix size for deep sky objects being too small due to data being radius rather than diameter
* Add IsRadius flag for deepsky
* Update asset versions (major number update, due to breaking changes)
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>