Commit Graph

11931 Commits

Author SHA1 Message Date
Micah Acinapura
1d34da9255 updates to softwareintegration mosdule to merge with master; right now everything seems to be working except the LinearSizeAttribute 2025-05-16 10:46:10 -04:00
Micah Acinapura
f1808aea76 Merge branch 'master' into merge/2022softwareintegration 2025-05-14 10:09:29 -04:00
Andreas Engberg
ee56eb62e8 errorlogtopic send log messages as json object instead of a fixed string (#3639) 2025-05-14 12:28:46 +02:00
Emma Broman
e33ad09632 Update GUI hash
Move profile info to File menu, Add color to friction buttons, tighten up mission panel, and close windows menu when selecting a window
2025-05-14 12:03:12 +02:00
Anders Lundkvist
a05380779e Add time varying screen space image online class (#3646)
New screen space renderable class, ScreenSpaceTimeVaryingImageOnline, for displaying online time-dependent images from a JSON file.

This class loads a JSON file containing timestamped image URLs and displays the image that corresponds to the current simulation time. It only renders during the valid time interval defined by the dataset and updates automatically as time progresses.
2025-05-13 08:00:54 -04:00
Alexander Bock
22735c5aaf Add support for non-numerical values to the DashboardItemTimevaryingText (closes #3653) 2025-05-12 21:19:24 +02:00
hn-88
fd0d52afa9 Several fix for compiling on Mac. Specifying the output name of the web helper instead (#3651)
* Fix compile issue on Apple reg ALSA. since ALSA won't be available on Apple machines, we need to choose coreaudio instead.
* Changes for target without spaces. newer versions of CMake don't allow targets to have spaces, but we can specify TARGET_OUTPUT_NAME with spaces
2025-05-11 19:55:26 +02:00
hn-88
a88e1f46e5 more patches for building ARM64 (#3650)
A adding ARM64 PROJECT_ARCH options to enable building for Linux ARM64, Apple Silicon, etc
2025-05-09 10:21:33 +02:00
Alexander Bock
6a7e40f4ef Disable rendering of the MacOS menu bar (closes #163) 2025-05-08 09:51:40 +02:00
Alexander Bock
a8d674ff98 Throw correct exception to not crash when an invalid vector is baked (closes #3635) 2025-05-08 08:58:58 +02:00
hn-88
5588395b2a Correct cef builds index link. Add arm64 binary download support (#3647) 2025-05-08 07:38:16 +02:00
Alexander Bock
0bec798cb3 Compile fix for CEF fix 2025-05-07 14:58:32 +02:00
David Wagner
d8a9ee8771 Fix CEF deprecation notice and crash (#3643)
According to https://github.com/chromiumembedded/cef/issues/3685, using
the so-called "Alloy bootstrap" (which seems to be the default) is
deprecated. This causes a warning when starting OpenSpace.

In some setups (e.g. an AppImage build on Ubuntu 22.04), the warning is
followed by a fatal error and a crash:

   [0505/213642.653624:FATAL:path_service.cc(265)] Failed to get the path for 1001

Following the migration instructions from the aforementioned ticket
solve both the warning and the crash.
2025-05-07 11:21:36 +02:00
Emma Broman
1d56563412 Move profile name from top bar center to File menu (#3628)
* Add more profile meta info to profile topic, and gueard for nonexisting meta entry

* Add punctuation to end of profile descriptions

* Cleanup

* Apply suggestions from code review

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

* Update GUI hash

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-05-06 18:17:41 +02:00
Alexander Bock
586ed978e8 Update ghoul repository to update tinyprocesslibrary 2025-05-06 09:36:23 +02:00
Anders Lundkvist
517e44db5a Add time varying dashboard item text class (#3621)
New dashboard item class, DashboardItemTimeVaryingText, designed to display numeric values from a JSON time series, dynamically updating based on time. Also added examples for this.

Useful for displaying dynamic values like KP index or solar wind parameters in sync with time.
---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-05-05 15:31:02 -04:00
Alexander Bock
2c77efbde1 Compile fix for Linux arch (#3642) 2025-05-05 19:49:34 +02:00
Alexander Bock
bc715e1a74 Turn ResetTileProviders in RenderableGlobe into a button 2025-05-05 14:41:05 +02:00
Alexander Bock
9b77afa95d Correctly display geodetic distances for objects with a bounding and interactionsphere of 0 2025-05-05 14:28:08 +02:00
Alexander Bock
f704bc9bb8 Correctly update scale, rotation, and scale classes where multiple subtypes are involved 2025-05-01 18:00:36 +02:00
Alexander Bock
1e458ab2e8 Update profile versions and add mission panels to mission profiles (#3625)
3=
2025-05-01 18:00:11 +02:00
Alexander Bock
f7f1aa30ad Update cfitsio to fix GCC 15 compile issue (closes #3632) 2025-05-01 17:23:01 +02:00
Alexander Bock
43cd1fd831 Remove warnings 2025-05-01 10:29:37 +02:00
Alexander Bock
637ee4ec4f Cleanup of the Initializer class (#3631)
* Combine single- and multithreaded initializer to only one initializer
* Change the default to 0 to represent initializing the nodes on the main thread. Increase the default number of threads

---------

Co-authored-by: Malin E <malin.ejdbo@gmail.com>
2025-05-01 10:24:27 +02:00
Alexander Bock
59c1bdeb70 Update Websocketpp submodule and fix GCC compile issue (#3629) 2025-04-30 15:29:08 +02:00
Alexander Bock
214c3056fb Add Kuiper constellation of satellites 2025-04-30 08:47:47 +02:00
Alexander Bock
7692e83340 Add some analyzer suggestions 2025-04-30 08:47:34 +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
Alexander Bock
f024c25666 Add the ability to run as task file at startup. Add new model conversion task that requires an OpenGL context. Add ability to use FileVerifier and DirectoryVerifier on files that don't exist (#3612) 2025-04-29 09:50:29 +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
Arohdin
0e2a365e55 Moved onChange function for horizonstranslation 2025-04-24 17:30:41 +02:00
Alexander Bock
3ef4b003ab Launcher should indicate whether a profile is a standard profile or a user profile (#3611) 2025-04-24 09:39:20 +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
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
Alexander Bock
6257f96dca Adapt to the change in the codegen repository 2025-04-23 17:21:19 +02:00
Alexander Bock
66bf57eed6 Rename the codegen tool because it is a reserved CMake name (closes #3502) 2025-04-23 17:13:38 +02:00
Alexander Bock
b94e0966fe Fix up the OpenSpace unit test 2025-04-23 16:52:48 +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
a4ddce76ef Add submenu to the "New" buttons (#3601)
- Add submenu to the "New" buttons
 - Don't prompt to save an empty profile
 - Set pointing hand cursor
 - Style the new menu bar
 - Reduce the number of different grayscales in the launcher QSS
2025-04-22 21:12:04 +02:00
Alexander Bock
b02680a360 Add new TimeFrame that parses Spice kernels (#3600) 2025-04-22 20:47:17 +02:00
Alexander Bock
ad29099140 Fix the tab order of the launcher widget (closes #3616) 2025-04-22 20:38:55 +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
Arohdin
5a862c27d8 Updated property names for "maximum allowed distance"
`EnableMaximumAllowedDistance` and `EnableMinimumAllowedDistance`
2025-04-22 12:53:43 +02:00
Alexander Bock
a6dbbaf8e8 Add asset meta information for the Apollo assets (closes #3063) 2025-04-21 12:27:52 +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