Commit Graph

10985 Commits

Author SHA1 Message Date
Alexander Bock ea5ab3835d Prevent Lua error when trying to load a constellations file that doesn't exist 2023-06-01 09:25:49 +02:00
Adam Rohdin 7c36029ec4 Merge pull request #2727 from OpenSpace/issue/2726
Moved calculations for bounding sphere to only be executed during a fullSweep
2023-06-01 08:43:32 +02:00
Adam Rohdin 22e7657486 Merge pull request #2725 from OpenSpace/issue/2724
Switched multiple OpenGL calls to a single call for better efficiency
2023-06-01 08:41:14 +02:00
Adam Rohdin 7bcc7073fe Removed unused variable and changed pointer initialization 2023-06-01 08:40:11 +02:00
Alexander Bock 7d1f3bfa37 Update Digital Universe catalogue (#2729) 2023-06-01 07:52:20 +02:00
Adam Rohdin 781b114d29 Moved bounding sphere calculations for better performance 2023-05-31 15:45:00 +02:00
Malin E 2a3a11d03a Some simplifications to joystick assets 2023-05-31 13:47:01 +02:00
Alexander Bock 82d47df9fb Use currect default value for startPlayback function 2023-05-31 11:37:26 +02:00
Emma Broman 1f596f515c Update GUI hash (for linting updates) 2023-05-31 10:51:57 +02:00
Adam Rohdin 6dcd3dfcdd Switched multiple OpenGL calls to single a call for better efficiency 2023-05-30 20:35:55 +02:00
Adam Rohdin b4337e8188 Merge pull request #2721 from OpenSpace/issue/2682
Tile with only "noDataValue" no longer reports as status Failure, instead it just reports tile as unavailable.
Due to this change Tiles with only "noDataValue" won't get re-added into the job queue forever.
2023-05-30 20:26:53 +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
Adam Rohdin 8b044f823f Tile with only "noDataValue" no longer reports as status Failure
Due to this change Tiles with only "noDataValue" won't get re-added into the job queue forever.
Solves issue where height data did not display for underlaying heightmaps.
2023-05-29 16:24:11 +02:00
Emma Broman 181122d188 Make RenderableType property readonly 2023-05-29 14:19:06 +02:00
Alexander Bock 705c898ccd Asset File cleanup (#2713)
* Updating all assets to new coding style
* Cleaning up asset files
* Moving default_actions and default_keybindings files
* Changing procedural globes to explicitly specified globes
* Move Spice loading explicitly to the initialize part and also deinitialize
* Removing unused asset files
  * Removing asset_helper
  * Removing scale_model_helper asset
  * Removing script_scheduler_helper
  * Removing testing_keybindings
  * Remove procedural_globe
2023-05-28 17:23:20 +02:00
Alexander Bock 0eb86d2c57 Fix capitalization of example video 2023-05-26 23:24:07 +02:00
Alexander Bock 1d7b6d2d8c Correctly reset the OpenGL state after rendering text in a tile to prevent flickering when tiles update 2023-05-26 23:23:05 +02:00
Ylva Selling 729febbb7a Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2023-05-26 12:31:27 -04:00
Ylva Selling c13747bb9c Add tiny resolution video to local resource video example 2023-05-26 12:31:23 -04:00
Emma Broman 0a5c43ba6b Update exoplanets data (closes #2450) 2023-05-26 17:01:56 +02:00
Malin E ff805d334f Fix issue with atmosphere rendering on top of spheres 2023-05-26 16:34:38 +02:00
Malin E 6f8245d9cb Fix issue with atmosphere rendered on top of video plane
* Issue still persists with video sphere and regular sphere
2023-05-26 11:23:09 +02:00
Alexander Bock ed083494ed Update Ghoul to be able to fix pixel alignment (closes #2428) 2023-05-26 10:43:08 +02:00
Alexander Bock 842f991f8b Remove the explicit check for No Data Available tiles as the new ESRI server won't return those anymore (closes #2593) 2023-05-26 00:00:38 +02:00
Alexander Bock fd5d453913 Add the option to not wait for tile loading for cases when the WMS server is misbehaving 2023-05-25 23:17:29 +02:00
Ylva Selling 148d722063 Update gui to fix issue with missions ui with timecaptures 2023-05-25 12:19:57 -04:00
Alexander Bock e734ca4a07 Reduce the forced height of the asset editor (closes #2547) 2023-05-25 17:41:04 +02:00
Malin E 6054a817d8 Move model loading code to initialiseGL, fixes #1838 2023-05-24 16:40:17 +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
Emma Broman 24f9acf903 Fix some model matrices for models (that should now be specified as Mat4s rather than mat3) 2023-05-23 16:04:57 +02:00
Malin E 4d9d4717d3 Set clear color for transparent models, fixes #2683 2023-05-23 11:25:48 +02:00
Malin E b8da42eb19 Fix Juno transformation matrix 2023-05-23 10:25:11 +02:00
Malin E decbd33f81 Merge pull request #2702 from OpenSpace/issue/2647
Issue/2647
2023-05-23 09:41:29 +02:00
Malin E 9081a4db66 Make the numeric value of the model scale a property in the gui 2023-05-22 17:46:31 +02:00
Emma Broman 12d37d92a6 Fix faulty type for RenderableModel ModelTransform property input
from asset dictionary
2023-05-22 17:07:28 +02:00
Malin E 0490e94350 Fix modelshader example in Debug mode 2023-05-22 11:37:28 +02:00
Ylva Selling 156d0a8459 Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2023-05-18 11:04:39 -04:00
Ylva Selling 1ad6107558 Add jupiter video to juice and juno 2023-05-18 11:04:33 -04:00
Alexander Bock 27960b96e4 Fix issue that would cause created identifiers to be all dashes 2023-05-18 16:52:27 +02:00
Alexander Bock 633aeb5fa4 Update DeepSky images to remove non-even pixel sizes (closes #2482) 2023-05-18 16:52:03 +02:00
Ylva Selling e94baa7e78 Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2023-05-18 10:47:49 -04:00
Ylva Selling 3da463e7f5 Add jupiter video asset 2023-05-18 10:47:43 -04:00
Alexander Bock 94f9e1b051 Do not crash when trying to access a module folder that does not exist (closes #2703). Remove the ability to specify external modules 2023-05-17 22:32:13 +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
Malin E a9f869642a Small clean up 2023-05-17 11:34:31 +02:00
Emma Broman f613b6651d Fix a problem with a vector that should have been normalized, closes #2572 2023-05-17 11:27:19 +02:00
Malin E ec15624ab0 Remove unused Roll Y movement for camera 2023-05-17 11:12:18 +02:00
Alexander Bock 074967712c Update last height layers to use the correct tile pixel size (#2472) 2023-05-17 11:07:38 +02:00
Alexander Bock 5abbe9dcd9 Add the ability to fade the atmosphere (closes #2700) 2023-05-17 11:00:39 +02:00
Malin E c0a1dc7e79 Dont allow axis flipping for propertry axis 2023-05-17 10:50:35 +02:00