Commit Graph

869 Commits

Author SHA1 Message Date
Alexander Bock
6e29d898cf Update copyright header 2024-02-06 15:53:24 +01:00
Alexander Bock
27608634b2 Remove warnings (#2999)
* Remove warnings for MSVC, GCC, and Clang 17
2024-01-18 09:58:20 +01:00
GPayne
ab925174b5 Fix for crash when reading meta of corrupt config file 2024-01-11 14:31:00 -07:00
Alexander Bock
cc9f235c9d Add more debug outputs to the startup to be able to diagnose issues 2023-12-22 14:41:19 +01:00
Alexander Bock
0cf0fe492b Doxygen fixes 2023-12-09 00:16:25 +01:00
Malin E
690878bc87 Layers maintenance (#2917)
* Separate layers for the Moon and Earth

* One asset each for each server, New York, Utah, and Sweden

* Add the layers asset files for Earth and Moon

* Add new layers structure for Mars and Europa

* Add layers assets for Mercury and Enceladus

* Add more layer assets for all servers

* Add layer assets for each server on the top asset level

* Rename Venus Utah cloud combo layer asset (breaking change)

* Clean up layer asset descriptions

* Update layer asset version name

* Fix base layers error

* Add configuration option to choose layers server

* Add Lua functions to access configuration settings

* Extend configuration Lua function

* Add layer server setting in setting gui + add 'None' as a server option

* Add base layers when server 'None' is used

* Add tests for the new Layer Server setting
2023-12-06 16:17:23 +01:00
Alexander Bock
7b081bd8cf Prevent crash when using old joystick asset (closes #2927) 2023-11-28 16:33:45 +01:00
Alexander Bock
162b47d297 Fix TaskRunner that was broken after configuration change 2023-11-21 14:45:12 +01:00
Alexander Bock
131b8f4886 Doxygen update 2023-11-21 10:49:39 +01:00
Alexander Bock
4ee078502b Doxygen (#2953)
* Update Doxygen and add new CSS file
* Remove Doxygen warnings
2023-11-19 16:35:14 +01:00
Alexander Bock
b62e604b2e Adds a persistent file used to store user settings (#2931)
* Enable the loading of settings
* Add a user interface for changing the settings in the launcher


Co-authored-by: Emma Broman <emma.broman@liu.se>
2023-11-13 08:52:51 +01:00
Alexander Bock
49106c336e Update Tracy submodules 2023-11-08 10:26:34 +01:00
Alexander Bock
f2524c27c4 Fix Tracy 2023-11-08 07:40:14 +01:00
Alexander Bock
eeb536c9e1 Add the ability to set individual commandline options at the expense of a generic Lua script
Note breaking change: Previously `--config` specified one or more Lua scripts that were executed to update the configuration state, now the `--config` sets the path to the window configuration instead
2023-11-07 16:19:59 +01:00
Alexander Bock
870850db07 Enable warnings for missing case labels and subsequent cleanup. Updated ghoul, sgct, and codegen repository for same 2023-11-05 22:16:06 +01:00
Alexander Bock
15f175ce3d Update SGCT submodule 2023-10-16 20:06:08 +02:00
Alexander Bock
7483b912e0 Update submodules to fix compilation error on newer Clang and GCC (#2890)
* Update submodules

* Update Ghoul
2023-09-13 09:51:30 +02:00
GPayne
0bf22efe72 Reference latest commit in sgct submodule master 2023-08-30 20:30:20 -06:00
Gene Payne
bd35397e9e Bump sgct submodule rev to get meta fix in base sgct schema 2023-08-25 16:49:20 -06:00
Alexander Bock
c18ab49965 Sort additional scripts by row-order, not selection-order (closes #2862) 2023-08-21 13:26:26 +02:00
Gene Payne
f692b8a7a4 Merge pull request #2817 from OpenSpace/issue/2475
Issue/2475 : Tooltip descriptions in launcher for window configs
2023-08-15 13:25:02 -06:00
Gene Payne
cbe215fc5b Code review changes 2023-08-11 16:16:19 -06:00
GPayne
4433abdf79 Switched to Qt RegularExpression for asset search 2023-08-10 05:59:20 -06:00
Gene Payne
9cfda4db2f Fixed the name in the meta section of each config 2023-08-07 12:50:06 -06:00
GPayne
399dc323af Add search text box and filtering capability to profile assets editor 2023-08-06 15:08:00 -06:00
Alexander Bock
8d42537d6d Set the user position to be (0,0,0) which fixed the creation of Fisheye configurations (closes #2818) 2023-08-03 21:50:25 +02:00
GPayne
90d8abcfb1 Bump sgct rev with comment header 2023-07-20 08:45:45 -06:00
Gene Payne
72bf7f59d3 Implemented tooltips for sgct window config files in launcher dropdown 2023-07-19 13:50:59 -06:00
Gene Payne
8bc8909425 Bump to sgct version with meta info 2023-07-18 17:51:10 -06:00
GPayne
ce1b024f7b First pass of adding descriptions to window config files with schema 2023-07-12 23:40:02 -06:00
Alexander Bock
9fa0def25e Update offline mars map to fix 180 degree offset 2023-07-06 14:59:40 +02:00
Alexander Bock
7575be32c0 Add version number to launcher (closes #2365) 2023-06-13 19:16:09 +02:00
Gene Payne
36f499d199 Fix for preventing adding property from scriptlog if already in add mode (#2735) 2023-06-07 00:23:04 -06:00
Alexander Bock
c78b41c645 Use the drawing resolution in the case of non-linear projections correctly (closes #2745) 2023-06-06 17:17:17 +02:00
Gene Payne
384f1e5530 Issue/2531 (#2719)
* Added ability to enable gui-on-first-window checkbox
* Added selection for rendering for first window if in gui-only mode
* Improvements to combo box selection for graphics on first window
* Code to save to file when first window is set to UI with mirroring other
* Code for importing details for gui on first window from config
* Some viewport element comparison code
* More viewport element import code comparing values for first window
* Added a field in sgct config to mirror render of window to gui window
* Implemented first gui window mirror rendering with feedback in editor
* Fixed window config combo box index callback bug and other improvements
2023-05-30 11:30:47 -06:00
Alexander Bock
e734ca4a07 Reduce the forced height of the asset editor (closes #2547) 2023-05-25 17:41:04 +02:00
Emma Broman
c949a9892c Issue/2227 - Option to just specify a scene graph node in profile editor camera dialog (#2699)
* Add profile edit to start camera at a given scene graph node

* Restructure some navigation code to allow computing camera pose from node

* Delay computation of camera pose for node spec as well... And give NodeInfo a more extensive name (The objects may move during the frame, making the computed pose invalid)

* Update to make scene graph node first option in editor

* Add some description to each tab in the camera dialog

* Add operator== for CameraGoToNode struct to make the unit tests compile

* Add version handling for new profile version

* Add option to specify an optional height

* Update current version constant, for old test cases to go through successfully

* Add some test files

Note that apparently, the profile loading does not check the values of the individual fields, just existence, and type. So added two test cases that are not currently checked.

---------

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2023-05-24 11:22:41 +02:00
Joakim Kilby
ca4b6d2ce2 Fix viewport & window issues (#2630)
* Add support for multiple windows & viewports
With correct rendering of both Scene and Overlays/GUI.
GUI is restricted to either the first window or any other windows tagged
with "GUI", overlays are drawn on all windows/viewports.

Closes #2542 and #1645
2023-05-17 22:02:47 +02:00
Alexander Bock
bde840ad03 Remove a bunch of compiler warnings
* Remove compile warnings
* Coding style fix
2023-05-16 11:59:28 +02:00
Alexander Bock
b11b8c1cb6 Correctly detect whether a profile in the editor is a user or built-in profile (closes #2687) 2023-05-15 21:17:04 +02:00
Alexander Bock
f31dce7f01 Jenkins fixes (#2685)
* Update SGCT repository
* Update Ghoul
* Update codegen
2023-05-13 10:25:25 +02:00
Alexander Bock
006aefdff0 Remove explicit specification of read-only profiles and read-only configuration files and use a filesystem lookup instead 2023-05-11 16:03:13 +02:00
Gene Payne
74318ea472 Bump to sgct repo version that doesn't use static zlib 2023-04-28 14:14:45 -06:00
Alexander Bock
6dfd0cd3a8 Remove warnings on MSVC 2023-04-26 23:51:16 +02:00
Alexander Bock
d0d65e4234 Update CMake folders 2023-04-23 12:33:11 +02:00
Alexander Bock
db002d4cf7 Fix CMake issues when disabling unit tests, Add new CMake flag OPENSPACE_ENABLE_ALL_MODULES to change default behavior of module inclusion 2023-04-15 22:39:35 +02:00
Alexander Bock
1ef6cb0c02 Update SGCT repository 2023-04-15 09:27:55 +02:00
Gene Payne
cec6e05ff1 Allow Window Config GUI to Edit Files (#2574)
* Added pboettch/json-schema-validator submodule

* Added initial code for selecting window config to edit

* Use updated sgct submodule with json-validate

* Bump sgct submodule version reference

* Bump sgct submodule version reference

* Version checking of sgct window config in progress

* Json schema validator submodule is now in sgct

* Added support for read-only window configs, and additional changes

* More changes with opening config in window edit, plus schema files added

* Update sgct schema version with more defs to work with sgctedit schema

* Fixes to get sgct edit schema working with dialog for error messages

* Improvements in exception handling

* Improved handling of multiple sgct & json exception types

* Minor improvements in exception messages

* Extra spaces in error message output

* Fixing importing of json config data from launcher to sgctedit

* Fixed window size & position update

* Changes for preserving settings in edit vs new mode

* Changes to import settings from config file

* More changes for importing testing of config file based on file tests

* Fixed window placement dims in monitor, and some code refactoring

* Move json validation before initial read

* Add CMake copy of sgct schema file to OpenSpace post-build

* Bump sgct submodule reference

* Modify calls for json schema validation and bump to latest sgct

* Bump to new sgct repo with unit testing and updated schema

* Added first test for window config editor schema

* Finished tests for sgcteditor validation

* Code cleanup pass

* Fix of sgctedit test for remove description

* CMake and include config changes to fix build after merge

* Bump sgct submodule version

* Improve paths in sgctedit test

* Bump sgct reference for test path fix

* Check for imported monitor number being in valid range

* Make sgct config 'monitor' key/value optional

* Have 'save' or 'save as' buttons depending on edit or new modes

* Code review feedback changes

* Fix to include the last file in the user config dir list

* Addressing some PR request

* Change to pass-by-reference in editRefusalDialog

* Separating errors into summary and detailed messages in error dialog

* Disable edit button with hover text if config read shows invalid format

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-04-14 18:28:31 -06:00
Alexander Bock
649442aca9 Update SGCT repository 2023-04-12 08:47:52 +02:00
Alexander Bock
5e63eabc4e Provide error message when running OpenSpace from a folder containing a ', ", [, or ] (closes #2563) 2023-04-04 22:08:28 +02:00