Commit Graph

11770 Commits

Author SHA1 Message Date
Alexander Bock
e57a67aa5d Enable the drag and drop of a folder, which will add all files contained within 2025-02-04 13:29:13 +01:00
Alexander Bock
ec5bfd48b4 Only render the Lua console on top of the module 2D calls, not the log and overlay 2025-02-04 13:28:49 +01:00
Alexander Bock
7079845cf2 Turn missing Horizons files from a warning to an error. Improve error message quality of OrVerifiers 2025-02-04 03:00:25 +01:00
Alexander Bock
efb7599b3d Reenable checking loading screen entries against the logo without the endless loop 2025-02-04 01:24:09 +01:00
Alexander Bock
ffbcbc413b Render overlays on top of module draw2D calls 2025-02-04 00:27:44 +01:00
Alexander Bock
e51b466bd9 Correctly parse setPropertyValue from ScriptLog in PropertiesDialog to ignore all parameters after the value 2025-02-04 00:20:07 +01:00
Alexander Bock
8a567245e5 Use the correct period lengths for Neptune and Uranus
Can do that now as we have an increased-range default SPICE kernel
2025-02-03 19:50:29 +01:00
Alexander Bock
098a41b8bf Show node ID in frame information overlay 2025-02-03 19:17:27 +01:00
Alexander Bock
0c9aa9c666 Fix previously introduced bug and update SGCT repository 2025-02-03 19:05:22 +01:00
Alexander Bock
0e89cc3d60 Print configuration syntax error into the log and not only the console 2025-02-02 20:49:06 +01:00
Alexander Bock
7df0a0e927 Handle gif files as videos instead of images 2025-02-02 11:51:31 +01:00
David Wagner
8a5d57a441 cmake: honor OPENSPACE_HAVE_TESTS at more places (#3503)
- Don't build the codegen unit tests if the OpenSpace unit tests are
  disabled;
- Dropagate the value of this option to Ghoul's corresponding option,
  unless Ghoul's option value has been forced;
2025-01-31 08:27:38 +01:00
Emma Broman
3d3580fa65 Polish and docs for RenderableDistanceLabel and docs for RenderableNodeLine (#3485)
* Update add add documentation for `RenderableDistanceLabel`

* Move distancelabel to `base` module and remove now empty `vislab` module

* Add examples for `RenderableNodeLine` and `RenderableDistanceLabel`

* Fix faultily formatted documentation ID for `RenderableNodeLine`

* Make `RenderableDistanceLabel` unit use units from distanceconversion file

And simplify how the different names for a unit are specified

* Use new distanceUnitList() function for other classes that uses the units

* Change default unit to correct option according to documentation

* Make the text property readonly for `RenderableDistanceLabel`

* Add property to specify the precision of the number

distance label precision to docs

* Add examples with different units and descriptors

* Add docs description to `RenderableNodeLine`

* Update name in one of the examples

* Remove redundant switch cases

* Apply suggestions from code review

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

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2025-01-29 16:11:47 +01:00
Roxeena
ad0e5b92dc Clean up _lua.inl include style 2025-01-28 10:45:57 +01:00
Emma Broman
d4c4c92a5e Docs for RenderableConstellationLines and RenderableConstellationBounds (#3481)
* Update some of the base documentation to make more sense on the docs page

* Add description for `RenderableConstellationBounds`

* Add description for `RenderableConstellationLines` and names file and labels details

* Remove redundant info from description

* Apply suggestions from code review

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Malin E <malin.ejdbo@gmail.com>

* Update constellation bound documentation based on review comments

* Update docs about labels for constellation lines as well

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Malin E <malin.ejdbo@gmail.com>
2025-01-20 15:58:37 +01:00
Emma Broman
7401f5145e Automatically reload texture for RenderableSphereImageLocal when file changes (#3500)
* Use `TextureComponent` for `RenderableSphereImageLocal`

Cleans up code and makes texture reload automatically if the file changes

* Move a faultily located include
2025-01-20 15:58:01 +01:00
Alexander Bock
ec717116f9 Don't update SceneGraph nodes unless they are fully initialiezed (closes #3498) 2025-01-20 11:56:10 +01:00
Alexander Bock
5771427bd9 Add the ability to specify longitude and latitude subdivisions in RenderableSphericalGrid (closes #3494) 2025-01-20 11:26:38 +01:00
Emma Broman
c4cf883ec9 Docs and examples for RenderableDisc (#3482)
* Add description and update GUI property values

* Add examples with a single color

* Remove old example file

* Rename ellipse example and remove width

* Apply suggestions from code review

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

* Address review comments

* Also update renerable description

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2025-01-17 14:16:01 +01:00
Emma Broman
0dbc331ebf Docs and examples for RenderableBoxGrid (#3479)
* Add boxgrid examples

* Add description about the box grid renderable for the docs page

* change phrasing in example assets slightly

* Apply suggestions from code review

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

* Remove labels support for `RenderableBoxGrid`

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2025-01-17 13:50:40 +01:00
Emma Broman
7e6128d620 Add a description for the Renderable base class (#3486) 2025-01-17 13:50:07 +01:00
Emma Broman
e643e8d653 Make debug plane a ScreenSpaceRenderable and add documentation (#3483)
* Add screenspace version of debug plane, and an example

* Remove the old renderable

* Apply suggestions from code review

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

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-01-17 13:47:37 +01:00
Emma Broman
16aa150f10 Polish RenderableCartesianAxes - documentation, examples, and make fading work correctly (#3478)
* Make `RenderableCartesianAxes` fade and fix opacity setting

* Update existing documentation of cartesian axes

* Add example with custom colros and parent node

* Apply suggestions from code review

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

* Include earth asset instead of using string identifer

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-01-17 13:18:45 +01:00
Alexander Bock
5134946fbf Fix addGibsLayer script 2025-01-17 13:07:04 +01:00
Arohdin
77ae98ac59 Horizons generator - use correct id for Center Body 2025-01-16 15:30:31 +01:00
Arohdin
066f2d71e8 Fixed minor spelling mistake 2025-01-16 15:21:03 +01:00
Malin E
3c61857127 Fix blending and depth issue with RenderableSpheres
* There is now a bool setting to turn off depth writing and testing for
  RenderableSpheres (useful for background images).

* There is also an Option setting to choose blending mode, similar to
  the setting that RenderablModel has.

* NOTE: The default behaviour for RenderableSphere have now changed.
  Before it was always additive blending that was used but now it is
  default blending that is used by default. If additive blending is
  wanted, then use the option setting and select it instead.
2025-01-15 15:02:40 +01:00
Alexander Bock
c01ce9b09d Add the ability to schedule scripts based on wallclock time (closes #1773) 2025-01-15 12:05:12 +01:00
Alexander Bock
d2c66d4782 Add documentation of spacecraftinstrument module types (closes #1847) 2025-01-15 11:53:01 +01:00
Alexander Bock
bef6a79b53 Update Ghoul repository 2025-01-15 11:33:23 +01:00
Alexander Bock
179f556bac Overwrite locale to C (#3474) 2025-01-15 11:23:51 +01:00
Alexander Bock
b16327f90a Use existing codegen::private (closes #3433) 2025-01-15 11:19:00 +01:00
Alexander Bock
6a1abf25d6 Timeout correctly when rendering the LoadingScreen with a very small window resolution (closes #3473) 2025-01-14 16:55:33 +01:00
Alexander Bock
3187425089 Add support for custom TriggerProperty (closes #3487) 2025-01-14 16:51:21 +01:00
Alexander Bock
0bc2c4a9ee Coding style fixes 2025-01-14 16:34:42 +01:00
Alexander Bock
0979c486d9 Update SGCT repository 2025-01-14 16:24:15 +01:00
Alexander Bock
820e90eab4 Happy new year 2025-01-14 16:21:08 +01:00
Alexander Bock
f0342e43e8 Adapting to SGCT changes (#3488) 2025-01-14 14:17:50 +01:00
Emma Broman
d281b6c33b Fix error in deinitilialize of distance-to-earth example asset 2025-01-09 11:44:33 +01:00
Adam Rohdin
e68b1d4b4a Fix image links in README.md 2025-01-07 09:24:16 +01:00
ElonOlsson
aad10ec154 Added support for coordinate systems: old GSM as Static, real GSM, SM, GSE and time dependent GSM and SM (#3392)
* added old GSM as Static, real GSM, SM, GSE and time dependent GSM and SM

* small formating

* i dont rember changing this, so taking it back

* added support for time dependent GSM and SM to work to year 2099

* added newer kernel

* added HEEQ and HEE

* better naming and descriptions

* rename lowercase

* naming rewrite

* fix after name change

* added earth centric tf files. sun centric left to do and .bpc files and .bsp files

* including kernels with asset.resource now. Left is weather to move or change examples/debugcoordinateaxes

* minor naming cleanup

* cleanup. remove comment

* getting rid of debugcoordinateaxes example asset
2024-12-10 18:05:40 -05:00
Emma Broman
2856085724 Use a pointing hand GLFW cursor for the web grab cursor (#3465)
* Use a pointing hand GLFW cursor for the web grab cursor

* Add TODO comment about custom cursor
2024-12-09 17:08:06 +01:00
Andreas Engberg
27e46d8cf5 add openspace lua table to lua transforms 2024-12-04 13:41:28 +01:00
Emma Broman
98c0787266 Make openspace.fadeOut also disable the object at end of fade
Needed when we now start using this function in the UI
2024-12-03 08:26:26 +01:00
Alexander Bock
f1bfaadc35 Update SGCT submodule
- Add support for ScalableSDK
2024-11-25 13:00:26 +01:00
Brian Abbott
cd1a32a771 Change the tint of the SunGlare to be more yellow (#3459) 2024-11-22 12:30:45 +01:00
Ylva Selling
4bc33368f6 Make property uri validation work again 2024-11-15 16:56:55 +01:00
Ylva Selling
6ffaee0b45 Make uri validation work again 2024-11-15 16:39:32 +01:00
Andreas Engberg
84ad4cf373 Make sure we search the the actual file name and not entire path
Caused an issue where it would not "find" the metadata if there was any '.' in any part of the path e.g., `OpenSpace-0.20.1/..`
2024-11-07 10:16:18 +01:00
Alexander Bock
f4fe8bd38a Update SGCT repository
- Add the ability to prevent windows from partaking in screenshots
  - Fix issue when recomputing field-of-views for viewports that are rotated
2024-11-06 09:40:15 +01:00