* Add correctly formatted examples for video player classes
* Add documentation for video player classes
* Remove old (and replaced) video examples
* Update video playback description based on code review and UI update
* Remove possibly confusing mention of servers in example assets
* Oops, missed one
* Remove another mention of the video player, as the UI will change
* First version of new screenspacetext and screenspacetextdate
* Code restructuring and adding new types
- ScreenSpaceFramebuffer -> ScreenSpaceRenderableFramebuffer
- ScreenSpaceText -> ScreenSpaceRenderableText
- Add new user-facing ScreenSpaceText
- Add examples
* Add documentation for new ScreenSpace objects
* Add visual tests to new screenspace objects
* Address PR comments
Removed feature sweepChunk.
The feature was implemented for version 0.19.0 as an iterative way to calculate renderableTrailTrajectory.
However, due to the function not being active by default, and due multithreading being on the horizon for SPICE2, this code is now removed.
- Removed SweepChunk feature
- Added toggle for Accurate Trail Points (in asset: AccurateTrail)
- Changed min number of accurate points from 0 to 2
- Removed max vertices ceiling
- Fixed issue where number of vertices were not calculated properly
- Fixed point size rendering issue for RenderableTrail
- Changed start/end time for voyager 1 & 2
- Updated description for SampleInterval and TimeStampSubsampleFactor to be more clear
- Moved full sweep pass from update function to new updateBuffer function
- Fixed trail rendering issue when time is exact same as start time of a trail
* Add fov input for fisheye projections in launcher
* Updated gitignore to ignore more necessary files
* Fixed typos
* Replace `add_definitions` with `add_compile_options` in CMakeLists for /MP /bigobj, which are not preprocessor defs
* Fixes in TuioEar: add `override`; replace erroneous `unique_lock` with `lock_guard`; minor refactor
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Fix faulty log category and minor inconsistencies in GlobeTranslation and GlobeRotation
* Small refactor
* Remove unused return value from initialize function
* Fill attached node in globetranslation initialize and initialize all timeline
Should make the timeline translation work with globetranslations in other cases that the renderabletrails
* Do the same type of change for rotation and scale
* Update initialize function singatures
* Initialize and update translation in trail before use
* Screenspace renderable renderable - move initialize call to initialize
* Refactor trail position calls to make it clearer what is being done
* Call timeframe initialize functions in transform classes
* Do not call update in trail position after all - it borks up the performance
* GlobeTransform: Only fill attached node in init and onchange, and allow nodes without renderable
* Correctly initialize the multi-transform types
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Address code review comment
* Update comments in renderabletrail
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
New screen space renderable class, ScreenSpaceTimeVaryingImageOnline, for displaying online time-dependent images from a JSON file.
This class loads a JSON file containing timestamped image URLs and displays the image that corresponds to the current simulation time. It only renders during the valid time interval defined by the dataset and updates automatically as time progresses.
* Remove Escape keybind; move gui keybind to F2
* Clear up keybinds properly
* Workaround for CEF focus bug
* Add TODO comment
* Guard against null ptr dereferencing
* Remove shift tab
* add additional keyboard mapping from glfw to cef
* Change dashboards to make prototype for first user test
* add mission added/removed event, disptached when a mission has been loaded/unloaded
* send missions as map instaed of array, rename missionName -> name
* Set keybind for toggling overlays to shift+f2
* Remove property for showing the title in the gui skybrowser module
* Remove default setting for skybrowser
* First implementation of setting the ui panel visibility from the launcher
* Add profile topic
* Coding style adjustment
* Add markNodes to the profiletopic
* Change format of additional data of options in engine
* Address PR comments
* map escape key from glfw to cef correctly
* fix issue with "Enter" key not working on buttons and other input fields in CEF
* Add test for new profile version
* Send skybrowser data although we are outside the solar system
* Update webgui to new ui
* Add name to profile topic
* Add cef variable to javascript context for when browser is in cef
* Use camelcase for cef variable
* Rewrite shortcuts topic to ActionKeybind and pass data in a better way (#3590)
* Rewrite shortcuts topic to ActionKeybind and pass data in a better way
* Fix strange error with file structure
* Address PR comments
* Address PR comments
* Address PR comments
* Make numbers in asset file prettier
* Rename name to identifier for missions event
* Clean up browser code
* Update UI hash (to fix the actions panel not working)
And update outdated comment. The backend is not part of this
* Feature/notify meta data change (#3605)
* Add notifyMetaDataChangeListener to topic
* First round of clean up the data passing
* Convert from string to json for metadata
* Update additional data to json
* Use nlohmann::json for additional data
* Pass meta data in new structure to topics
* Remove meta data method
* Fix mistake in merge
* Update src/properties/property.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* remove TODO comment that will be fixed by this PR
* Address PR comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Address PR comment
* Remove function for setting the endpoint
* Update frontend hash
* Remove enabled property from exoplanets module
* Remove enabled property from skybrowser module
* Update default UI panels json
* Remove setting of enabled properties for skybrowser and exoplanets
* Update gui hash
* Auto format json
---------
Co-authored-by: Andreas Engberg <adde.engberg@gmail.com>
Co-authored-by: Emma Broman <emma.broman@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* 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
- Remove toStringConversion function and move json_helper include out of numericalproperty.inl
- Optimizing some header files
- Remove duplicate Lua functions from properties.
- Move List,Option,Selection,String, and TriggerProperty into misc folder
- Move lua_helper include out of inline file
- Add lua_helper to the precompiled header
- Declare property functions as final. No longer have OptionProperty derive from IntProperty
- Remove Dictionary header from properties
* 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.