Commit Graph

1603 Commits

Author SHA1 Message Date
Alexander Bock
28367dcfbe Correctly calculate the max chunk level when no overview is available (#3771) 2025-11-17 14:48:25 +01: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
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
Alexander Bock
ff72e47f7b Move to use postfix increment only 2025-09-07 16:56:59 +02:00
Alexander Bock
685af84339 Adjust properties to new capitalization rules 2025-09-07 15:13:45 +02: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
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
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
231cd48ac2 No longer warn when trying to MRF cache local image files 2025-07-28 11:53:04 +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
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
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
benpm
92d42925b4 wip 2025-07-08 13:27:10 -06:00
benpm
92fa66c7fe removed the isReady() call from globe ring tex bind 2025-07-04 09:19:22 -07:00
Alexander Bock
3be7628531 Disable uniform location errors for globes when they only have a single solid color (closes #3728) 2025-07-02 17:09:25 +02:00
benpm
7f563d5125 fixed shader ready check for globe rings component 2025-07-01 01:49:07 -06:00
benpm
fd5c126e15 first attempt. doesn't build :P 2025-06-24 19:33:51 -06:00
Alexander Bock
2b46271f59 Fix issue with parsing the color for a GeoJSON element 2025-05-22 16:37:56 +02:00
Benjamin Mastripolito
141fda231b Merge pull request #3634 from benpm/issue/3596-saturn-ring-shadow
Issue/3596 saturn ring shadow. fixes #3596
2025-05-20 15:17:47 -06:00
Benjamin Mastripolito
300e1089a4 Update modules/globebrowsing/shaders/rings_geom_fs.glsl
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2025-05-19 22:31:29 -06:00
Alexander Bock
b39a5f3d7b Remove deprecated Lua functions (#3664) 2025-05-19 17:59:58 +02:00
Alexander Bock
f16288f53f Relocated dashboard examples. Add missing documentation entries 2025-05-18 15:44:45 +02:00
Alexander Bock
26211c1815 Fix documentation issues 2025-05-18 15:23:32 +02:00
Alexander Bock
bc715e1a74 Turn ResetTileProviders in RenderableGlobe into a button 2025-05-05 14:41:05 +02:00
benpm
c8243d75c1 (#3596) fixed normals in rings_geom_fs.glsl 2025-05-01 11:10:16 -06:00
benpm
94dfb26ee0 (#3596) added discard if ring normal is near perpendicular with light direction 2025-04-28 15:01:07 -06:00
benpm
0aa1edcfde (#3596) added vertex normals to ring quad vertex attribs 2025-04-25 16:10:33 -06:00
Alexander Bock
6dc738e54e Move functions about globe locations from the GlobeBrowsingModule into the core (#3613)
* Make GlobeRotation and GlobeTranslation work for non-globes and move them to the base module
* Move ellipsoid and geodetic classes into the core
* Allow more things to take scene graph nodes instead of RenderableGlobes
* Move goToGeo and related Lua functions into the core
* Move more functions from the pathnavigation namespace into the navigation namespace

---------

Co-authored-by: Emma Broman <emma.broman@liu.se>
2025-04-23 16:15:17 +02:00
Alexander Bock
8a364c16e3 Fix layout issues with Dashboards (#3614)
- Correctly render multiline text passed to a DashboardItemText
  - Invert the property for the Dashboard location to no longer need a negative y-axis
  - Use the current lineheight instead of pointsize for the ScreenLog
  - Remove the unused size function from DashboardItems
2025-04-21 01:10:02 +02:00
Emma Broman
eb709b830c Small option property cleanup (#3577)
* Notify change listeners

I can't come up with a reason for why we would not want to do this

* Remove the Display Type for OptionProperty (only used in ImGui)

* Replace extra boolean with internal anonymous addOption function

* Tiny refactor

* removed dropdown on a couple of more places

* Update optionproperty.cpp

---------

Co-authored-by: ElonOlsson <olssonelon@gmail.com>
2025-04-02 09:28:11 +02:00
Alexander Bock
e93ad7910f Rename propertyowner and gui to geographic overlays (#2883)
Breaking change
2025-03-24 17:12:47 +01:00