Commit Graph

6038 Commits

Author SHA1 Message Date
Emil Wallberg 6241f6dbf9 Kerr disk tweaked interpolation 2025-04-30 17:50:54 +02:00
Emil Wallberg 908cb00ed8 WIP: Accreation disk texturing
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-04-30 17:38:10 +02:00
Emil Wallberg 732dbfd127 WIP: Kerr, accretion disk and delayed stationary high ress version
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-04-30 15:36:40 +02:00
Wilhelm Björkström 77910d80f1 Name change to separate Kerr and Schwarzschild in code
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-04-25 14:04:17 +02:00
Emil Wallberg 8116151d0c WIP: Fixed using wrong domain in shader
Warptable used angles 0 to 2pi in phi while the shader assumed -pi to pi
2025-04-24 21:05:46 +02:00
Emil Wallberg a108f01b75 Merge branch 'thesis/2025/black-hole' of github.com:OpenSpace/OpenSpace into thesis/2025/black-hole 2025-04-24 12:49:37 +02:00
Emil Wallberg fc74833d6b WIP: Kerr, interpolation still need a lot of work
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-04-24 12:48:42 +02:00
Wilhelm Björkström 1c54e980a4 Cleanup in non-rotating BH shader
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-04-24 08:23:13 +02:00
Emil Wallberg cecdf8fdf1 Merge branch 'master' into thesis/2025/black-hole 2025-04-23 20:30:19 +02:00
Emil Wallberg 472a3abb5d WIP: Kerr
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-04-23 20:28:33 +02:00
Anders Lundkvist ad786f7d5c Add RenderableSwitch class (#3597) 2025-04-23 16:44:24 +02: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
Emil Wallberg c331ec40a1 Preparations for Kerr
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-04-23 13:18:08 +02:00
Emil Wallberg 21ced94b35 Cuda fix up removed unnessary parameter 2025-04-23 12:26:06 +02:00
Alexander Bock b02680a360 Add new TimeFrame that parses Spice kernels (#3600) 2025-04-22 20:47:17 +02:00
Wilhelm Björkström 32409e96b3 Merge branch 'master' into thesis/2025/black-hole 2025-04-22 14:18:29 +02:00
Wilhelm Björkström 37e541ffd3 Fixed color issue of in texture in frag
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-04-22 14:16:19 +02:00
Wilhelm Björkström 38c56f85c1 Fixed spelling of Schwarzschild and cleanup
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-04-22 14:06:37 +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
Alexander Bock bd448a1dd6 Fix the text alignment in the DashboardItemMission (closes #3540) 2025-04-20 20:22:07 +02:00
Emma Broman 93ef632663 Fix faulty identifier in exoplanet system creation script
And clarify that some tags are used in the UI => dangerous to change
2025-04-17 10:02:42 +02:00
Alexander Bock 125f54aa0a Update nlohmann repository (#3609)
* Remove old non-submodule version of nlohmann in favor of submodule
* Update nlohmann from 3.9.1 to 3.12.0
- Already disable implicit conversions in preparation for next major version
2025-04-16 14:13:20 +02:00
Alexander Bock b554187d76 Improve performance of setPropertyValue function (#3579)
* Cache full property URIs
  * Multithreaded handling

---------

Co-authored-by: Emma Broman <emma.broman@liu.se>
2025-04-15 17:43:57 +02:00
Emma Broman b5dbee2164 Fix exoplanet system 1 AU ring no longer being a ring, but a grid
Default value for gridsegments changed in #3506
2025-04-15 12:59:48 +02:00
Alexander Bock 17b182cda3 Add new Kepler data reader for the IAU's Minor Planet Center database files (#3591) 2025-04-14 19:50:05 +02:00
Alexander Bock af20b97dc7 Add ability to configure horizontal field of view per window instead (#3584) 2025-04-14 19:47:54 +02:00
Ylva Selling 17279d2b4a Add handling for apostrophe code (#3594) 2025-04-11 13:40:30 +02:00
Emil Wallberg 7f43369d5d Merge branch 'master' into thesis/2025/black-hole 2025-04-10 09:45:47 +02:00
Emil Wallberg 0b9995cdb0 Perfect hash loopup in shader 2025-04-09 13:16:03 +02:00
Emil Wallberg d583e5ad44 Corrected scale of blackhole should now be in correct metrics 2025-04-09 11:51:26 +02:00
Emma Broman d47e7f2074 Add type documentation for the different light sources (#3582)
* Add type documentation for the different light sources

* Address code review comments
2025-04-04 10:02:08 +02:00
Alexander Bock 6fa3f76c48 Add a new panel to the Launcher to control which WebUI button appears on the bottom bar (#3569)
- Add markNodes to the profiletopic

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2025-04-03 18:09:35 +02:00
Emil Wallberg 8ab9483071 Refactor made shader program ptr into unique_ptr 2025-04-02 16:40:13 +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
Emil Wallberg bab025f106 Fix scaling of star translation in kd trees
Applied Parsec scale to the localWorldCenter
2025-04-01 13:41:14 +02:00
Alexander Bock 80955e3ec1 Add ScreenSpaceRenderableRenderable class (#3575) 2025-04-01 12:45:35 +02:00
Alexander Bock 070d1180e5 Fix issue with scnlib update 2025-04-01 10:13:47 +02:00
Alexander Bock bf2fee7d71 Submodule updates (#3586)
Update submodules and also provide compatibility with CMake 4.0.

  - assimp: `v5.4.1` -> `v5.4.3`
  - catch: `v3.5.3` -> `3.8.0`
  - date: `master` -> `v3.0.3`
  - freetype2: `v2.10.4` -> `v2.13.3`. Also change to freetypes original Git server
  - glbindings: `v3.3.0` -> `v3.4.0`
  - glm: `master` -> `v1.0.2`
  - scnlib: `v4.0.1` -> `v2.0.2`
  - soloud: `master` -> `master`
  - tinyxml: `master` -> `v11.0.0`
  - tracy: `v0.10.1` -> `v0.11.0`
2025-03-31 22:30:31 +02:00
Emil Wallberg be3a301dc0 Blackhole as background decupled blackhole from anchor.
Fix so that the blackhole can be used as a background to other 3D Objects and there for had to make it so that the blackhole rendering is independet of the camera anchor node
2025-03-31 19:31:43 +02:00
Emil Wallberg d3d2a6069e Fixed zoom distortion bugg
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-03-31 15:58:25 +02:00
Emil Wallberg 99d2f08817 Parallax effect using multilayerd star maps
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-03-31 13:17:52 +02:00
Emil Wallberg 4a46f79ae1 Optimizations for Blackhole fragment shader performance.
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-03-27 16:48:57 +01:00
Emil Wallberg 0cb677d69c Better bleed between stars from KD tee
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-03-27 15:02:33 +01:00
Emil Wallberg 724aecb3b0 KDTree refactor and some star render tweaks
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-03-26 16:54:29 +01:00
Emil Wallberg e4ff077b52 Viewport screen size assert message
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-03-26 11:48:44 +01:00
Emil Wallberg a9b197a5e0 Resolution dynamically updates, and warning fixes
Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-03-26 11:40:25 +01:00
Wilhelm Björkström edddb2909f Star brightness adjustment based on dist to the viewer
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-26 10:32:59 +01:00
Wilhelm Björkström 66827a06d2 Tweek of the star size for less clutter
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-26 09:13:59 +01:00
Wilhelm Björkström 802c4db98e Fixed blackhole readable to work with fisheye camera
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-25 16:49:45 +01:00
Wilhelm Björkström 88dfbf134d Merge branch 'master' into thesis/2025/black-hole 2025-03-25 14:30:20 +01:00