Commit Graph

5588 Commits

Author SHA1 Message Date
Ylva Selling e89bef0203 Address comments on PR and make code more readable 2023-06-13 16:10:06 -04:00
Ylva Selling 08523695dd Fix crash from dereferencing a null ptr 2023-06-12 11:41:19 -04:00
Ylva Selling 81a54927d0 Fix compilation issue 2023-06-12 09:41:13 -04:00
Ylva Selling 52e316b03d Move calculate dimming coefficient to a function and also include calculations for eclipse shadows 2023-06-09 16:21:12 -04:00
Ylva Selling 96823b848f Add function that calculates eclipse shadows 2023-06-09 16:18:46 -04:00
Gene Payne a250f73904 Merge pull request #2747 from OpenSpace/issue/2588
Fixes line ending problems with horizons vector files on linux
2023-06-09 10:17:23 -06:00
Emma Broman 68c1b34e7c Add missing std namespace to getline function 2023-06-09 11:38:50 +02:00
Alexander Bock bb9a3e375d Add documentation for Video classes (closes #2732) 2023-06-09 11:25:52 +02:00
Emma Broman b211df72a6 Fix: allow loading multiple features with same name in geojson file 2023-06-08 13:58:37 +02:00
Adam Rohdin 3848edfcc4 Merge PR #2748: Correctly displaying all points for RenderableTrailTrajectory (closes #2540)
Fixes #2540 by correctly showing all points, including the proper end point
2023-06-08 09:06:17 +02:00
Adam Rohdin f732702680 Readability fix
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-06-08 09:02:07 +02:00
Adam Rohdin 8629ee6330 Added extra spacing
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-06-08 09:00:53 +02:00
GPayne 023275a061 Switch to C++20 string starts_with for vector header 2023-06-07 15:16:03 -06:00
Gene Payne 143eeb2977 Merge pull request #2728 from OpenSpace/issue/2649
Fix for date format in sssb v2 asteroids files (issue 2649)
2023-06-07 11:02:27 -06: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
GPayne 5518492c4d Fix for correctly handling horizons vector header on linux 2023-06-06 23:19:49 -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
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
GPayne aa49d6d540 Code review change 2023-06-01 09:23:48 -06: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
GPayne 68b0b2fb10 Limit string length when reporting line error 2023-05-31 09:32:54 -06:00
Adam Rohdin 781b114d29 Moved bounding sphere calculations for better performance 2023-05-31 15:45:00 +02:00
GPayne ec11d3686c Fix to tolerate double quote characters in header line 2023-05-31 00:05:54 -06:00
Gene Payne ebfada0842 Add support for epoch date with or without dashes between elements 2023-05-30 15:15:31 -06: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