Commit Graph

11919 Commits

Author SHA1 Message Date
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
Alexander Bock
6b35545f69 Add reference information for the eclipse paths 2025-03-19 13:55:40 +01:00
Alexander Bock
edd123197f Give the GeoJSON component in the RenderableGlobe a better name (closes #2883) 2025-03-19 13:31:13 +01:00
Wilhelm Björkström
216831fa6f Merge branch 'master' into thesis/2025/black-hole 2025-03-19 08:20:40 +01:00
Wilhelm Björkström
5568ceb3c7 Varible names changed to stay consistent
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-19 08:19:38 +01:00
Alexander Bock
1bb34bf1c7 Fix failing unit tests (closes #3513) 2025-03-18 14:23:54 +01:00
Alexander Bock
aa7a31eced GCC/Clang compile fix 2025-03-18 13:16:39 +01:00
Alexander Bock
7ca40c1575 Update SGCT repository 2025-03-18 12:04:43 +01:00
Alexander Bock
c07479222a Compile fix 2025-03-18 10:01:59 +01:00
Alexander Bock
2e191b6bd2 Second merge fix 2025-03-17 11:42:57 +01:00
Alexander Bock
ab84ca7ad6 Fix merge issue 2025-03-17 11:37:32 +01:00
Brian Abbott
b5e6a0f13b Changed the color of the constellation boundaries (#3458) 2025-03-14 11:26:12 +01:00
Alexander Bock
5008aa7cd7 Adding documentation and examples (#3541)
- Make the SourceType and DestinationType parameters required in the DashboardItemAngle
  - Shift the "UTC" string in the DashboardDate from the FormatString to the TimeFormat
  - Make the SourceType and DestinationType parameters for the DashboardItemDistance required
  - Add new "Deltatime" option to the DashboardItemFramerate.  Add examples for the DashboardItemFramerate
  - Fix issue where the inputstate would not update if no option was selected
  - Automatically disable simplification if a unit is requested in the asset for a DashboardItemSimulationIncrement or DashboardItemVelocity
2025-03-14 11:25:26 +01:00
Alexander Bock
fc9b2ab091 Increase the compilation speed (#3545)
- Remove toStringConversion function and move json_helper include out of numericalproperty.inl
  - Optimizing some header files
  - Remove duplicate Lua functions from properties. 
  - Move List,Option,Selection,String, and TriggerProperty into misc folder
  - Move lua_helper include out of inline file
  - Add lua_helper to the precompiled header
  - Declare property functions as final. No longer have OptionProperty derive from IntProperty
  - Remove Dictionary header from properties
2025-03-14 11:22:40 +01:00
ElonOlsson
305f0a7d65 fixed 2012 profile with the new kernels 2025-03-13 13:13:09 -04:00
Wilhelm Björkström
70cb3c2a57 Changed blackhole mass to represent Sagittarius A*
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-13 16:36:18 +01:00
Wilhelm Björkström
e59f39e502 Camera navigation in local and global space
CameraRotationDecomposition decomposeCameraRotationSurface made public in order to acces global and local camera rotations.

Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-13 13:31:54 +01:00
Wilhelm Björkström
21d63150fc Merge branch 'master' into thesis/2025/black-hole 2025-03-12 17:17:07 +01:00
Wilhelm Björkström
91fdc1ea7e Skybox path updated
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-12 17:10:53 +01:00
Wilhelm Björkström
4b4f2687cb Rotation and dummy skybox texture added
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-12 17:04:06 +01:00
Wilhelm Björkström
7a2a8a19cb Import for light years conversition
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-12 17:03:11 +01:00
Wilhelm Björkström
b3d6eff39f Exit program bugfix
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-12 16:51:40 +01:00
Wilhelm Björkström
714a1df3a8 Clamp lerp [0, 1]
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-12 16:48:00 +01:00
Wilhelm Björkström
495d8559fa Units in light years and interaction sphere
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-12 16:46:32 +01:00
Wilhelm Björkström
e0e40d0625 New init value function for dudphi
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-12 16:44:37 +01:00
Wilhelm Björkström
81f3a6b0a4 Merge branch 'master' into thesis/2025/black-hole 2025-03-12 09:22:11 +01:00
Wilhelm Björkström
825a2a6f6d Cleanup in C++ files
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-12 09:21:44 +01:00
Wilhelm Björkström
fb61984c85 Re render on r distance change
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-12 09:20:37 +01:00
Alexander Bock
0a77d5d002 Remove default_full profile as it has outlived its usefulness 2025-03-11 18:09:49 +01:00
Wilhelm Björkström
29b30dc62d Clean up in blackhole fragment shader
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-11 15:01:18 +01:00
Alexander Bock
0e815559d2 Improve the error message for FixedRotation (closes #2445) 2025-03-10 14:56:59 +01:00