Commit Graph

11949 Commits

Author SHA1 Message Date
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
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
Arohdin
d1ae420301 RenderableSphere assets: set blending and depth options 2025-04-08 14:21:49 +02:00
Ylva Selling
39a6d7ed5d Fix out of bounds crash and remove duplicate notifyChangeListeners (#3589) 2025-04-07 09:43:01 +02:00
Emma Broman
0d45e5fc8e Add documentation for ColorMappingComponent (#3581)
* Add documentation for `ColorMappingComponent`

* Apply suggestions from code review

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

* Adjust text for line width

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-04-07 09:37:21 +02:00
Alexander Bock
565bad9d4a Add new calibrator asset and profile (closes #2268) 2025-04-05 15:55:14 +02:00
Emma Broman
c16968e6fb Update SGN Focusable property identifier to match the one in codecen parameters
So we can set it from an asset
2025-04-04 15:57:40 +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
dc6edcc96d Merge branch 'master' into thesis/2025/black-hole 2025-03-31 19:33:49 +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
033aee83b9 Fixed blackhole asset and profile spelling 2025-03-31 19:29:39 +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
40ed0df746 Merge branch 'thesis/2025/black-hole' of github.com:OpenSpace/OpenSpace into thesis/2025/black-hole 2025-03-31 13:18:03 +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
Alexander Bock
627b09296a Add unit tests for conversions between profile versions (closes #2701) 2025-03-31 11:32:40 +02:00
Emil Wallberg
53b04f2fec Merge branch 'master' into thesis/2025/black-hole 2025-03-31 11:09:51 +02:00
Alexander Bock
9f7d6e9044 Add tilt and window blitting options to the Launcher (#3568) 2025-03-31 11:02:44 +02:00
Alexander Bock
ce56e2d118 Add WMS layer for Titan HiSAR map (#3565) 2025-03-31 11:02:18 +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
Wilhelm Björkström
304304e6bc Star colours, and translation
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-25 14:28:31 +01:00
Wilhelm Björkström
b8a854eafa Cuda changed r_0 to be const
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-25 11:09:17 +01:00
Alexander Bock
e93ad7910f Rename propertyowner and gui to geographic overlays (#2883)
Breaking change
2025-03-24 17:12:47 +01:00
Alexander Bock
b1a8c82a1e Use central subdirectory function. Fix compile issue with Tracy 2025-03-24 15:10:34 +01:00
Alexander Bock
f3583224c2 Correctly store the last profile run even if it is in a subfolder (closes #3570) 2025-03-24 14:51:58 +01:00
Alexander Bock
9b3dd36dc5 Move the OpenSpaceFolder by default into the user folder (#3567)
Breaking change
2025-03-24 09:08:06 +01:00
Alexander Bock
31c24d3352 Turn the time selector in the Profile Editor into a tabbed window (#3562) 2025-03-24 09:03:01 +01:00
Alexander Bock
86dd037870 Window Configuration Generation (#3550)
* Use built-in toJSON converter instead of manually creating the string. Also removes the ability to create fisheye configuration files from the Lua script directly
2025-03-24 08:49:37 +01:00
David Wagner
9dcdf42df6 Add a 'reload' function to the AssetManager. Also make it vailable as a scripting API (#3543) 2025-03-22 14:49:52 +01:00
Wilhelm Björkström
db154393ec Merge branch 'master' into thesis/2025/black-hole 2025-03-21 14:21:35 +01:00
Wilhelm Björkström
5594b79ec8 Added KDTree stars to black hole render
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-21 14:20:16 +01:00
Wilhelm Björkström
4e35cc3725 Changed rendering camera to the one from RenderData.
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-21 14:18:58 +01:00
Alexander Bock
28d0a778d5 Add proper motion of stars (#3561) 2025-03-20 09:55:19 +01:00