Commit Graph

5570 Commits

Author SHA1 Message Date
Adam Rohdin
8629ee6330 Added extra spacing
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-06-08 09:00:53 +02:00
Adam Rohdin
7bf6b1d00f Merged two if-statements 2023-06-07 17:14:08 +02:00
Adam Rohdin
f1d838da77 Fixes bugs when some variables equals 0 2023-06-07 16:59:39 +02:00
Adam Rohdin
959efddc51 Fixes #2540 by correctly showing all points, including the proper end point 2023-06-07 16:20:19 +02: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
Alexander Bock
04871e5a06 Change MipMapping of tiles to Linear interpolation 2023-06-06 15:33:28 +02:00
Alexander Bock
14c02a85ce Add the ability to provide a random background image to TileIndexTileProviders 2023-06-06 15:33:13 +02:00
Alexander Bock
25292cef76 Disable too agressive culling of renderabletrails for now (closes #2653) 2023-06-03 13:42:13 +02:00
Alexander Bock
9d5e50d930 Ensure that the geometry has the animation enabled (closes #2731) 2023-06-03 02:50:39 +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
7bcc7073fe Removed unused variable and changed pointer initialization 2023-06-01 08:40:11 +02:00
Adam Rohdin
781b114d29 Moved bounding sphere calculations for better performance 2023-05-31 15:45:00 +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
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
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
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
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
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
Malin E
4d9d4717d3 Set clear color for transparent models, fixes #2683 2023-05-23 11:25:48 +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
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
Alexander Bock
5abbe9dcd9 Add the ability to fade the atmosphere (closes #2700) 2023-05-17 11:00:39 +02:00
Alexander Bock
d0d82b79fa Fix crash when building Speck cache (closes #2689) 2023-05-16 22:52:54 +02:00
Alexander Bock
4edb796147 Also set the socket type for the server connection correctly; Fix the broken spacetime component again 2023-05-16 15:34:32 +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
Joakim Kilby
f8d7d5386a terminate ZoneScoped calls (required after Tracy update) 2023-05-16 11:07:01 +02:00
Alexander Bock
8b5b9432b6 Add new property to IndexSequenceTileProvider that shows the number of available images (closes #2688) 2023-05-15 22:16:15 +02:00
Ylva Selling
b529a5c67e Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2023-05-12 11:08:39 -04:00
Micah Acinapura
4731e8e0a8 MacOS build fixes (#2622)
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Joakim Kilby <jockekilby@gmail.com>
2023-05-12 09:35:59 +02:00
Ylva Selling
c1e9993c27 Add option to have actions in a milestone in mission UI 2023-05-11 14:58:54 -04:00
Joakim Kilby
2268802978 remove flickering during tileindex loading
by restoring framebuffer, shader & viewport state/bindings after
rendering text.
2023-05-11 12:36:46 +02:00
Alexander Bock
9447a351b4 Increase the TilePixelSize for heightmaps loaded from info files 2023-05-10 23:13:27 +02:00
Alexander Bock
a5b8368b50 Fix bugs in videoplayer (#2678)
Remove from syncable list after destruction; only use one fbo; remove code no longer used

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2023-05-09 20:04:15 +02:00
Ylva Selling
487a0a8733 Add missing property dimensions to screenspace browser 2023-05-08 14:10:02 -04:00
Ylva Selling
142aba3684 Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2023-04-27 11:30:38 -04:00
Ylva Selling
b5d6ddc25a Only show properties that are valid for real time playback when real time playback is selected 2023-04-27 11:30:34 -04:00
Ylva Selling
d827d0a3c2 Add property for toggling looping of video 2023-04-27 11:29:49 -04:00
Alexander Bock
6dfd0cd3a8 Remove warnings on MSVC 2023-04-26 23:51:16 +02:00
Ylva Selling
2b3333c9ac Merge branch 'feature/documentation-cleanup' 2023-04-26 17:37:50 -04:00
Ylva Selling
d6ddd86a35 Rewrite asset json function to nlohmann::json 2023-04-26 17:30:51 -04:00
Ylva Selling
9a1e6b8002 Remove old json functions 2023-04-26 16:58:55 -04:00
Micah Acinapura
5ea6f1d21c handled underscore and period special in c++ for cef bug; also remove… (#2643)
* handled underscore and period special in c++ for cef bug; also removed F5 special code and changed to keybinding; closes #853; closes #896

* removed extra line

* fix formatting from review
2023-04-26 08:22:48 -04:00
Emma Broman
1762bec1c2 Make the Enabled properties advanced, show in GUI, and change name
Update GUI hash to show enabled property
2023-04-25 11:29:41 +02:00
Alexander Bock
d0d65e4234 Update CMake folders 2023-04-23 12:33:11 +02:00