- 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
* Add support to set focus with reset-velocities setting from Lua
* Update Lua function name and add documentation
* Rename functions that actually update the anchor/aim nodes, to reduce confusion
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* Remove unused bool argument in globebrowsing functions
* Refactor some globe browsing functions
* Start updating goToGeo function to fade instead of just jump
* Add choice for whtehr to use default or arrival height when flying to a geo2
* Update / add docs for fly-to and go-to functions
* Rename function and add deprecated version of `goToGeo`
* Add script for jumpTo scene graph node and navigation state
* Add property to control how long the fading takes (navigation handler)
* Update GUI hash
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Add optional timestamp to navigation state
* add option to include timetamp when setting/loading navigation state
* Don't require file extension when loading navstate
for symmetry with save function
* Update Navstate docs
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Fix variable name typo
* Update transitions to not care about which sphere we were previously in
* Also handle when anchor node changes
* Remove log messages used for testing, and unused variable
* Update src/navigation/navigationhandler.cpp
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Add a camera path topic and compute remaining time in path
* Remove unused parameter in function
* Include speed scale in estimation of time the path will take
* Includes cleanup and address review comments
* Round instead of ceil, to make countdown reach 0 in most cases
* Update GUI hash
* Hack to try to get desired behavior (for testing)
* Add properties to control axes of rotation and whether rotation aorund up should be enabled
* Generalze orbit function to just use an angle instead of speed and deltatime
* Move speed scale computation to a separate function
* Refactor horizontal translation code a bit
* Refactor speed computation for idel behavior
* Refactor/clean up orbit code
* Add property docs
* Add some safety checks
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* More updates based on code review
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Add profile edit to start camera at a given scene graph node
* Restructure some navigation code to allow computing camera pose from node
* Delay computation of camera pose for node spec as well... And give NodeInfo a more extensive name (The objects may move during the frame, making the computed pose invalid)
* Update to make scene graph node first option in editor
* Add some description to each tab in the camera dialog
* Add operator== for CameraGoToNode struct to make the unit tests compile
* Add version handling for new profile version
* Add option to specify an optional height
* Update current version constant, for old test cases to go through successfully
* Add some test files
Note that apparently, the profile loading does not check the values of the individual fields, just existence, and type. So added two test cases that are not currently checked.
---------
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
* Remove unused feature that allowed us to "pick" nodes using touch (it didn't really work and had some nasty hardcoded and costly implementation). Fixes Touch interaction picking refactor #1041
* General refactoring of code and removing redundant code
* Make touch markers prettier (change default color and smoothen edges)
* Add module property to control which renderable types are "directly touchable"
* Add SGN property to control which individual nodes are "directly touchable" ("SupportsDirectInteraction")
* Fix stuttering when zooming in closer than the orbitalnavigator allows