Commit Graph

110 Commits

Author SHA1 Message Date
Malin E
08cdfd3125 Add new joystick asset 2021-12-07 10:30:15 +01:00
Malin E
ad89f5e98f Merge branch 'master' into project/spaceship-installation
* Solve conflicts in scene.cpp and scene_lua.inl
2021-12-01 10:42:14 +01:00
Malin E
c1f57a7a46 Add OSC library and send messages of new joystick axis value and button
presses
2021-11-24 13:27:47 +01:00
Emma Broman
d1821ae0e4 Add lua functions to get the bounding and interaction sphere values for a SGN 2021-11-23 10:00:51 +01:00
Malin E
fc4c3f1cfa Merge branch 'master' into feature/animation-fixes
* Resolve conflicts in scene.cpp
2021-10-14 14:23:24 +02:00
Alexander Bock
4a860fb01d Some code facelifting 2021-10-14 10:31:46 +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
GPayne
c36ea36a43 Code review changes 2021-10-07 00:26:29 -06:00
Malin E
992778bd50 Make JWSTPosition to a TimelineTranslation
* Switches from being parented to Earth to being parented to L2 at 2018
  NOV 01 00:00:00

* JWSTPosition depends on two horizons files that have different
  observers (Earth and L2)
2021-10-06 18:00:10 +02:00
GPayne
9464530cdd Changes to get lua table entries working using variant type 2021-10-01 16:44:20 -06:00
GPayne
450b101cd5 Adding support for lua table as a possible profile properties value 2021-09-28 20:35:53 -06:00
GPayne
c72211c322 Code review change to remove ambiguous lua push after conversion 2021-09-17 14:20:07 -06:00
GPayne
5b63fff944 Merge branch 'master' into feature/profileOverScene 2021-09-12 21:11:12 -06:00
GPayne
cd50c3e4cf Working non-assetized initializations for profile sections besides modules and interesting nodes 2021-09-07 21:55:44 -06: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
Emma Broman
0c0b9c9fc1 Fix faulty include 2021-08-10 09:02:52 +02:00
Alexander Bock
c0941a1243 Reset the anchor/aim node when removing a scenegraph node (closes #1402) 2021-07-29 14:22:41 +02:00
Alexander Bock
3ae1028a85 Print the identifier of the offending scene graph node when the specification fails 2021-07-26 11:03:06 +02:00
Malin Ejdbo
31b834dbb2 Address PR comments 2021-05-31 15:34:54 +02:00
Malin Ejdbo
4202b21ebc Merge branch 'master' into feature/jwst
* Resolve conflicts
2021-05-26 14:21:10 +02:00
Malin Ejdbo
389ae3faaf Add worldRotation lua function 2021-05-24 12:25:43 +02:00
Malin Ejdbo
52a9e23fa9 Add Lua function that returns the worldPosition of a scenegraph node 2021-05-19 11:41:05 +02:00
Gene Payne
d060780f99 Added method for saving current value of a property while recording 2021-03-22 12:21:32 -06:00
Malin Ejdbo
d3a04825bb Merge branch 'master' into issue/1466 2021-02-17 14:25:55 +01:00
Malin Ejdbo
9372382e78 Add possibility to have * at the end and tags + * 2021-02-17 14:16:10 +01:00
Malin Ejdbo
9143316111 Match property name better to avoid false matches 2021-02-16 09:28:02 +01:00
Malin Ejdbo
edff4b537c Add warning if regex contains two or more wildcards
* Find that replaces std::regex currently does not support two or more
wildcards in an expression
2021-02-15 14:30:25 +01:00
Malin Ejdbo
ace8df0692 Do not miss matches when searching with regex 2021-02-15 14:28:23 +01:00
Alexander Bock
dfa223abef Make use of std::filesystem::path and cleanup specification error messages 2021-02-13 12:00:26 +01:00
Malin Ejdbo
f34805beeb Remove false matches while matching whole string 2021-02-12 16:53:04 +01:00
Malin Ejdbo
5772fc621c Improve find that replace regex
* Enable * in the begining of string

* Enable search without *
2021-02-12 11:23:45 +01:00
Malin Ejdbo
e70ba00757 Remove regex from scene_lua.inl
* Replace with find functions
2021-02-12 09:19:14 +01:00
Alexander Bock
7004c02b86 Happy new year 2021-01-02 15:26:51 +01:00
Alexander Bock
ad8af3ffeb Feature/CMake (#1443)
General CMake cleanup/overhaul
* Enable precompiled headers for all projects
* Move specifications itto separate CMakeLists files
  * Add openspace-core as a subdirectory
  * Move handle_modules functionality into modules/CMakeLists.txt
  * Move handleapplications logic into apps/CMakeLists.txt
* Introduce openspace-module-collection interface library to simplify inclusion of modules in applications
* Turn module initialization into a two-step process to adapt to the new minimal dependency scenario
* Compile time speedup
  * Remove circular dependencies between modules and core preventing multithreaded compilation on MSVC
  * Build Spice multithreaded and as static library
  * Remove dependency from core to module-webbrowser
  * Remove unused dependency from kameleon
  * Remove additional unnecessary dependencies
  * Cleanup volume/kameleon/kameleonvolume modules
  * Fix visibility issues. Restrict include paths
  * Compile kameleon in parallel
* Other cleanup
  * Only copy CEF files from one target (hard-coded to OpenSpace right now)
  * Remove unused instrumentation code
  * Remove the ability to render AABB for globes as it caused a circular dependency between GlobeBrowsing and Debugging
  * Removing compiler and cppcheck warnings
  * Turn almost all includes into non-system includes
  * Don't warn on deprecrated copy
* Updated submodules
2020-12-28 18:26:57 +01:00
Alexander Bock
86bb19d81c Feature/warnings (#1425)
* Remove MSVC, GCC, Clang compiler warnings
* Remove cppcheck warnings
2020-12-07 23:43:05 +01:00
Alexander Bock
efffc25ce0 Feature/globals handling (#1352)
* Cleaner handling of global state
* Prevent Lua memory corruption (closes #982)
* Initialize glfw first thing to prevent weird joystick loading bug during startup
2020-10-21 22:30:05 +02:00
Alexander Bock
0779c54a07 Provide correct error message if the ProfileName is empty
Don't include Voyager and Pioneer in the base asset as it takes too long to load
Ensure that the webgui asset can load without the dashboard
Fix scripting issue in Rosetta scene with trails
Fix issue with Dashboards that would actually render one line too far down causing trouble with multiline text
Set the render option for renderablebillboards to view direction by default as the normal mode has some issues (see #1342)
Set more sensible maximum value for RenderablePlanesCloud
Correctly show the number of significant digits in the altitude
Replace setPropertyValue with setPropertyValueSingle when clicking on the friction "buttons" on screen
Add a new script function hasProperty to check whether a property exits
2020-10-17 20:10:15 +02:00
Emma Broman
68eb52c740 Make removeSceneGraphNode only remove one SGN
Regex match version for removing several nodes at once is kept as its own function.
Also, remove potentional fmt format exceptions when trying to remove parent node.
2020-10-16 14:35:38 +02:00
Alexander Bock
25247c7a37 Create SceneGraphNodes in memory pool 2020-08-05 10:46:16 +02:00
Alexander Bock
f1fe2f197b General code cleanup 2020-04-14 15:48:58 +02:00
Alexander Bock
7abac51223 No longer add .txt extension to all UrlSynchronizations 2020-02-12 21:08:02 +01:00
Your Name
f560224143 GetProperty filter on groupname and update in base.asset 2020-01-27 16:49:36 -05:00
Alexander Bock
d0c04cfc6b Various code cleanup 2019-06-18 10:47:15 +02:00
Alexander Bock
01628578eb Fix a warning if interpolating a value using the setPropertyValueSingle Lua method 2019-05-22 22:09:15 -06:00
Alexander Bock
4b800ac819 Various small fixes 2019-05-16 12:59:28 -06:00
Alexander Bock
e414699186 Enable removing scenegraphnodes by regular expressions (closes #851) 2019-05-11 17:34:41 +02:00
Alexander Bock
bb3db7ada7 Feature/jenkins fix (#816)
* Cleanup
* CMake cleanups
* Update current year
* Update copyright header
* Use script to return list of all modules
* Update credits, license and ghoul
2019-03-24 11:19:39 +01:00
Alexander Bock
be6915ecc1 Add Lua function to query property identifiers 2019-01-10 23:06:35 +01:00
Alexander Bock
b48812a339 Add workaround for MacOS Mojave 10.14 dark mode OpenGL bug 2018-10-28 19:37:17 +01:00
Alexander Bock
8ddc794cda Feature/alex is flying (#729)
* Correctly specify maximum text sizes for grids
 * Use StaticScale transformations in grids and remove fixed radius
 * Fix Verifier to let grids accept non-integer min and max sizes
 * Add a new scale that changes it's value based on the current time and a reference time
 * Add a proper radiosphere that grows in real time (closes #728)
 * Add default globe customization folders to the assets (closes #724)
 * Add new dashboarditem that shows the current camera velocity (closes #702)
 * Add ability to add interesting times to a scene (closes #715)
 * Reenable keybindings gui element
 * Add ShortcutManager
 * Add ability to bind keyless keybinds to use as arbitrary shortcuts (closes #710)
2018-10-08 03:00:35 -04:00