Commit Graph

5620 Commits

Author SHA1 Message Date
Emma Broman 2b3226d18d FIx aspect ratio issue for RenderableVideoPlane (closes #2815) 2023-08-03 16:51:13 +02:00
Emma Broman c973cee5a1 Allow reading GeoJson files with null geometry (issue #2811)
Present a warning when a null geometry is encountered, as it will not be loaded as of now
2023-08-03 10:46:48 +02:00
Emma Broman 091697c5b7 Make geojson file extension parsing more flexible in lua function (closes #2797)
Now allows geojson files with caps in the extension, as well as files with the .json extension.

Note that .json files will not be handled by drag-n-drop  (we might want to use that extension for something else)
2023-08-03 09:46:55 +02:00
Alexander Bock 59d51a365f Prevent crash when no shadow caster is available 2023-07-31 13:39:35 +02:00
Alexander Bock 14082cd8d9 Add the ability to render an eclipse cone for the Earth and Moon system (#2816) 2023-07-18 11:58:17 +02:00
Alexander Bock 80ddf3e187 Prevent occasional crash in RenderableShadowCylinder when adding an asset at runtime 2023-07-12 12:42:25 +02:00
Alexander Bock bef10aca10 Fix layering of the Sun/Moon during an eclipse 2023-07-12 11:16:37 +02:00
Alexander Bock 61a69490fb Add the ability to specify the angular size of the Sun in the atmosphere 2023-07-12 10:49:50 +02:00
Alexander Bock 380f768e4c Allow negative values for KeplerTranslation values (#2784) 2023-07-06 10:03:44 +02:00
Ylva Selling 797a6fe208 Merge pull request #2782 from OpenSpace/issue/1867
Add border to screenspace renderables
2023-06-28 17:14:37 -04:00
Ylva Selling d317c287eb Update modules/base/shaders/screenspace_fs.glsl
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-06-28 17:14:14 -04:00
Ylva Selling 67b7330229 Allow transparency for movies. Closes #2792 2023-06-26 11:43:02 -04:00
Emma Broman c424783b50 Offset sample coordinate by 0.5 when estimating height values (#2769)
* Offset sample coordinate by 0.5 when estimating height values
2023-06-22 11:08:52 +02:00
Ylva Selling 8e8e315575 Merge branch 'master' into issue/1867 2023-06-15 15:45:32 -04:00
Ylva Selling 0b20affc5d Add border to screenspace renderables 2023-06-15 15:42:32 -04:00
Emma Broman 23b01aba12 Add a trigger property to delete a geojson component 2023-06-15 18:40:51 +02:00
Emma Broman bf38d9a415 provide some more info in GEOS errors on geojson load 2023-06-15 16:35:06 +02:00
Alexander Bock 5c8ff9eec5 Revert "Merge pull request #2721 from OpenSpace/issue/2682"
This reverts commit b4337e8188, reversing
changes made to 384f1e5530.
2023-06-15 00:52:39 +02:00
Micah Acinapura 8d7b423803 Add cache false to jpg layers to remove warnings (#2777)
* removing warnings from jpg layers; move scanner warning to debug

* update moon texture to v2

* Apply suggestions from code review

Co-authored-by: Alexander Bock <alexander.bock@liu.se>

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-06-14 18:45:09 -04:00
Ylva Selling fb85410850 Fix bug with dark screen space renderables (#2776) 2023-06-15 00:34:37 +02:00
Ylva Selling 045e4fcaa3 Add property to make it possible to set if the browser display copies… (#2774)
* Add property to make it possible to set if the browser display copies should animate while the target is moving

* Update modules/skybrowser/src/targetbrowserpair.cpp

Co-authored-by: Alexander Bock <alexander.bock@liu.se>

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-06-15 00:23:43 +02:00
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