Commit Graph

6062 Commits

Author SHA1 Message Date
Alexander Bock 32cff07bf8 New ScreenSpaceText objects (#3794)
* First version of new screenspacetext and screenspacetextdate
* Code restructuring and adding new types
 - ScreenSpaceFramebuffer -> ScreenSpaceRenderableFramebuffer
 - ScreenSpaceText -> ScreenSpaceRenderableText
 - Add new user-facing ScreenSpaceText
 - Add examples
* Add documentation for new ScreenSpace objects
* Add visual tests to new screenspace objects
* Address PR comments
2025-09-26 15:35:05 +02:00
benpm ccadf2a53b fixes #3711 2025-09-25 15:18:43 -06:00
Alexander Bock ab790ff6f8 Remove offset for max chunk level, fixing disappearing height tiles on Earth (#3791) 2025-09-25 13:13:12 +02:00
Alexander Bock 630823e6be Remove unused default variables in the DashboardTextItem 2025-09-11 23:22:12 +02:00
Alexander Bock 4fe270d055 Force OpenSpace_Helper to the dedicated graphics card. Fixes a crash on laptops 2025-09-09 19:51:08 +02:00
benpm 47fe9d4d7d fix error on disable "perform shading" property on saturn 2025-09-09 01:44:23 -06:00
Benjamin Mastripolito fb3b2c074b Merge pull request #3784 from OpenSpace/issue/3776-ring-shadows-fisheye
Fixed incorrect rendering of planet-onto-ring shadows in fisheye projection mode
2025-09-08 11:52:26 -06:00
benpm e182513447 removing unused shader uniforms and shadow matrix calculations 2025-09-08 11:51:02 -06:00
Arohdin 9494f2d1a1 RenderableOrbitalKepler trail fix 2025-09-08 14:51:41 +02:00
Alexander Bock ff72e47f7b Move to use postfix increment only 2025-09-07 16:56:59 +02:00
Alexander Bock 8f12fa045f Remove explicit GL reporting from RenderableGaiaStars 2025-09-07 15:17:36 +02:00
Alexander Bock 685af84339 Adjust properties to new capitalization rules 2025-09-07 15:13:45 +02:00
Alexander Bock ca8508087f Correctly download ARM-version of CEF when on a Windows ARM architecture 2025-08-31 16:26:20 +02:00
Anders Lundkvist 527ef205c9 Fix todays sun fieldline color inconsistency during time changes (#3786)
* Fix fieldline color inconsistency during time changes
2025-08-28 09:53:18 -04:00
Alexander Bock eaa9e6fb39 Fix some coding style questions 2025-08-27 13:19:59 +02:00
benpm 792d65c941 shadow of globe onto rings now uses simple ray/ellipsoid intersection
fixes #3776
2025-08-25 12:23:25 -06:00
benpm 7604b3dae9 fixes #3779 by properly disabling ring shadows when rings are disabled 2025-08-19 13:24:53 -06:00
Alexander Bock f341310419 Fix issue with the TileProviderByLevel example when no name is specified 2025-08-15 17:50:47 +02:00
Adam Rohdin 559190d7d7 Some rework for renderableTrailTrajectory (#3742)
Removed feature sweepChunk.
The feature was implemented for version 0.19.0 as an iterative way to calculate renderableTrailTrajectory.
However, due to the function not being active by default, and due multithreading being on the horizon for SPICE2, this code is now removed.

- Removed SweepChunk feature
- Added toggle for Accurate Trail Points (in asset: AccurateTrail)
- Changed min number of accurate points from 0 to 2
- Removed max vertices ceiling
- Fixed issue where number of vertices were not calculated properly
- Fixed point size rendering issue for RenderableTrail
- Changed start/end time for voyager 1 & 2
- Updated description for SampleInterval and TimeStampSubsampleFactor to be more clear
- Moved full sweep pass from update function to new updateBuffer function
- Fixed trail rendering issue when time is exact same as start time of a trail
2025-08-15 09:59:08 +02:00
benpm 204a929fe7 Set ignore uniform location warning for global and local renderers in RenderableGlobe
Fixes #3770
2025-08-13 15:12:50 -06:00
Alexander Bock 19e9e2c1fb Adapt to new compile option style and fix warnings (#3773) 2025-08-12 14:19:45 +02:00
Alexander Bock 389842f76c Adjust coding style 2025-08-05 20:43:44 +02:00
hn-88 9965143f0a Adding arm64 architecture support for NodeJS (#3765) 2025-08-05 17:15:16 +02:00
Alexander Bock 2892b60d62 More user-friendly name for the default properties in a GeoJSON 2025-08-05 14:36:29 +02:00
benpm a0c1fd7c7c fixed local renderer broken due to missing uniform (oops) 2025-07-29 15:02:16 -06:00
Alexander Bock 02f2814834 Fix compile issue for MinVR (closes #2813) 2025-07-28 14:18:07 +02:00
Alexander Bock 231cd48ac2 No longer warn when trying to MRF cache local image files 2025-07-28 11:53:04 +02:00
Alexander Bock 6aec8e9338 Remove explicit name for versions 2025-07-25 09:19:52 +02:00
Benjamin Mastripolito 474e7a7ae8 Merge pull request #3749 from OpenSpace/feature/hd-ring-shadow
Higher quality rings and ring shadows, resolves #3656
2025-07-24 14:42:25 -06:00
Benjamin Mastripolito ddb275fc2b Update modules/globebrowsing/shaders/advanced_rings_fs.glsl
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-07-24 14:41:15 -06:00
Alexander Bock ebc6fbef11 Support relative paths in GeoJSON SpriteTexture (#3761) 2025-07-23 15:18:32 +02:00
Alexander Bock 703b109ebe Remove RenderPass from RingsComponent as it is no longer needed 2025-07-23 14:51:58 +02:00
Emma Broman 9f98259a63 Fix min and max values of RenderableModel transform matrix (closes #3746) 2025-07-21 16:51:42 +02:00
benpm 4a143df2f4 fixed OpenGL error on first draw of globe 2025-07-17 17:03:03 -06:00
benpm eb36590d98 fixed openGL api errors and warnings, removed unused shadow mapping code from globe renderer 2025-07-17 16:53:54 -06:00
benpm e623e38638 applying more suggestions from code review 2025-07-17 12:33:40 -06:00
Arohdin 0bcfc7790f Fade slider fix for RenderableGalaxy 2025-07-17 14:39:39 +02:00
Alexander Bock ac37762af8 Fix compile issue with GCC15 (closes #3732) 2025-07-16 13:30:51 +02:00
Andreas Engberg 4dffe7c7b2 Add camera view direction to camera topic (#3741)
* Add camera view direction to camera topic
* Add subsolar coordinates to topic

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2025-07-16 13:21:12 +02:00
Benjamin Mastripolito c7bbca9a81 Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-07-14 20:10:54 -06:00
benpm b8bd4928c3 Merge remote-tracking branch 'origin/master' into feature/hd-ring-shadow 2025-07-11 03:23:38 -06:00
benpm f653706480 fixed the ring transparency being used incorrectly, minor visual improvements 2025-07-11 03:21:21 -06:00
benpm a7f67d10cc minor cleanup to ring shadow shader setup code 2025-07-11 01:55:52 -06:00
benpm 5416b45bd0 improving shadow visual quality by applying additional factor based on angle to light source
see issue #3656
2025-07-10 18:02:51 -06:00
benpm 8cfce2a0f1 shadow looking pretty good! code needs cleanup and stuff tho 2025-07-09 16:32:14 -06:00
benpm ca8bdf86a6 WIP: getting a more or less correct ring texture coordinate! 2025-07-09 15:01:21 -06:00
Adam Rohdin 4306387f69 Faster rendering for renderableOrbitalKepler (#3739)
* Faster rendering for renderableOrbitalKepler
- Computes relevant vertices on CPU rather than filtering all vertices on the GPU
- Removes geometry shader for trails rendering
- Changed GUI name of RenderingMode "Points+Trails" to "Points and Trails"
2025-07-09 11:33:27 +02:00
benpm 92d42925b4 wip 2025-07-08 13:27:10 -06:00
Alexander Bock cceb5f25dd Remove enabled property from the video module 2025-07-08 17:44:26 +02:00
Alexander Bock 1b9f6b8f28 Disable caching for exoplanet textures that are based on images to prevent warnings when enabling MRF caching 2025-07-08 17:39:54 +02:00