Commit Graph

963 Commits

Author SHA1 Message Date
Alexander Bock 6a7e40f4ef Disable rendering of the MacOS menu bar (closes #163) 2025-05-08 09:51:40 +02:00
Alexander Bock 637ee4ec4f Cleanup of the Initializer class (#3631)
* Combine single- and multithreaded initializer to only one initializer
* Change the default to 0 to represent initializing the nodes on the main thread. Increase the default number of threads

---------

Co-authored-by: Malin E <malin.ejdbo@gmail.com>
2025-05-01 10:24:27 +02:00
Alexander Bock f024c25666 Add the ability to run as task file at startup. Add new model conversion task that requires an OpenGL context. Add ability to use FileVerifier and DirectoryVerifier on files that don't exist (#3612) 2025-04-29 09:50:29 +02:00
Alexander Bock 3ef4b003ab Launcher should indicate whether a profile is a standard profile or a user profile (#3611) 2025-04-24 09:39:20 +02:00
Alexander Bock a4ddce76ef Add submenu to the "New" buttons (#3601)
- Add submenu to the "New" buttons
 - Don't prompt to save an empty profile
 - Set pointing hand cursor
 - Style the new menu bar
 - Reduce the number of different grayscales in the launcher QSS
2025-04-22 21:12:04 +02:00
Alexander Bock ad29099140 Fix the tab order of the launcher widget (closes #3616) 2025-04-22 20:38:55 +02:00
Alexander Bock f2ac303b95 Fix issue preving the setting of the window configuration from the commandline 2025-04-17 20:49:00 +02:00
Alexander Bock e4eebaef7e Fix crash when the notification file is empty. Fix warning when running with Qt version newer than 6.7 2025-04-17 20:20:13 +02:00
Alexander Bock 78efc7b244 Add focus border for the list widget in mark interesting nodes window (closes #3441) 2025-04-17 17:26:22 +02:00
Alexander Bock a85821f88c Deemphasize Edit and Start buttons in Launcher when they are disabled (closes #3443) 2025-04-17 09:37:55 +02:00
Alexander Bock 9a623129d8 Add Notification window to the Launcher (#3595) 2025-04-16 17:13:14 +02:00
Alexander Bock e7bc5a90a6 Make the window configurator a bit more compact (closes #3607) 2025-04-16 15:18:13 +02:00
Alexander Bock 125f54aa0a Update nlohmann repository (#3609)
* Remove old non-submodule version of nlohmann in favor of submodule
* Update nlohmann from 3.9.1 to 3.12.0
- Already disable implicit conversions in preparation for next major version
2025-04-16 14:13:20 +02:00
Alexander Bock af20b97dc7 Add ability to configure horizontal field of view per window instead (#3584) 2025-04-14 19:47:54 +02:00
Alexander Bock 6fa3f76c48 Add a new panel to the Launcher to control which WebUI button appears on the bottom bar (#3569)
- Add markNodes to the profiletopic

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2025-04-03 18:09:35 +02:00
Alexander Bock bf2fee7d71 Submodule updates (#3586)
Update submodules and also provide compatibility with CMake 4.0.

  - assimp: `v5.4.1` -> `v5.4.3`
  - catch: `v3.5.3` -> `3.8.0`
  - date: `master` -> `v3.0.3`
  - freetype2: `v2.10.4` -> `v2.13.3`. Also change to freetypes original Git server
  - glbindings: `v3.3.0` -> `v3.4.0`
  - glm: `master` -> `v1.0.2`
  - scnlib: `v4.0.1` -> `v2.0.2`
  - soloud: `master` -> `master`
  - tinyxml: `master` -> `v11.0.0`
  - tracy: `v0.10.1` -> `v0.11.0`
2025-03-31 22:30:31 +02:00
Alexander Bock 9f7d6e9044 Add tilt and window blitting options to the Launcher (#3568) 2025-03-31 11:02:44 +02:00
Alexander Bock b1a8c82a1e Use central subdirectory function. Fix compile issue with Tracy 2025-03-24 15:10:34 +01:00
Alexander Bock f3583224c2 Correctly store the last profile run even if it is in a subfolder (closes #3570) 2025-03-24 14:51:58 +01:00
Alexander Bock 31c24d3352 Turn the time selector in the Profile Editor into a tabbed window (#3562) 2025-03-24 09:03:01 +01:00
Alexander Bock 7ca40c1575 Update SGCT repository 2025-03-18 12:04:43 +01:00
Alexander Bock fc9b2ab091 Increase the compilation speed (#3545)
- Remove toStringConversion function and move json_helper include out of numericalproperty.inl
  - Optimizing some header files
  - Remove duplicate Lua functions from properties. 
  - Move List,Option,Selection,String, and TriggerProperty into misc folder
  - Move lua_helper include out of inline file
  - Add lua_helper to the precompiled header
  - Declare property functions as final. No longer have OptionProperty derive from IntProperty
  - Remove Dictionary header from properties
2025-03-14 11:22:40 +01:00
Alexander Bock 842b63f6ea Update SGCT repository 2025-03-08 15:47:05 +01:00
Alexander Bock 80dcc0db3a Revert C++ version back to 20 due to a bug in Clang17
https://github.com/llvm/llvm-project/issues/61415
2025-03-03 22:48:50 +01:00
Michael Zingale 12de9d8697 Add a cast from json to std::string for the anchor in the Horizonsdialog(#3548)
This fixes compilation with GCC 14.2.1
2025-03-03 09:59:57 +01:00
Alexander Bock cc395ce340 Update C++ version to 23, add new warnings and the fix them 2025-03-01 15:49:38 +01:00
Alexander Bock cd8924ed22 Remove compiler warnings on Clang/GCC (#3546) 2025-02-28 23:29:38 +01:00
Alexander Bock 61ed1f4c9b Launcher improvements (#3523)
- Adding support for subfolders in configurations and profiles
  - Disable the edit button if profile does not exist
  - Disable the Start button if the profile or window configuration does not exist
  - Change the layout of the Window Configuration editor
    - Explicitly specify which windows should have Overlay rendering and 3D rendering
    - Add keyboard shortcuts for adding and removing windows
  - Use a normal Save dialog for the profile editor instead of the renaming + Duplicate button
2025-02-24 16:19:42 +01:00
Alexander Bock 2012498665 Update SGCT repository (closes #3511) 2025-02-07 10:25:43 +01:00
Alexander Bock ebe3b70dfb Compile fix for unit tests in Jenkins 2025-02-06 12:41:55 +01:00
Alexander Bock 096363fd06 Make constructors explicit 2025-02-05 23:22:32 +01:00
Alexander Bock e51b466bd9 Correctly parse setPropertyValue from ScriptLog in PropertiesDialog to ignore all parameters after the value 2025-02-04 00:20:07 +01:00
Alexander Bock 0c9aa9c666 Fix previously introduced bug and update SGCT repository 2025-02-03 19:05:22 +01:00
Alexander Bock 0e89cc3d60 Print configuration syntax error into the log and not only the console 2025-02-02 20:49:06 +01:00
David Wagner 8a5d57a441 cmake: honor OPENSPACE_HAVE_TESTS at more places (#3503)
- Don't build the codegen unit tests if the OpenSpace unit tests are
  disabled;
- Dropagate the value of this option to Ghoul's corresponding option,
  unless Ghoul's option value has been forced;
2025-01-31 08:27:38 +01:00
Arohdin 77ae98ac59 Horizons generator - use correct id for Center Body 2025-01-16 15:30:31 +01:00
Arohdin 066f2d71e8 Fixed minor spelling mistake 2025-01-16 15:21:03 +01:00
Alexander Bock 179f556bac Overwrite locale to C (#3474) 2025-01-15 11:23:51 +01:00
Alexander Bock 0979c486d9 Update SGCT repository 2025-01-14 16:24:15 +01:00
Alexander Bock 820e90eab4 Happy new year 2025-01-14 16:21:08 +01:00
Alexander Bock f0342e43e8 Adapting to SGCT changes (#3488) 2025-01-14 14:17:50 +01:00
Alexander Bock f1bfaadc35 Update SGCT submodule
- Add support for ScalableSDK
2024-11-25 13:00:26 +01:00
Alexander Bock f4fe8bd38a Update SGCT repository
- Add the ability to prevent windows from partaking in screenshots
  - Fix issue when recomputing field-of-views for viewports that are rotated
2024-11-06 09:40:15 +01:00
Andreas Engberg 6dd3dd8ab8 Feature/UI launcher accessibility (#3417)
* update background and foreground colors in launcher

* Change tab order and preliminary focus visuals

* update focus color

Improves on #3091 but does not fixes it, the contrast ratio is 2.4/2.9-3.3 versus the white border/the gray background on each button/dropdown

* update focus border width

* Update color of error messages fixes #3103

* Enable enter key interaction on ui launcher buttons fixes #3092

* Update accessibility names on buttons and fields where the current readout does not make sense, fixes #3089

* Fixed issue where you could not tab out of multiline textfields

* Add overlay to the launcher image to increase contrast

* Slightly improves readability of Start button fixes #3096

We decided to keep the all caps to indicate call to action

* Add start button to have default focus which enables quick start by pressing enter or space on startup

* Removed overriden object name

* Update color label text for better clarity fixes #3094

The actual fix is in #9a7e8e1

* Add `esc` keypress to exit the launcher fixes #3097

* add placeholder text for profile name fixes #3101

* Fixed issue with properties, assets, and keybindings multiline readout, fixes #3098

* Change tab order of properties, assets, and keybindings: text area -> edit button,  fixes #3099

* Add prompt to user warning of unsaved changes in profile editor

* Add error message dialog fixes #3100

* Removed unused code

* Remove hardcoded color for information text in cameradialog

* Don't compare profile files but profiles instead

* Add same focus outline to all buttons in launcher

---------

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-10-11 10:13:32 +02:00
Alexander Bock ff345006d1 General code cleanup (#3445) 2024-10-10 09:49:02 +02:00
Alexander Bock 062278b0a0 Store last profile and configuration from the launcher (closes #3410) 2024-09-13 12:30:24 +02:00
Alexander Bock 462629762a Don't print version number in dump file if not in release mode 2024-09-12 16:34:30 +02:00
Alexander Bock 16484dc295 Doxygen cleanup and moving functions in SceneGraphNodes 2024-08-28 11:50:39 +02:00
Ylva Selling aed2c0b0c8 Issue/2244 different mouse cursors (#3388)
* Update CEF version number

* Set OpenSpace_Helper version of C++ to 20

* Update C++ syntax to v 20

* Remove deprecated function (now default)

* Set the cache folder for cef

* Make static function in webbrowsermodule that determines if we can use accelerated rendering

* Add flag for accelerated rendering to webrenderhandler

* Use accelerated rendering

* Implement function to see if gui should absorb click

* Adhere to 80 char linewidth

* Make only the UI GPU accelerated

* Use dirty rects size for the texture to remove crash

* Better comments

* Make has content function work for GPU acceleration

* Make it so all browsers can be accelerated

Tried making it so only the gui was accelerated for simplicity. Performance plummeted, so reverted that

* Tidy up

* Add accelerated rendering flag to the screenspacerenderable shader

* Add temporary fix to make the sky browser work

* Remove flag from gui render handler

* Enable webgl in a nicer way

* Unbind texture in screenspacerenderable

* Add better comments for error handling

* Tidy up

* Address PR comments

* Make the acceleration Windows only

* Remove unnecessary setting of shader dictionary

* Add display handler to browser client

* Make glfw change mouse cursor depending on cef cursor

* formatting

* Add switch to main

* Update modules/webbrowser/src/browserclient.cpp

Co-authored-by: Alexander Bock <alexander.bock@liu.se>

* Address comments on PR

* Update again

* Update modules/webbrowser/src/browserclient.cpp

Co-authored-by: Emma Broman <emma.broman@liu.se>

* Address PR comments

---------

Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
2024-08-28 10:44:17 +02:00
Alexander Bock 1f202339c8 Update SGCT repository (closes #2655) 2024-08-22 14:26:03 +02:00