Commit Graph

11845 Commits

Author SHA1 Message Date
Wilhelm Björkström 6eaa87c433 Raytracer slice in cuda, end and start angles as output
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-05 11:22:42 +01:00
Wilhelm Björkström f0224c0fe9 Merge branch 'master' into thesis/2025/black-hole 2025-03-03 16:03:23 +01:00
Wilhelm Björkström 5e5b1b69cb submodule update --remote --merge 2025-03-03 16:01:26 +01:00
Wilhelm Björkström 50d9e0ca93 Merge branch 'master' into thesis/2025/black-hole 2025-03-03 15:54:29 +01:00
Wilhelm Björkström 33a1fcba3b 2D Schwarszchild cuda rk4 blackhole
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-03-03 15:52:08 +01:00
Alexander Bock 7905f5b63f Add the ability to the backend to specify a background color and a text color for actions (#3551) 2025-03-03 13:17:57 +01:00
David Wagner cb66065445 Add a "time offset" option to the SpiceRotation and SpiceTranslation (#3544)
Lets SpiceTranslation and SpiceRotation compute the transformation with a given time offset compared to the simulation time (or fixed date if one is configured)
2025-03-03 10:17:20 +01:00
Michael Zingale 12de9d8697 Add a cast from json to std::string for the anchor in the Horizonsdialog(#3548)
This fixes compilation with GCC 14.2.1
2025-03-03 09:59:57 +01:00
Alexander Bock cc395ce340 Update C++ version to 23, add new warnings and the fix them 2025-03-01 15:49:38 +01:00
Alexander Bock cd8924ed22 Remove compiler warnings on Clang/GCC (#3546) 2025-02-28 23:29:38 +01:00
Alexander Bock 1260ebf309 Don't throw warnings when disabling trails where none are currently loaded 2025-02-28 19:53:25 +01:00
Malin E 80b1061b26 Update time conversion to mirror distance conversion code (#3507) 2025-02-28 18:25:05 +01:00
Alexander Bock 3c811a488f Add a new DashboardItem to show the camera orientation (#3542) 2025-02-28 16:50:33 +01:00
Wilhelm Björkström f327a39cd3 Applying viewMatrix to the blackhole camera plane
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-28 14:15:31 +01:00
Wilhelm Björkström 2d092e75d4 Moved spherical coordinates conversion to shader.
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-28 14:03:12 +01:00
Wilhelm Björkström 7f7f2e5854 Environment map from spherical coordinates.
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-28 14:03:12 +01:00
Wilhelm Björkström 02cc35e424 Blackhole.profile
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-28 14:03:12 +01:00
Wilhelm Björkström b2332f00f5 WIP: CMake build with CUDA
There is still a problem with the CMakeList that adds two unwanted tags "/MP /bigobj", have to be manually removed from the CUDA compile commands in MSVS as of right now

Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-28 14:03:12 +01:00
Emil Wallberg 9fe0fdeea5 WIP: CUDA build setup with CMake
The current CUDA build setup fails due to invalid flags in the nvcc command, leading to the error:

nvcc fatal: A single input file is required for a non-link phase when an output file is specified

The problematic flags are /MP and /bigobj, which cause nvcc to misinterpret the command structure. Removing these flags allows the compilation to succeed.

Further investigation is needed to determine how they can be removed form the CMake build system.
2025-02-28 14:03:12 +01:00
Emil Wallberg 7ec8e33678 Refractor of blackhole renderable 2025-02-28 14:03:12 +01:00
Emil Wallberg 12de1366ec Texture rendering
Rendering texture to the camera quad

Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-02-28 14:03:12 +01:00
Emil Wallberg 0a05bfff24 Camera Quad, Rendering screen
A quad in screen space that will be used to render the result of blackhole ray tracing

Co-Authored-By: Wilhelm Björkström <143391787+Grantallkotten@users.noreply.github.com>
2025-02-28 14:03:12 +01:00
Emil Wallberg 64338da974 Init of black hole module 2025-02-28 14:03:12 +01:00
Wilhelm Björkström e6a477c8d2 Applying viewMatrix to the blackhole camera plane
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-28 13:56:08 +01:00
Wilhelm Björkström 7ba7875ba7 Merge branch 'thesis/2025/black-hole' of https://github.com/OpenSpace/OpenSpace into thesis/2025/black-hole 2025-02-28 10:47:21 +01:00
Wilhelm Björkström 06b7a49699 Moved spherical coordinates conversion to shader.
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-28 10:41:22 +01:00
Wilhelm Björkström 3a0f024d55 Environment map from spherical coordinates.
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-28 10:40:32 +01:00
Wilhelm Björkström 65b89c2c8b Environment map from spherical coordinates.
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-27 17:32:22 +01:00
Alexander Bock 9f77ca1daa Use composable Lua types in Property definitions. Allow OptionProperty to receive either indices or descriptions (#3524) 2025-02-27 15:42:54 +01:00
Emma Broman eb3bd4395a Add Lua function openspace.navigation.setFocus(identifier, shouldRetarget, shouldResetVelocities) (#3534)
* Add support to set focus with reset-velocities setting from Lua

* Update Lua function name and add documentation

* Rename functions that actually update the anchor/aim nodes, to reduce confusion

* Apply suggestions from code review

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

* Apply suggestions from code review

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2025-02-27 13:20:22 +01:00
Alexander Bock 615773d32e Correctly set the minimum and maximum values for the enabled/disabled colors in the RenderEngine 2025-02-26 14:38:02 +01:00
Alexander Bock d861c321ba Add nautical mile to the distance units 2025-02-26 13:35:26 +01:00
Alexander Bock fed3245a79 Improve the error message when providing an illformed DashboardItem 2025-02-25 09:01:33 +01:00
Alexander Bock b813b9e80b Fix up the documentation for the Carrington to HEEQ rotation 2025-02-25 08:31:46 +01:00
Alexander Bock b13d9c74d2 Slow down the speedup of the camera rotation when pressing the Z key as it was too fast to navigate 2025-02-25 08:31:30 +01:00
Alexander Bock 61ed1f4c9b Launcher improvements (#3523)
- Adding support for subfolders in configurations and profiles
  - Disable the edit button if profile does not exist
  - Disable the Start button if the profile or window configuration does not exist
  - Change the layout of the Window Configuration editor
    - Explicitly specify which windows should have Overlay rendering and 3D rendering
    - Add keyboard shortcuts for adding and removing windows
  - Use a normal Save dialog for the profile editor instead of the renaming + Duplicate button
2025-02-24 16:19:42 +01:00
Wilhelm Björkström c775ec4eb7 Blackhole.profile
Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-24 13:18:30 +01:00
Wilhelm Björkström d77df77ba7 WIP: CMake build with CUDA
There is still a problem with the CMakeList that adds two unwanted tags "/MP /bigobj", have to be manually removed from the CUDA compile commands in MSVS as of right now

Co-Authored-By: Emil Wallberg <49481622+EmilWallberg@users.noreply.github.com>
2025-02-24 13:18:09 +01:00
Ylva Selling 4d7e5c2cb5 Add error messages when documentations don't have identifiers and don't add them to the docs 2025-02-24 11:23:53 +01:00
Ylva Selling 3c3efd9598 Documentation fix broken codegen links 2025-02-24 11:23:36 +01:00
Ylva Selling e52eb5a7e1 Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2025-02-24 09:40:18 +01:00
Alexander Bock 5152a7a6e0 General code spring cleaning (#3525) 2025-02-22 15:28:14 +01:00
Ylva Selling 4bf8124461 Add check for 7-zip to deploy script 2025-02-20 17:11:46 +01:00
Emil Wallberg 09397189c6 WIP: CUDA build setup with CMake
The current CUDA build setup fails due to invalid flags in the nvcc command, leading to the error:

nvcc fatal: A single input file is required for a non-link phase when an output file is specified

The problematic flags are /MP and /bigobj, which cause nvcc to misinterpret the command structure. Removing these flags allows the compilation to succeed.

Further investigation is needed to determine how they can be removed form the CMake build system.
2025-02-20 15:08:04 +01:00
Alexander Bock de57307537 Remove the Indian anti-satellite debris asset as the last of its known debris has reentered the atmosphere (closes #3529) 2025-02-19 15:07:27 +01:00
Alexander Bock e0bc8289d9 Linux compile fix 2025-02-19 12:43:47 +01:00
Alexander Bock 8cb3ce8b94 Add the ability to limit-rate the dashboard updating (#3527)
Co-authored-by: Emma Broman <emma.broman@liu.se>
2025-02-18 16:49:47 +01:00
Andreas Engberg a9beb476af added optional parameter to overwrite session recording file 2025-02-18 12:01:13 +01:00
Emil Wallberg a10e77f255 Refractor of blackhole renderable 2025-02-18 10:39:14 +01:00
Grantallkotten ebb47e6b73 Merge branch 'master' into thesis/2025/black-hole 2025-02-18 10:21:33 +01:00