Commit Graph

3559 Commits

Author SHA1 Message Date
Gene Payne 4f5b2fdb0d Issue/2121 : SessionRecording wildcard and syntax improvements 2022-06-23 17:47:54 -06:00
Ylva Selling a78c4f7d28 Move the limit of gamma to not be zero from shader to lower property bound 2022-06-22 02:51:37 -04:00
Ylva Selling d23969b8d3 Add gamma correction to screen space renderable (SSR) shader, property for SSR and default value gamma = 2.2 for sky browser display copies 2022-06-21 10:47:44 -04:00
Alexander Bock 343615ab52 Move the Lua Console updating into the actual postSyncPreDraw function so that it gets called accuratly when GUI windows are present (closes #2141) 2022-06-20 15:52:33 +02:00
Alexander Bock 02a2bcf1af Add property that contains the list of all compiled modules (closes #1021) 2022-06-18 19:44:05 +02:00
Micah Acinapura 7eff6b042e added events for when renderables are enabled/disabled that can be used to link renderables together (#2132) 2022-06-14 12:09:30 -04:00
Ylva Selling 7e7f4740f2 Remove onChange functions that sets visibility depending on type 2022-05-23 14:21:51 -04:00
Ylva Selling 0fa317d96f Fixes to comments on pull request 2022-05-17 11:40:19 -04:00
Ylva Selling e1bda38529 Make imGUI listen to OpenSpaceEngine properties for visibility for properties and for scene graph nodes 2022-05-12 12:11:00 -04:00
Ylva Selling 0824b59d77 Move properties for visibility from CefWebGui to OpenSpaceEngine 2022-05-12 10:11:25 -04:00
Ylva Selling 2f567b6d56 Add openspace engine to the property tree 2022-05-12 10:10:31 -04:00
Ylva Selling 9d583dafe9 Make Engine a Property Owner 2022-05-12 10:10:14 -04:00
Ylva Selling 785084c318 Add developer lua script that sets property visibility to "Developer" if an environment variable called "OPENSPACE_DEVELOPER" is set 2022-05-11 14:31:41 -04:00
Ylva Selling 7837e716cb Add more visibility levels to properties 2022-05-11 14:30:46 -04:00
Ylva Selling 4d23e5951a Make option property not assume that the key is the same as the index 2022-05-11 14:28:17 -04:00
Alexander Bock 970536998a Multiple small fixes
- Turn the planet lighting actions from mixed case to lower case
 - Fix the openspace.rebindKey Lua function which did not work before
 - Fix the openspace.downloadFile function which would fail when not waiting for the the result
 - Rename openspace.walkDirectoryFolder to openspace.walkDirectoryFolders for consistency
 - Remove the openspace.saveLastChangeToProfile function
2022-05-06 16:13:21 -04:00
Alexander Bock 64d7437976 Scale the Lua console by the DPI value 2022-05-06 14:39:30 -04:00
Emma Broman cb830feb63 Increase epsilon for finished camera path rotation, again
It still happened every now and then that the rotation didn't quite finish at the end of the path
2022-05-06 15:15:22 +02:00
Emma Broman 8ddac62542 Fix: Make it possible to abort a paused camera path 2022-05-06 15:05:52 +02:00
Alexander Bock 9715d22af0 Include the version number in the uid of the HttpSynchronization (closes #2081) 2022-05-06 00:53:56 -07:00
Gene Payne 04f5a94218 Prevent focus node from changing when recording finishes (#2070)
* Prevent focus node from changing when recording finishes
2022-05-05 19:12:06 -07:00
Micah Acinapura 7d480552a9 Issue/1814 (#2077)
* Added all trail toggle
* Added actions for trails and planets/moons
* Added planet lighting assetd; updated action paths
* Add mars layers actions
* Added new layers from Carter
* Cleaned up trail action names, cleaned up some default keybindings

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2022-05-05 19:08:58 -07:00
Alexander Bock 452cc9b739 Merge pull request #2050 from OpenSpace/feature/skybrowser
Feature/skybrowser
2022-05-05 14:00:58 -07:00
Alexander Bock 82b0b1fd87 Fix bug when selecting a default profile when a user profile with the same name exists (closes #2074). Make it possible to specifiy a full path to a profile in the openspace.cfg file 2022-05-05 15:54:52 -07:00
Emma Broman de6d8900ee Fix broken getNavigationState function
Please let this be the last copy-paste error from the Lua codegen update
2022-05-05 18:16:03 +02:00
Emma Broman 863b38b7bb Prevent problems when flying to node that overlaps with the sun (closes #2075)
Cross product of zero vectors leads to nan values...
2022-05-05 11:49:24 +02:00
Alexander Bock ee735618b4 User Properties (#2064)
Add the ability to add user-defined properties using a new `openspace.addCustomProperty` function that takes an identifier and a type and creates a new property of that type.  The new property is then available under `UserProperties.<identifier>`
2022-05-04 16:06:08 -07:00
Ylva Selling ce555ebacc Merge remote-tracking branch 'origin/master' into feature/skybrowser 2022-05-04 12:42:22 -04:00
Ylva Selling d3a955e6be Add scale to topic 2022-05-04 12:27:44 -04:00
Emma Broman 301efa718b Fix flipped pathnavigation.isFlying check
The `!` disappeared as part of the big codegen Lua rewrite
2022-05-04 17:28:39 +02:00
Emma Broman 7a05c44ce1 Update some property names for more consistent capitalization 2022-05-03 15:29:03 +02:00
Emma Broman a8a33ed3a5 Reverse order of module deinitialization
To respect dependencies, deinitialize and destroy modules in reverse order to how they were added
2022-05-02 10:08:25 +02:00
Alexander Bock b41427944c Actually retarget the camera and not just change the focus node 2022-04-30 14:35:20 +02:00
Alexander Bock 9e773c3ca0 Add new Lua function to select the next target anchor (closes #1717) 2022-04-30 14:27:53 +02:00
Malin E 046213dd31 Merge branch 'master' into issue/1989 2022-04-28 10:04:57 +02:00
Malin E 7912141099 Small copy paste error fix 2022-04-27 10:57:09 +02:00
Alexander Bock 932aee7d93 Add documentation to ParallelPeer 2022-04-27 09:38:15 +02:00
Emma Broman 8cd65d9c96 Hide fade property of screen space renderables 2022-04-26 17:37:27 +02:00
Emma Broman 4ee75b37f5 Fix reach and approach factor min/max values and make logaritmic
Prevents errors from the UI
2022-04-26 12:17:05 +02:00
Malin E 13ab8140c8 Merge branch 'master' into feature/jwst-pointing 2022-04-26 10:31:09 +02:00
Alexander Bock 01cf8a9d9c Move the launcher image synchronization from base -> base_blank and move the trail actions from base_blank -> base 2022-04-26 08:48:50 +02:00
Malin E 431a6d4904 Rename JWST pointing event to a more general name 2022-04-22 14:13:33 +02:00
Malin E 0bf1fa3845 Merge branch 'master' into issue/1989 2022-04-19 11:33:18 +02:00
Malin E 3e81092c68 Add duration to pointing event 2022-04-19 11:26:16 +02:00
Alexander Bock 5751fe26d3 Cleanup handling of warnings (#2030) 2022-04-16 20:57:29 +02:00
Alexander Bock c84c3e4f67 Make CustomEvents more useful by adding the payload as a string 2022-04-14 15:57:40 +02:00
Malin E 7165eeb8e1 Remove cap on number of axes and buttons for joysticks 2022-04-14 13:58:34 +02:00
Emma Broman 80d3efd64c Prevent crash if a node was removed during path traversal (closes #1990)
Show an error message, because this is bad user behavior and should be discouraged :)
2022-04-13 16:47:23 +02:00
Malin E 102ceafd6f Add Lua function to list all connected joysticks 2022-04-13 15:32:03 +02:00
Emma Broman e0d13d43dc Fix the fix for camera rotation not finished at end of path (#2015)
Glm::equal is not enough to check if two quaternions represent the same orientation.
2022-04-13 09:07:17 +02:00