Commit Graph

11558 Commits

Author SHA1 Message Date
Emma Broman
8a42657deb Feature/examples naming (#3305)
* Update name and path format of examples that follow the new structure
* Fix a broken (updated) property name in an example
* Make other examples' GUI paths more consistent
* Put them all in the Examples folder
2024-06-13 10:42:00 +02:00
Alexander Bock
7e62f9f4b0 Add the ability to specify the BlendMode from .info files (closes #3311) 2024-06-12 20:40:34 +02:00
Arohdin
c8606c6095 Fix jittering issues for point rendered satellites 2024-06-12 17:19:12 +02:00
Gene Payne
93da7f42ba Removing all 'SSSB' elements in GUI path of the solarsystem/sssb assets (#3322)
A manual update of assets in solarsystem/sssb: tesla_roadster.asset, swifttuttle.asset, itokawa.asset, c2019y4atlas.asset
2024-06-12 09:09:24 -06:00
Alexander Bock
866aad2187 Global pass over the coding style 2024-06-12 14:51:25 +02:00
Alexander Bock
46fea0a047 Correctly specify the size of the ESRI world imagery layer (closes #2968) 2024-06-12 14:39:00 +02:00
Alexander Bock
75d7f63e26 Make only the ISS orientation depend on the new orbit propagation (#3131) 2024-06-12 14:06:39 +02:00
Alexander Bock
f82dc0371b Add example to TimelineRotation. Also fix bug where a non-interpolating timelinerotation would disappear before the first keyframe (#3310)
* Add example to TimelineRotation. Also fix bug where a non-interpolating timelinerotation would disappear before the first keyframe

---------

Co-authored-by: Emma Broman <emma.broman@liu.se>
2024-06-11 22:16:16 +02:00
Alexander Bock
6a1a22b485 Improve documentation and add examples for the StaticRotation (#3309)
* Improve documentation and add examples for the StaticRotation

---------

Co-authored-by: Emma Broman <emma.broman@liu.se>
2024-06-11 22:06:33 +02:00
ElonOlsson
cf5d00346b Fix bug with flux nodes being all purple. Fixes #3247 2024-06-11 15:35:53 -04:00
Emma Broman
95b4deccca Fix the goToGeo call when the camera is set from a profile 2024-06-06 09:39:49 +02:00
Alexander Bock
5a88c4d56c Update the website hash and the version string 2024-06-04 20:42:18 +02:00
Adam Rohdin
945a9a5ca8 Optimization of point and trail rendering (#3287)
Better performance for `RenderableOrbitalKepler` when running `Trails`, `Points` or `Points+Trails`.
Trails optimized by culling non-visible line strips.
Points optimized by changing a lot of calculations from double to float.
2024-06-04 18:37:04 +02:00
Ylva Selling
1cae99ebfc Issue/2000 automatically update gui (#3289)
* Make it possible to query a propertyowner by uri with the getpropertytopic

* Remove automatic reloading of ui from drag and drop script

* Add function for uri for propertyowners

* Add uri to the to_json for the propertyowner

* Add comment for the propertyOwner function and update the comment for the property function to clearer distinguish between uris and identifiers

* Go back to the old events but with uris instead as their member

* Apply feedback from PR

* Address PR comments

---------

Co-authored-by: Ylva Selling <ylva.selling@liu.se>
2024-06-04 18:32:41 +02:00
Alexander Bock
1f30719470 Add new NOAA21 asset, add end time for VIIRS asset and make the NOAA20 the new default layer 2024-06-04 16:55:05 +02:00
Alexander Bock
51359f93ba Fix erroneous change in the layer_support 2024-06-04 16:52:10 +02:00
Alexander Bock
32867630cc Add an explicit layer order to globebrowsing layers rather than relying on insertion order (#3281)
* Add z-index feature for layers
* Give all default layers a z-index
* The given z-index makes the layers have the same order as in 0.19.0
* Giving z-indices to all non-overlay layers
* Remove the z-index adjustment for manual layers
* Added zIndex parsing for .info files (#3298)
* No need to explicitly check the zIndex against an empty string.  Make similar check for identifier work correctly

---------

Co-authored-by: Malin E <malin.ejdbo@gmail.com>
Co-authored-by: Micah Acinapura <micahnyc@gmail.com>
2024-06-04 16:29:33 +02:00
Alexander Bock
6edea5cae7 Apply the hue, value, saturation, and gamma values from the renderengine to screenspace renderables. Change the screenspace's own gamma value into an offset (#3293)
* Apply the hue, value, saturation, and gamma values from the renderengine to screenspace renderables.  Change the screenspace's own gamma value into an offset

* Make it clearer that the gamma correction is now an offset
2024-06-04 16:28:52 +02:00
Emma Broman
09a40f62dc Rename goToGeo -> jumpToGeo (#3296)
* Remove unused bool argument in globebrowsing functions
* Refactor some globe browsing functions
* Start updating goToGeo function to fade instead of just jump
* Add choice for whtehr to use default or arrival height when flying to a geo2
* Update / add docs for fly-to and go-to functions
* Rename function and add deprecated version of `goToGeo`
2024-06-04 16:18:03 +02:00
Emma Broman
aaab3fae46 Update exoplanet data version (#3301) 2024-06-04 16:07:54 +02:00
Emma Broman
0ff646a94c Update Lua script documentation for openspace.navigation and openspace.pathnavigation (#3188)
* Update some pathnavigator script documentation

* Update navigationhandler script docs

* Update returned information for joystick axis function

* Add another reference link to a navigation state

* Make punctuation consistent

* Consistent mentioning of navigation states

* Remove TODO comments - We will not get to fixing them as of now

* Use more explicit names for add navigation function arguments

Co-authored-by: Malin E <malin.ejdbo@gmail.com>
Co-authored-by: Andreas Engberg <48772850+engbergandreas@users.noreply.github.com>
2024-06-04 09:26:46 +02:00
Micah Acinapura
37dfaae45d Added extra file extensions for spice kernels (#3259)
* added extra file extensions for spice kernels

* added spacing

* Update src/util/spicemanager.cpp

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

* Update src/util/spicemanager.cpp

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

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-06-03 13:56:54 -04:00
Gene Payne
2f280ed582 Update sssb data (#3291) 2024-06-03 09:29:06 -06:00
Emma Broman
1ed5243929 Fix jumpTo fade issue when duration is zero
Resulting in a black screen, i.e. the fading in did not happen...
2024-06-03 15:56:06 +02:00
Alexander Bock
b1eb9e3731 Force recompilation of the RenderableGlobe shader when moving layers (closes #3295) 2024-06-03 14:16:13 +02:00
Andreas Engberg
b6621f3ed8 Adds a join server lua function for parallelpeer (#3292)
* Adds a join server lua function for parallellpeer
2024-06-03 11:49:46 +02:00
Alexander Bock
62a01ea317 Add example and fixes for the LuaTranslation (#3284) 2024-06-03 09:57:26 +02:00
Alexander Bock
2ab09b50e5 Add example for the LuaRotation class and fix it at the same time (#3285)
* Add example for LuaRotation class and make it work again
2024-06-03 09:57:15 +02:00
Alexander Bock
bbce6500ca Update Star position in bookmarks file (closes #3258) 2024-06-01 18:11:24 +02:00
Alexander Bock
c172f5fd8f Make the missing SessionRecording property visible as AdvancedProperty 2024-06-01 17:43:42 +02:00
Alexander Bock
be5aeda195 Write out ascii-based session recording files in scientific notation instead. Also store position and rotation in higher precision (closes #3050) 2024-06-01 16:57:01 +02:00
Alexander Bock
aa0255bccb Add example for the LuaScale class and fix it at the same time (#3271)
* Change the LuaScale to request a single table as a return value to be consistent with the other Lua transformation types
2024-05-31 22:26:24 +02:00
Alexander Bock
bb03248952 Harmonize naming of accessing the script log. Also scroll to the bottom of the list by default (closes #3268) 2024-05-27 17:05:05 +02:00
Alexander Bock
ad70b74c73 Update AssImp library to 5.4.1 (closes #3241) 2024-05-27 15:09:14 +02:00
Alexander Bock
099079d77c Add some more clarifying information to the contributing file 2024-05-27 14:20:00 +02:00
Alexander Bock
09d4ea6170 Update README.md 2024-05-27 14:19:17 +02:00
Alexander Bock
ff9b72c580 Prevent crash when accessing a layer name after it has been deleted (closes #3283) 2024-05-27 14:00:31 +02:00
Alexander Bock
be6c3f801e Rename Glare->Core and Halo->Glare in RenderableStars 2024-05-24 18:41:04 +02:00
Alexander Bock
4f647d5085 Move Spout-based layer for Earth to examples folder 2024-05-23 21:42:15 +02:00
Alexander Bock
7a2b876541 Add profile information to the visual test files (#3270)
* Update test files
* Fix apollo test
* Cleanup test files
* Include information about the profile being loaded
* Add documentation about the visual tests
2024-05-23 13:09:01 +02:00
Alexander Bock
9828b96930 Add additional tags to minor moons, trails, and labels of Jupiter and Saturn (closes #3272) 2024-05-22 17:00:46 +02:00
Ylva Selling
2dd1b2f46f Remove default argument for write documentation function in the DocumentationEngine
Should have been done in PR but was missed
2024-05-22 09:46:57 +02:00
Ylva Selling
79f5192a2c Fix issue of sorting by placing arguments in array (#3238)
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
2024-05-21 11:23:26 +02:00
Ylva Selling
462cbe9180 Add example to RenderableCartesianAxes (#3206)
* Add example to

* Update data/assets/examples/renderable/renderablecartesianaxes/cartesianaxes.asset

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

* Update data/assets/examples/renderable/renderablecartesianaxes/cartesianaxes.asset

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

* Update data/assets/examples/renderable/renderablecartesianaxes/cartesianaxes.asset

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

* Update data/assets/examples/renderable/renderablecartesianaxes/cartesianaxes.asset

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

* Update data/assets/examples/renderable/renderablecartesianaxes/cartesianaxes.asset

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

* Update data/assets/examples/renderable/renderablecartesianaxes/cartesianaxes.asset

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

* Update description to match new parent

* Update GUI name

---------

Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-05-21 11:23:04 +02:00
Ylva Selling
098bae18b2 Create a tiny app for writing the documentation jsons (#3239)
* Add simple app for writing the documentation (only asset components and lua scripting)

* Update apps/DocsWriter/CMakeLists.txt

Co-authored-by: Emma Broman <emma.broman@liu.se>

* Update apps/DocsWriter/main.cpp

Co-authored-by: Emma Broman <emma.broman@liu.se>

* Update apps/DocsWriter/main.cpp

Co-authored-by: Emma Broman <emma.broman@liu.se>

* Update apps/DocsWriter/main.cpp

Co-authored-by: Emma Broman <emma.broman@liu.se>

* Update apps/DocsWriter/CMakeLists.txt

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

* Update apps/DocsWriter/main.cpp

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

* Update apps/DocsWriter/main.cpp

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

* Update apps/DocsWriter/main.cpp

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

---------

Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-05-21 11:22:14 +02:00
Alexander Bock
c0cdce8784 Create correct layer type (closes #3267) 2024-05-20 23:19:11 +02:00
Gene Payne
5aadbf1246 Add example for NavigationState (#3246)
* Add example for NavigationState
* Modify comment messages per code review feedback
* Corrected some details to match examples rules
2024-05-20 13:55:08 -06:00
Alexander Bock
dfbe0f45bb Add all enabled module definitions to all modules to enable soft-dependencies (closes #3266) 2024-05-20 18:58:10 +02:00
Andreas Engberg
666135d56f Automatically create bookmarks folder for user (#3262)
* Automatically creates user bookmarks folder if it does not exist
2024-05-20 17:08:57 +02:00
Andreas Engberg
944e345d2e Update post synchronization from range-based to index-based for loop closes #3163 (#3261)
* Update pre- & post synchronization from range-based to index-based for loop
2024-05-20 15:43:06 +02:00