* Notify change listeners
I can't come up with a reason for why we would not want to do this
* Remove the Display Type for OptionProperty (only used in ImGui)
* Replace extra boolean with internal anonymous addOption function
* Tiny refactor
* removed dropdown on a couple of more places
* Update optionproperty.cpp
---------
Co-authored-by: ElonOlsson <olssonelon@gmail.com>
- Make the SourceType and DestinationType parameters required in the DashboardItemAngle
- Shift the "UTC" string in the DashboardDate from the FormatString to the TimeFormat
- Make the SourceType and DestinationType parameters for the DashboardItemDistance required
- Add new "Deltatime" option to the DashboardItemFramerate. Add examples for the DashboardItemFramerate
- Fix issue where the inputstate would not update if no option was selected
- Automatically disable simplification if a unit is requested in the asset for a DashboardItemSimulationIncrement or DashboardItemVelocity
* 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.
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>
* 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
* Split RenderableSphere class into a local and online sphere
* Make the video sphere derive from the regular sphere
* Make RenderableTimeVaryingSphere derive from RenderableSphere
* Some clean up
* Address PR comments
* Add settings to Renderable to control whether the renderbin is updated based on Opacity
* Remove duplicate RenderBin specification for RenderableSphere
* Remove unnecessary RenderBin specifications of Lagrange points
* Don't automatically update the renderbin for RenderableLabel and RenderablePlane
* Remove extra `setRenderBinFromOpacity` from RenderableSpheres
* Move information about whether a renderable should be updated when disabled
* Some cleanup of Renderable class
* Don't update the renderbin automatically if the user specified the renderbin manually
* Remove Logarithmic ViewOption and instead always use exponent of NumericalProperty + set exponent of some renderables' properties
* Add MinMaxRange ViewOption for Vec2 properties
* Add MinMaxRange viewoption to some existing vec2 properties and combine some other related properties to be able to utilize it. For example Min and Max label sizes, fade in/out distances, inner and outer radius. OBS! Includes renaming several properties (**breaking change**)
* Refactor and document labels code. OBS! Includes renaming several properties (**breaking change**)
* Add comments for some assets that have labels that are not working correctly
Renderables with rename properties: RenderableLabels , GlobeLabelsComponent, RenderableBillboardsCloud, RenderableDUMeshes, RenderableRadialGrid )
* Add ability to render the bounding sphere as a debug option
* Separate boundingsphere and interactionspheres
* Correctly compute BoundingSpheres for more renderables (RenderablePlanesCloud, RenderableOrbitalKepler)
* Add the ability to automatically generate code to extract values out of a Dictionary (see https://github.com/openspace/codegen for more information on how to use this)
* Applied this technique to a large number of cases in the codebase
* Don't add _codegen files to the repository
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Adapting to introduction of new Dictionary class in Ghoul
* Mainly replacing usage of float instead of doubles as expected
* Adjust to the lack of the hasKeyAndValue function
* Cleaner handling of global state
* Prevent Lua memory corruption (closes#982)
* Initialize glfw first thing to prevent weird joystick loading bug during startup