- 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
* Restructuring the queueScript function
* Don't log the contents of actions that are triggered. Add the ability to do verbose logging in the scriptlog
* Add possibility to capture, edit & replay camera-keyframes
* fix compilation on non-windows systems
* use cbegin/cend instead of std::views
* Coding style adaptions
* Member variable names
* add Keyframe struct, fix pr suggestions
* add function to remove keyframes
* add lua function to fetch keyframes
* Update lua documentation
* add constexpr keys for json entries
* Add log info messages, input checks and general pr suggestions
* update comments to doxygen style
* batch of pr suggestions
* add jump to keyframe function
* update docs
---------
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Andreas Engberg <adde.engberg@gmail.com>
* 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
* Add display handler to browser client
* Make glfw change mouse cursor depending on cef cursor
* formatting
* Add switch to main
* Update modules/webbrowser/src/browserclient.cpp
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Address comments on PR
* Update again
* Update modules/webbrowser/src/browserclient.cpp
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Address PR comments
---------
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Remove unused shortcut manager
* Add events for adding and removing actions
* Publish event when an action is added
* Add get_action event to shortcut topic which sends requested action to the topic
* Add better comments to events
* Publish event action removed when removing an action
* Rename actions to shortcuts in the json object
* Remove subscriptions and rename action to shortcut
* Separate layers for the Moon and Earth
* One asset each for each server, New York, Utah, and Sweden
* Add the layers asset files for Earth and Moon
* Add new layers structure for Mars and Europa
* Add layers assets for Mercury and Enceladus
* Add more layer assets for all servers
* Add layer assets for each server on the top asset level
* Rename Venus Utah cloud combo layer asset (breaking change)
* Clean up layer asset descriptions
* Update layer asset version name
* Fix base layers error
* Add configuration option to choose layers server
* Add Lua functions to access configuration settings
* Extend configuration Lua function
* Add layer server setting in setting gui + add 'None' as a server option
* Add base layers when server 'None' is used
* Add tests for the new Layer Server setting
Fixes task 1 of (#494)
* Removed loading screen progress bar
It was removed because it does not show an accurate estimation of load times and is rarely used (off by default)
* Add status info to the loading screen on warnings and errors
Add: Warning logs and above to loading screen, fixes task 1 of (#494)
Removed code duplication in openspanceengine.cpp
Fixed some bugs where completed assets would not disappear from the screen
* Update the design & address PR comments
* Address PR comments & add bool to show/hide log msg
* Delete test_configuration.cpp
* Update Ghoul submodule
* Renders number of warnings and errors to screen
* Update renderengine.cpp
* Adapt new function to the coding style
---------
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Note breaking change: Previously `--config` specified one or more Lua scripts that were executed to update the configuration state, now the `--config` sets the path to the window configuration instead
* Add support for multiple windows & viewports
With correct rendering of both Scene and Overlays/GUI.
GUI is restricted to either the first window or any other windows tagged
with "GUI", overlays are drawn on all windows/viewports.
Closes#2542 and #1645
* Added pboettch/json-schema-validator submodule
* Added initial code for selecting window config to edit
* Use updated sgct submodule with json-validate
* Bump sgct submodule version reference
* Bump sgct submodule version reference
* Version checking of sgct window config in progress
* Json schema validator submodule is now in sgct
* Added support for read-only window configs, and additional changes
* More changes with opening config in window edit, plus schema files added
* Update sgct schema version with more defs to work with sgctedit schema
* Fixes to get sgct edit schema working with dialog for error messages
* Improvements in exception handling
* Improved handling of multiple sgct & json exception types
* Minor improvements in exception messages
* Extra spaces in error message output
* Fixing importing of json config data from launcher to sgctedit
* Fixed window size & position update
* Changes for preserving settings in edit vs new mode
* Changes to import settings from config file
* More changes for importing testing of config file based on file tests
* Fixed window placement dims in monitor, and some code refactoring
* Move json validation before initial read
* Add CMake copy of sgct schema file to OpenSpace post-build
* Bump sgct submodule reference
* Modify calls for json schema validation and bump to latest sgct
* Bump to new sgct repo with unit testing and updated schema
* Added first test for window config editor schema
* Finished tests for sgcteditor validation
* Code cleanup pass
* Fix of sgctedit test for remove description
* CMake and include config changes to fix build after merge
* Bump sgct submodule version
* Improve paths in sgctedit test
* Bump sgct reference for test path fix
* Check for imported monitor number being in valid range
* Make sgct config 'monitor' key/value optional
* Have 'save' or 'save as' buttons depending on edit or new modes
* Code review feedback changes
* Fix to include the last file in the user config dir list
* Addressing some PR request
* Change to pass-by-reference in editRefusalDialog
* Separating errors into summary and detailed messages in error dialog
* Disable edit button with hover text if config read shows invalid format
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Add property in OpenSpaceEngine for fading duration when enabling / disabling
* Add interface for fadeable components and apply to renderable
* Make layers a fadeable component
* Make globelabels a fadeable component
* Make labelscomponent a fadeable, and give it an enabled property
* Make screenspace renderables fadeable components
* Introduce concept of parent fadeables, to fade out subowners with parent
* Make rings fadeable as well
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Cleanup Property code
* Remove NOLINT statements
* Return Property class types as string_view
* Remove getStringValue function
* Simplify string value retrieval
* Ensure that image paths in the ImageSequenceTileProvider are sorted (closes#2205)
* Some cleanup of OpenSpaceEngine
* Cleanup documentation
* Some more cleanup of engine classes
* Some more cleanup
* Update SGCT repository
* Use new Jenkins node identifiers as the old method broke with update
Fix interaction problems when hovering/clicking with the mouse in a non-GUI window, when having a setup with more than one window (e.g. the single_gui.json setup)
Previously, clicking with the mouse in the rendering window without the GUI also triggered mouse clicks in all the other windows, including the GUI windows. This was disturbing for interaction in the single_gui setup
Now, the GUI modules check to see if the clicked window is actually an interaction window