Commit Graph

11854 Commits

Author SHA1 Message Date
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
Alexander Bock
627b09296a Add unit tests for conversions between profile versions (closes #2701) 2025-03-31 11:32:40 +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
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
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
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
Alexander Bock
0a77d5d002 Remove default_full profile as it has outlived its usefulness 2025-03-11 18:09:49 +01:00
Alexander Bock
0e815559d2 Improve the error message for FixedRotation (closes #2445) 2025-03-10 14:56:59 +01:00
Alexander Bock
9b5c7b3080 Fix merge error 2025-03-10 14:31:04 +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
842b63f6ea Update SGCT repository 2025-03-08 15:47:05 +01:00
Alexander Bock
b6d380d84c Add new class TimelineScale (#3536) 2025-03-06 13:06:19 +01:00
Roxeena
737976a8d2 Enable depth for RenderableSphericalGrid 2025-03-06 11:44:37 +01:00
Alexander Bock
25f7a2f1e4 Fix assertion failures in the ImGUI UI code 2025-03-04 11:43:44 +01:00
Alexander Bock
501fab40e8 Make the "Clear Projections" in the ProjectionComponent actually a button 2025-03-04 09:42:55 +01:00
Alexander Bock
80dcc0db3a Revert C++ version back to 20 due to a bug in Clang17
https://github.com/llvm/llvm-project/issues/61415
2025-03-03 22:48:50 +01:00
Alexander Bock
b9910befcf Fix spelling error in the HEEQ rotation asset 2025-03-03 17:34:47 +01:00
Emma Broman
938ce57802 Update nautical mile abbreviation to an accepted one
"nm" is non-standard. It should apparently be either M, NM or nmi
2025-03-03 17:24:15 +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
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