Commit Graph

835 Commits

Author SHA1 Message Date
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
Joakim Kilby
e743d387f2 Exclude translation files 2023-04-04 14:38:36 +02:00
Alexander Bock
ebed869f4b Update SGCT repository (closes #2370) 2023-04-03 21:35:07 +02:00
Alexander Bock
379a050bc0 Provide a proper error message when trying to overwrite a hidden profile (closes #2575) 2023-04-03 10:42:01 +02:00
Gene Payne
79385faa68 Use correct FOV calculations to handle portrait or landscape windows (#2554)
* Use correct FOV calculations to handle portrait or landscape windows
* Include missing numbers header and use float pi constant
* Renamed fov variable based on developers feedback
2023-03-30 14:18:53 -06:00
Alexander Bock
3212b94c79 Add more description to the --config command 2023-03-13 14:07:08 +01:00
Alexander Bock
12180beafa Increase the size of the configuration boxes in the launcher (closes #1785) 2023-03-11 17:30:48 +01:00
Alexander Bock
3f35fa992a Fix spout_output_flat 2023-03-11 16:28:29 +01:00
Alexander Bock
27aeac0776 Only check major Horizons version for compatibility (closes #2507) 2023-03-11 15:31:44 +01:00
Alexander Bock
65b4cf9937 Prevent infinite loop when extracting invalid commandline arguments (closes #2349) 2023-03-07 16:05:59 +01:00
Gene Payne
7ed1e33fc8 Improve behavior for gui window and separate render window (#2515)
* Improve behavior for gui window and separate render window

* Code review fix for using size_t in windows indexing
2023-03-06 16:00:48 -07:00
Alexander Bock
a711591c09 Update Doxygen (#2537)
* Modernizing Doxygen
* Remove warnings for Doxygen
2023-03-06 23:41:24 +01:00
Alexander Bock
cb865c3dd5 Updating Ghoul to fix misclassification of string/doubles (closes #2533) 2023-03-05 10:52:20 +01:00
Adam Rohdin
88972fc27b New function that resets screenshot index to 0. Usefull when capturing png sequence for video 2023-03-02 14:36:03 +01:00
Alexander Bock
375e5c6561 Tracy Update (#2534)
* Update the Tracy repository
* Update submodules
2023-03-01 11:48:21 -07:00
Alexander Bock
7b78a33df3 Provide informational text in the actions panel if the user tries to create an illegal identifier (closes #2289) 2023-02-27 18:25:20 +01:00
Alexander Bock
35a92b6e4d Add the ability to start a profile paused (closes #2228). Bump profile version to 1.2 2023-02-27 18:03:35 +01:00
Alexander Bock
5ab77a2e26 Enable drag-drop for the interesting nodes panel and prevent double bookkeeping (closes #2346) 2023-02-27 16:58:41 +01:00
Alexander Bock
015ae8f63e Allow the ScriptlogDialog to return multiple scripts; Make use of the Dialog in the Properties panel (closes #2253) 2023-02-27 16:28:06 +01:00
Alexander Bock
b7820f4649 Update SGCT repository 2023-02-27 15:43:49 +01:00
Gene Payne
a0a42ee13b Replace profile actions/keybind editor button with single close button (#2497) 2023-02-14 12:17:05 -07:00
Alexander Bock
c242104baf Improve the reporting of specification errors 2023-02-13 22:16:23 +01:00
Alexander Bock
f7ff2e33da Properly report an error when an .info file is missing the identifier, preventing the addition of a layer without one (closes #2490) 2023-02-06 23:07:21 +01:00
Alexander Bock
79ad5776cc CMake cleanup (#2489)
* CMake Cleanup
* Warning suppression with CEF
* Use SGCT tinyxml in skybrowser for now
* Disable warnings about missing field initializers
2023-02-05 23:24:12 +01:00
Alexander Bock
1a88d898d8 Update submodules 2023-02-01 23:41:55 +01:00
Alexander Bock
6c3c267140 Rename "Keybindings" panel to "Actions & Keybindings" (closes #2363) 2023-01-30 23:56:00 +01:00
Alexander Bock
3b06b53187 Provide error message if a GuiPath does not start with / ; Automatically add / in the Profile editor. Default initialize all paths to / (closes #2318) 2023-01-28 22:38:00 +01:00
Alexander Bock
ad22d6c818 Another clang fix 2023-01-26 22:59:27 +01:00
Alexander Bock
f1e2765da9 Add support for multiple occurrances of -c commandline argument 2023-01-26 21:08:37 +01:00
Alexander Bock
a49bf5d3ce Clang compile fix 2023-01-26 20:58:55 +01:00
Alexander Bock
96a261df20 Another try to pacify jenkins 2023-01-26 15:50:05 +01:00
Alexander Bock
583178e641 Update Ghoul and SGCT to make it compile in Jenkins again 2023-01-26 15:00:19 +01:00
Alexander Bock
d52c5dd0d9 Cleanup code with designated initializer lists 2023-01-22 23:01:32 +01:00
Alexander Bock
c488231e65 Add the ability to open a different scriptlog file when changing the additional scripts (closes #1545) 2023-01-21 21:43:41 +01:00
Alexander Bock
28ebcce23d Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2023-01-12 17:05:23 +01:00