Commit Graph

4285 Commits

Author SHA1 Message Date
Emma Broman f38a7242e7 Fix the globetransformatons fix in previous commit (bc306c6f1b)
It broke the TimelineTranslation for when keyframes were using GlobeTranslations. The intial position was not set up correctly for these when the code for finding the globe was done in the update.

Bringing back the check in the matrix/position methods solved the problem. Probably the globe is guaranteed to be created when reaching this function
2021-10-12 13:25:24 +02:00
Emma Broman bc306c6f1b Fix globe transformations not updating from height map if simulation time paused (#1766) 2021-10-12 08:37:25 +02:00
Alexander Bock 76dd45e5ce Event System (#1741)
* Add implementation of the EventEngine to handle global event chains
* Add properties to SceneGraphNodes to determine two distance radii for camera-based events
2021-10-11 21:53:00 +02:00
Alexander Bock 7c7e5b2999 Remove some warnings 2021-10-11 13:38:00 +02:00
Emma Broman aa2c94fa4c Support negative altitudes in GlobeTranslation
Necessary when height map is not used and a large negative offset is needed
2021-10-11 13:31:14 +02:00
Emma Broman 821e746c1a Fix RenderablePlaneImageOnline not updating size on property change 2021-10-04 10:23:11 +02:00
Gene Payne 1c0b7c347a String-to-path fix for linux build 2021-09-14 15:45:39 -06:00
Micah 550e088d60 changes to shortcut topic for keyboard viewer 2021-09-14 12:28:57 -04:00
Emma Broman 506eaa6cc3 Fix GlobeRotation/Translation not updating if simulation time is paused 2021-09-06 14:46:12 +02:00
Emma Broman 82ecf60ea2 Issue/1527 - GlobeRotation (#1737)
* Add GlobeRotation and example

* Put latitude before longitude in GlobeTranslation files
2021-09-06 09:28:12 +02:00
Micah 671894bd0b changes for action panel 2021-09-02 14:56:25 -04:00
Emma Broman 4fb88eb7af Fix some more functions that broke after Lua function cleanup
And simplify debugging axes usage
2021-08-24 16:27:26 +02:00
Alexander Bock b649509bf0 Feature/model shader (#1723)
* Add support for RenderableModel to take custom shader code
 * Added example to highlight usage
2021-08-24 10:45:19 +02:00
Alexander Bock 9d8d4147e8 Feature/sync unsync (#1722)
Add Lua script to manually sync or unsync resources (closes #1713)
2021-08-23 13:42:08 +02:00
Alexander Bock db472030de GCC warnings (#1725) 2021-08-21 11:42:44 +02:00
Micah 27c270b217 update to rawtilereader size calculation. Closes #1716 2021-08-20 13:21:14 -04:00
Emma Broman 37d39868a9 Make flyTogeo work again
Broke after lua function cleanup PR
2021-08-20 16:41:54 +02:00
Emma Broman 41c146654f Add function to print out state machine to a dot file (#1721) 2021-08-20 13:20:35 +02:00
Alexander Bock b2d12476dd Correctly specify the model size of the Apollo capsules (closes #1718) 2021-08-20 12:43:47 +02:00
Alexander Bock af617d1d10 Feature/lua function cleanup (#1719)
General cleanup of Lua functions and handling of variable extract from a Lua state
2021-08-19 16:02:14 +02:00
Alexander Bock 8175a7eb5b Compile fix 2021-08-18 15:46:43 +02:00
Alexander Bock 34985f64a6 Feature/keybindings (#1708)
* Add action manager to handle actions in replacement of keyboard shortcuts
* Implement new Action concept
* Remove the shortcutscomponent as it is no longer needed
* Update profile version from 1.0 to 1.1
* Add action dialog
* Restructure of key specification in keys.h
* Remove solid field-of-view keybind from the newhorizons profile as the setting no longer exists
2021-08-18 10:58:20 +02:00
Emma Broman b651170565 Merge branch 'thesis/2019/camera-paths' 2021-08-17 15:52:46 +02:00
Emma Broman 11a901fa2f Fix forgotten property rename when creating camera path 2021-08-17 15:39:01 +02:00
Emma Broman b9661392b4 Merge pull request #1667 from OpenSpace/thesis/2019/camera-paths
Thesis/2019/camera paths
2021-08-17 08:57:20 +02:00
Emma Broman 2a5e6dc502 Make state machine's enter/exit scripts optional 2021-08-17 08:33:00 +02:00
Emma Broman 8d7d8b9ba4 Feature/state machine (#1705)
* Fix script error in old state machine example

* Add a module with a more complex state machine, that can be created and controlled through the Lua API. Useful for interactive installations

* Add an example asset for the new state machine and rename the old linear "state machine" to luastatemachine


Co-authored-by: Malin Ejdbo <malin.ejdbo@gmail.com>
2021-08-16 09:29:45 +02:00
Emma Broman a39dcf2567 Adress review comments 2021-08-15 19:34:10 +02:00
Emma Broman 5cf5824607 Add option to flyToGeo with North as up vector 2021-08-15 18:47:15 +02:00
Emma Broman bfe25c311b Merge branch 'master' into thesis/2019/camera-paths
# Conflicts:
#	src/rendering/abufferrenderer.cpp
2021-08-09 15:21:08 +02:00
Alexander Bock 90157ce463 Warnings and compile fixes for MSVC 2021-07-30 15:01:21 +02:00
Alexander Bock c96764aa1c Remove Clang warnings 2021-07-30 14:56:55 +02:00
Alexander Bock 5b3a66156c Remove unnecessary template specification for lock_guard 2021-07-30 14:48:08 +02:00
Alexander Bock c4bddacfeb Remove nonfunctioning ABufferRenderer from RenderEngine 2021-07-30 12:01:07 +02:00
Alexander Bock f676c780f5 Prevent resetting of empty tileproviders (closes #1383) 2021-07-28 15:10:01 +02:00
Alexander Bock 309bce2e30 Fix DebugAxis helper; Increase the sensitivity to prevent loss of color in debug axis (closes #1560) 2021-07-28 14:49:29 +02:00
Alexander Bock 3e7f0d24ad Add support for DMS format support in the DashboardItemGlobeLocation (closes #1632) 2021-07-27 16:35:41 +02:00
Alexander Bock 817621617e Check for nan in camera setting (closes #1686), add tracy zones to atmosphere rendering 2021-07-23 14:17:16 +02:00
Alexander Bock d38968a5ad Don't accidentally delete someone elses VBO and VAO (closes #1694) 2021-07-23 11:51:48 +02:00
Alexander Bock 527bc4d108 Add support for speck keywords that are mixed case (closes #1689) 2021-07-22 21:04:53 +02:00
Alexander Bock fcc1083129 Make the Speckloader ignore tabs as well as spaces (closes #1688) 2021-07-22 20:51:01 +02:00
Alexander Bock e994e900ee Feature/intel atmosphere (#1691)
* Add object names to atmosphere textures
* Fix for rendering atmospheres on Intel chips
* General cleanup of the atmosphere rendering code to make a it more modular
2021-07-22 20:42:21 +02:00
Emma Broman 18a0a89030 Remove fogotten camera file (moved to another folder) 2021-07-14 10:22:41 +02:00
Emma Broman 16173d7afe Merge branch 'master' into thesis/2019/camera-paths and resolve conflicts
# Conflicts:
#	modules/globebrowsing/globebrowsingmodule.cpp
#	modules/globebrowsing/globebrowsingmodule_lua.inl
2021-07-09 15:43:17 +02:00
Emma Broman 771aa46fcd Adress review comments 2021-07-09 15:35:14 +02:00
Emma Broman 4c5f45fccb Add debugging funciton to add cartesian axes for a scene graph node 2021-07-08 09:50:35 +02:00
Emma Broman 85e7c6a146 A few exponential slider updates
* Add exponent to RenderableTrail period and resolution
* Lower exponent of stereoscopic depth slider, to give better control
2021-07-07 14:29:38 +02:00
Emma Broman 1b3597fac4 Update navigation includes in touch module 2021-07-07 10:44:17 +02:00
Micah Acinapura c35ff0e8f2 adapt addFocusNodes for GlobeTranslation 2021-07-06 23:38:36 -04:00
Emma Broman d4c06951da Update faulty docs and function name for getGeoPosition (#1662) (#1677)
New name: getLocalPositionFromGeo
2021-07-06 23:37:53 -04:00