Commit Graph

770 Commits

Author SHA1 Message Date
Alexander Bock
664eb60f4f Increase the compile times by including more precompiled headers (#2217)
* Define WIN32_LEAN_AND_MEAN and VC_EXTRALEAN globally
* Use forked version of TUIO, some more work on precompiled headers
* Improvements for the Kameleon module
2022-08-26 16:32:21 +02:00
Emma Broman
b0aedd1225 Update SGCT (for isGuiWindow check) 2022-08-05 11:50:10 +02:00
Emma Broman
0cc5704b6a Add isGuiWindow check for mouse and keyboard callbacks
Fix interaction problems when hovering/clicking with the mouse in a non-GUI window, when having a setup with more than one window (e.g. the single_gui.json setup)

Previously, clicking with the mouse in the rendering window without the GUI also triggered mouse clicks in all the other windows, including the GUI windows. This was disturbing for interaction in the single_gui setup

Now, the GUI modules check to see if the clicked window is actually an interaction window
2022-08-05 11:41:10 +02:00
Alexander Bock
7bc9e99b87 Feature/satellites (#2185)
* Remove planet geometry and simplespheregeometry
* Only use a single TLE loading implementation
* Add caching to the satellite loader;  Add Lua function to load kepler file
* Fix RenderablePlanetProjection specification
* Add OMM loading funtion;  Remove mean motion from Kepler parameters
* Replace TLETranslation class with GPTranslation and support OMM files
* Support loading SMDB files in kepler functions
* Merge RenderableSatellites and RenderableSmallBody with RenderableOrbitalKepler
* Update submodules
* Adapt existing satellites to new OMM file type
* Remove TLE helper
* Remove SSSB shared file and adapt sssb assets
2022-08-02 13:11:50 +02:00
Alexander Bock
41a4171aeb Expose the SGCT statistics information through a property in the RenderEngine (closes #2195) 2022-08-01 15:27:05 +02:00
Alexander Bock
a4e3af700c Add option to break on floating point exceptions 2022-08-01 14:29:45 +02:00
Alexander Bock
041a08adb6 Update SGCT 2022-08-01 12:57:22 +02:00
Alexander Bock
8dc1763623 Adapt to scn introduction, cleanup log messages 2022-08-01 11:42:36 +02:00
Alexander Bock
163ac4dcef Cleanup of mostly asset files
- Fixes for all files
 - constexpr cleanup
 - Cosmetic changes
 - Remove punctuation from the end of messages
2022-07-28 17:21:59 +02:00
Alexander Bock
c1252902c7 More Code Cleanup (#2192)
* Harmonizing ( and ) in function calls
* static const -> constexpr
* Fix compile issue
* Unify shader tab size
* Add _fs and _vs to shaders
* Harmonize spacing
2022-07-26 11:22:41 +02:00
Alexander Bock
9cc4c595a8 Code Cleanup (#2191)
* constexpr const -> constexpr
* const char* -> std::string_view
2022-07-25 15:57:45 +02:00
Alexander Bock
ea1f4bbf40 Update submodules 2022-07-22 15:49:41 +02:00
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
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
Alexander Bock
bcdfd662c5 Update SGCT repository 2022-07-05 13:25:36 +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
Alexander Bock
fd1589209d Update submodules to fix compile errors 2022-06-27 15:54:51 +02:00
Alexander Bock
1511d85d9f Put some stricter limitations on the FOV settings in the Configuration generator (#2156) 2022-06-20 16:07:08 +02:00
Alexander Bock
c08e30a3bf Fix spelling mistake 2022-06-20 14:19:43 +02:00
Alexander Bock
3184d0e619 Prevent accidentally "checking" the folder when a folder exists with the same name as an asset (closes #2154) 2022-06-20 14:18:35 +02:00
Alexander Bock
6189985ed2 Fix isse that prevents the full range of values for the FOV slider in the configuration editor (closes #2148) 2022-06-16 10:16:44 +02: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
Alexander Bock
1f85483f6d Prevent crash when trying to remove a middle keybinding or action (closes #2063) 2022-05-02 10:24:14 -04:00
Alexander Bock
69c8750921 Feature/imgui (#2060)
* Some cleanup of the ImGUI code
* Reorder the panels
* Make StringPropertys work without losing value on context loss
* Add a new ImGui compoment that shows the status of the scene graph
2022-04-30 13:54:36 +02:00
Malin E
046213dd31 Merge branch 'master' into issue/1989 2022-04-28 10:04:57 +02:00
Malin E
860d4c30d2 Address PR comments + fix issue with refocus button on joysticks 2022-04-27 10:49:17 +02:00
Alexander Bock
0a8523a14c Don't crash when only one window is available; Make OpenSpace link again when using Qt6 2022-04-25 17:48:58 +02:00
Alexander Bock
7d1badbffd Make only the first window UI-able, warn about window sizes that can produce problems, no longer allow resizing of UI windows 2022-04-24 14:51:00 +02:00
Alexander Bock
2b70aafafd Some minor cosmetic changes to the SGCT editor 2022-04-24 11:49:43 +02:00
Alexander Bock
4e57cf7d1b Some more Qt cleanup 2022-04-22 13:01:32 +02:00
Alexander Bock
b642134376 Some cleanup of the SGCT Editor code
- Correct the behavior of the V-Sync
 - Handle more than 2 monitors
2022-04-21 11:55:00 +02:00
Malin E
0bf1fa3845 Merge branch 'master' into issue/1989 2022-04-19 11:33:18 +02:00
Micah Acinapura
36a4ba53d4 fix for dpi scalling on sgct edit screen; fixes #1493; 2022-04-18 19:11:37 -04:00
Alexander Bock
acc6f5c3db Add a filter and reload method for te Script Log window (closes #2019) 2022-04-18 10:46:55 +02:00
Alexander Bock
5751fe26d3 Cleanup handling of warnings (#2030) 2022-04-16 20:57:29 +02:00
Malin E
7165eeb8e1 Remove cap on number of axes and buttons for joysticks 2022-04-14 13:58:34 +02:00
Malin E
d70af0221b Add helper function to find joystick with many possible names
* And check connected joystick statuses at start up as well as run time
2022-04-13 17:05:10 +02:00
Alexander Bock
4447c9065a Update the action dropdown when creating or removing an action (closes #2004) 2022-04-12 21:25:06 +02:00
Alexander Bock
d360f2ae59 Address Visual Studio analyzer warnings 2022-04-12 00:58:11 +02:00
Alexander Bock
99d2bddf7c Address coding style and remove compiler warnings in many places 2022-04-11 18:31:45 +02:00
Alexander Bock
c206da4a98 Coding style adaptations 2022-04-10 23:25:37 +02:00
Alexander Bock
dc9ffaa0e7 Merge branch 'feature/genVersion' 2022-04-08 22:19:53 +02:00
GPayne
df42f695fe Update sgct submodule to use new sgct config generator version 2022-04-08 14:01:08 -06:00
GPayne
f7588f67b6 Added json entry for sgct config generator version 2022-04-08 11:41:30 -06:00
Malin E
5a1e330024 Merge branch 'master' into feature/horizons-framework 2022-04-08 17:16:50 +02:00
Malin E
9dab943999 PR comments 2022-04-08 16:49:48 +02:00
Alexander Bock
6eba57730f Dynamic DPI scaling (#1980)
* DPI scaling
 1. Add the ability to query the operating system's DPI scaling values
 2. Expose those values through a new Lua function
 3. Add an asset that sets the CEF gui and the Dashboard font sizes and placements based on the DPI scaling
 4. Add that new asset into the base_blank asset
* Add message when including the dpiscaling
2022-04-08 13:28:18 +02:00
Alexander Bock
1cd84a64f7 Feature/wormhole (#1985)
* Backwards incompatible change to the astrocasting protocol
* Send password in the clear [never thought i write something like this]
* Update to new Protocol version,  remove built-in ParallelServer
* Remove Wormhole server in favor of Typescript version
2022-04-08 13:16:22 +02:00