Commit Graph

5649 Commits

Author SHA1 Message Date
Alexander Bock
475f3c63c2 Update TilePixelSizes to temporarily address #2472 2023-06-14 20:04:08 +02:00
Ylva Selling
641c747f94 Rename the property in the video player to reload instead of reset, and add some more explanation 2023-06-14 10:52:33 -04:00
Ylva Selling
0d3bd9ade3 Merge pull request #2760 from OpenSpace/issue/2759
Show stars during an eclipse
2023-06-13 16:54:27 -04:00
Ylva Selling
e89bef0203 Address comments on PR and make code more readable 2023-06-13 16:10:06 -04:00
Ylva Selling
69b00898d9 Merge pull request #2753 from OpenSpace/issue/2679
Don't call update function unless layer has been initialized
2023-06-13 10:53:17 -04:00
Alexander Bock
7ada216620 Change linear interpolation back to anisotropic interpolation (closes #2752) 2023-06-13 11:12:56 +02:00
Emma Broman
ee9c917acf Fix some faulty indentation and remove a bunch of extra lines 2023-06-13 09:29:44 +02: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
Emma Broman
76402e0525 Consistent spelling of "tessellation" 2023-06-12 14:11:45 +02:00
Emma Broman
e5e5a22786 Read performshading from geojson file 2023-06-12 11:07:43 +02:00
Adam Rohdin
71827c2f1e Fix for minor trail issue 2023-06-10 12:58:08 +02: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
Ylva Selling
ad58c695bf Set initialize to true after initialization 2023-06-09 10:31:57 -04: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
Ylva Selling
7a0472fa35 Don't call update function unless layer has been initialized 2023-06-08 14:28:29 -04: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