Commit Graph

3474 Commits

Author SHA1 Message Date
Alexander Bock
1a052f3c8c Update to C++20 2022-07-19 15:42:31 +02:00
Alexander Bock
44a9f6421f Update submodules, Suppress CMake warnings, Removal of extra image libraries 2022-07-19 11:51:59 +02:00
Alexander Bock
9f53433073 Request the current version later in the initialization after the operating system has been detected (#2186) 2022-07-19 10:35:27 +02:00
Alexander Bock
173b22c7d2 Remove compiler warnings 2022-07-19 10:20:11 +02:00
Alexander Bock
521868866c Convert hasProperty and getProperty Lua functions to luawrap 2022-07-17 15:41:47 +02:00
Alexander Bock
10ec6d3013 Revert pragma warnings 2022-07-11 14:26:13 +02:00
Alexander Bock
0b62d5cc4b Disable unknown pragma warnings and adapt to it 2022-07-05 14:27:40 +02:00
Emma Broman
db36b2dec5 Fix navigation state not loading correctly from profile (closes #2143)
Note that the anchor should be used as a reference frame per default. Also, it should always be used, if possible. We have quite some problems when using other reference frames

PR: #2175
2022-07-04 15:02:06 +02:00
Ylva Selling
6a3cdb172f Merge remote-tracking branch 'origin/master' into feature/properties-visibility 2022-06-29 08:52:22 -04:00
sylvass
76e3ae0669 Merge pull request #2158 from OpenSpace/feature/gamma-correction
Add gamma correction property to Screen Space Renderables
2022-06-29 04:31:54 -04:00
Alexander Bock
14306e59de Add Lua function that returns information about the current OpenSpace version (closes #2136) 2022-06-29 10:24:53 +02:00
Ylva Selling
bcb5c7bd28 Merge branch 'master' into feature/gamma-correction 2022-06-29 04:21:46 -04:00
Ylva Selling
f80cc0cd53 Make the gamma correction property have the right information for codegen 2022-06-29 04:11:05 -04:00
Alexander Bock
4cb75f5820 When converting profile version 1.0 to 1.1 also convert the naming of the keypad numbers (closes #2138) 2022-06-29 10:08:20 +02:00
Alexander Bock
9b1143f02f Ubuntu 22.04 and GCC11 fixes (#2163)
* Update CEF version
* Update Ghoul
* Update SGCT
* Update codegen
* Remove warnings happening on Ubuntu 22.04 with GCC 11
* AppleClang warning fixes
* Compile fix for Ubuntu and MacOS
* Add Qt 6.2.3 to the CMAKE_PREFIX_PATH
2022-06-28 00:46:01 +02:00
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