Commit Graph

1812 Commits

Author SHA1 Message Date
Wilhelm Björkström c72a90be22 Merge branch 'master' into thesis/2025/black-hole 2025-05-05 09:09:20 +02:00
Alexander Bock 214c3056fb Add Kuiper constellation of satellites 2025-04-30 08:47:47 +02:00
Emma Broman a6354d14a6 Fix typo 2025-04-29 15:58:15 +02:00
Emma Broman d978476b93 Fix broken apollo assets 2025-04-29 15:56:05 +02:00
Ylva Selling b1e843cb48 Small UI rewrite fixes 2025-04-29 15:49:48 +02:00
Ylva Selling e3f5b83f74 Feature/2025 UI rewrite (#3608)
* Remove Escape keybind; move gui keybind to F2

* Clear up keybinds properly

* Workaround for CEF focus bug

* Add TODO comment

* Guard against null ptr dereferencing

* Remove shift tab

* add additional keyboard mapping from glfw to cef

* Change dashboards to make prototype for first user test

* add mission added/removed event, disptached when a mission has been loaded/unloaded

* send missions as map instaed of array, rename missionName -> name

* Set keybind for toggling overlays to shift+f2

* Remove property for showing the title in the gui skybrowser module

* Remove default setting for skybrowser

* First implementation of setting the ui panel visibility from the launcher

* Add profile topic

* Coding style adjustment

* Add markNodes to the profiletopic

* Change format of additional data of options in engine

* Address PR comments

* map escape key from glfw to cef correctly

* fix issue with "Enter" key not working on buttons and other input fields in CEF

* Add test for new profile version

* Send skybrowser data although we are outside the solar system

* Update webgui to new ui

* Add name to profile topic

* Add cef variable to javascript context for when browser is in cef

* Use camelcase for cef variable

* Rewrite shortcuts topic to ActionKeybind and pass data in a better way (#3590)

* Rewrite shortcuts topic to ActionKeybind and pass data in a better way

* Fix strange error with file structure

* Address PR comments

* Address PR comments

* Address PR comments

* Make numbers in asset file prettier

* Rename name to identifier for missions event

* Clean up browser code

* Update UI hash (to fix the actions panel not working)

And update outdated comment. The backend is not part of this

* Feature/notify meta data change (#3605)

* Add notifyMetaDataChangeListener to topic

* First round of clean up the data passing

* Convert from string to json for metadata

* Update additional data to json

* Use nlohmann::json for additional data

* Pass meta data in new structure to topics

* Remove meta data method

* Fix mistake in merge

* Update src/properties/property.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* remove TODO comment that will be fixed by this PR

* Address PR comments

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Emma Broman <emma.broman@liu.se>

* Address PR comment

* Remove function for setting the endpoint

* Update frontend hash

* Remove enabled property from exoplanets module

* Remove enabled property from skybrowser module

* Update default UI panels json

* Remove setting of enabled properties for skybrowser and exoplanets

* Update gui hash

* Auto format json

---------

Co-authored-by: Andreas Engberg <adde.engberg@gmail.com>
Co-authored-by: Emma Broman <emma.broman@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-29 15:43:56 +02:00
Emma Broman e0df6d6c2e Default keybinds asset cleanup (#3618)
* Split default keybinds asset file into one file for the actions and one for the keybinds

* Renaming the `default_actions.asset -> solarsystem_actions.asset` and then separating the `default_keybindings.asset` into `default_keybindings` and `default_actions`

* Move time action to correct place in file

* Update ESC -> Ctrl+Q for toggling a shutdown

Also add comment to the clearKey lines to make the connection easier to see

* Remove Alt+R keybinding

* Add asset meta for keybindings asset

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-04-25 14:12:26 +02:00
Alexander Bock b111b24e8a Add horizons-based NewHorizons asset. Move Voyager and Pioneer horizons files into separate folders. Create new interstellar horizons file that replaces previous voyager-pioneer one (closes #3273) 2025-04-24 09:09:42 +02:00
Emil Wallberg cecdf8fdf1 Merge branch 'master' into thesis/2025/black-hole 2025-04-23 20:30:19 +02:00
Alexander Bock c82a8a763f Reparent the milkyway galaxy to the root to make it not disappear when SPICE information runs out (closes #3232) 2025-04-23 17:38:32 +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
Alexander Bock b02680a360 Add new TimeFrame that parses Spice kernels (#3600) 2025-04-22 20:47:17 +02:00
Emma Broman ad324b1292 Remove "Up" keybind and retire property_helper and renderable_helper (#3604)
* Remove keybindings to the UP key

Removed the actions as well as they are probably not needed. We have the "now" button and it is rare that one want to interpolate to now

* Replace property_helper usage with function from core_scripts (only `invert` was used)

And retire the property_helper and renderable_helper assets. They are no longer needed!
2025-04-22 15:02:13 +02:00
Wilhelm Björkström 32409e96b3 Merge branch 'master' into thesis/2025/black-hole 2025-04-22 14:18:29 +02:00
Alexander Bock a6dbbaf8e8 Add asset meta information for the Apollo assets (closes #3063) 2025-04-21 12:27:52 +02:00
Brian Abbott 4982cd95e5 Alterations made to the GUI name and ordering of digital universie assets. (#3460)
---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-04-19 11:43:04 +02:00
Emma Broman d2821b48b7 Add missing tags for the Moon (closes #3406) 2025-04-15 10:49:06 +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
Emil Wallberg 7f43369d5d Merge branch 'master' into thesis/2025/black-hole 2025-04-10 09:45:47 +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
Alexander Bock 565bad9d4a Add new calibrator asset and profile (closes #2268) 2025-04-05 15:55:14 +02:00
Alexander Bock 80955e3ec1 Add ScreenSpaceRenderableRenderable class (#3575) 2025-04-01 12:45:35 +02:00
Emil Wallberg 033aee83b9 Fixed blackhole asset and profile spelling 2025-03-31 19:29:39 +02:00
Emil Wallberg 53b04f2fec Merge branch 'master' into thesis/2025/black-hole 2025-03-31 11:09:51 +02:00
Alexander Bock ce56e2d118 Add WMS layer for Titan HiSAR map (#3565) 2025-03-31 11:02:18 +02: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 db154393ec Merge branch 'master' into thesis/2025/black-hole 2025-03-21 14:21:35 +01:00
Alexander Bock 6b35545f69 Add reference information for the eclipse paths 2025-03-19 13:55:40 +01:00
Wilhelm Björkström 216831fa6f Merge branch 'master' into thesis/2025/black-hole 2025-03-19 08:20:40 +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
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 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 81f3a6b0a4 Merge branch 'master' into thesis/2025/black-hole 2025-03-12 09:22:11 +01:00
Wilhelm Björkström 4cccc132f6 Merge branch 'master' into thesis/2025/black-hole 2025-03-10 14:50:45 +01:00
Alexander Bock 7328a94fb1 TimeFrame specification and status (#3553)
* Makes Translation/Scale/Rotation all able to have a TimeFrame, not just the SpiceRotation.  Add read-only BoolProperty to the TimeFrame that indicates whether the current time is a in the timeframe

---------

Co-authored-by: Emma Broman <emma.broman@liu.se>
2025-03-10 13:53:32 +01:00
Alexander Bock b6d380d84c Add new class TimelineScale (#3536) 2025-03-06 13:06:19 +01:00
Wilhelm Björkström 386b92f29d Merge branch 'master' into thesis/2025/black-hole 2025-03-06 09:34:39 +01:00
Alexander Bock b9910befcf Fix spelling error in the HEEQ rotation asset 2025-03-03 17:34:47 +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 50d9e0ca93 Merge branch 'master' into thesis/2025/black-hole 2025-03-03 15:54:29 +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
Alexander Bock 1260ebf309 Don't throw warnings when disabling trails where none are currently loaded 2025-02-28 19:53:25 +01:00
Alexander Bock 3c811a488f Add a new DashboardItem to show the camera orientation (#3542) 2025-02-28 16:50:33 +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
Alexander Bock b813b9e80b Fix up the documentation for the Carrington to HEEQ rotation 2025-02-25 08:31:46 +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