Commit Graph

11534 Commits

Author SHA1 Message Date
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
Malin E
997d809ef7 Update Voyager Model to not be in parts and remove extra box (#3035)
* Update Voyager model to not be in parts
* Add asset meta information for voyager spacecrafts
2024-05-20 10:57:00 +02:00
Alexander Bock
1d002a270b Clarify the comment after getting feedback from scnlib 2024-05-20 09:52:23 +02:00
Alexander Bock
d4a509ecce Add the ability to override the openspace.cfg file 2024-05-20 09:33:29 +02:00
Emma Broman
eb1cfec7bd Renderable property info walkthrough/cleanup (#3226)
A passover of all the Parameters descriptions and PropertyInfo descriptions of the renderables in the code base to make then more consistently and concisely formatted. Also fixed some small issues and added or updated descriptions.

* Start rephrasing propertyinfos for more consistency

* Update eclipse cone propertyinfos

* Update `RenderableFov` property infos and group colors in UI

* `RenderableGalaxy` and `RenderableGlobe`

* Update more descriptions

* Moore descriptions

* Update docs for `RenderableShadowCylinder` and add properties

* `RenderableSkyTarget`, and spheres (`ImageOnline` and `ImageLocal`)

* `RnederableSphericalGrid`, and update line width info of other types, for consistency

* `RenderableStars` and `RenderableTimeVaryingSphere`

* Update more propertyinfos

* Fix inconsistent mentioning of true/false

* change some phrasings for increased consistency

* Update Renderbin description to include Sticker bin and remove extra property

* Rename `OutlineWeight` -> `OutlineWidth`

* Extend description about enable depth test for models

* Clarify what relative values mean for `RenderableNodeArrow`

* Elaborate on `RenderableLabel` size property

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Malin E <malin.ejdbo@gmail.com>
2024-05-20 09:24:40 +02:00
Emma Broman
542f35e4de Update ScreenSpaceRenderable documentation (#3227)
* Update screen space documentation

* Fix inconsistent "screen space" phrasing

* Rephrase according to code review

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Malin E <malin.ejdbo@gmail.com>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-05-17 15:38:48 +02:00
Emma Broman
c3657921d2 Prevent sampling outside bv color map for stars
Should adress #2404
2024-05-17 10:51:02 +02:00
Emma Broman
ce765c6f72 Fix faulty computation of sun position in atmosphere (#3250) 2024-05-17 10:36:23 +02:00
Emma Broman
5ecdd67a10 Update GUI hash (open GUI in browser button) 2024-05-14 16:37:16 +02:00
Emma Broman
e745c40152 Update examples for RenderableNodeArrow and RenderablePlaneImageOnline (#3215)
* Update examples for `RenderableNodeArrow` and `RenderablePlaneImageOnline`


Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-05-14 11:28:58 +02:00
Emma Broman
a9567db768 Fix non-updated property URIs for star rendering in light pollution actions (closes #3251) 2024-05-13 17:54:25 +02:00
Andreas Engberg
c2ea21b43c add listener on file texture changes 2024-05-13 15:55:02 +02:00
Malin E
09da94cf6b Add documentation and example for RenderableSphereImageOnline (#3185)
* Add a simple online sphere image example

* Add documentation for RenderableSphereImageOnline

* Address pull request comments

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-05-13 15:28:27 +02:00
ElonOlsson
cd02ff73d1 Update density_volume.asset to use correct transferfunction 2024-05-07 14:30:35 -04:00
Emma Broman
8ba7f32125 Add view option to renderable orbital kepler outline color (closes #3242) 2024-05-03 08:56:11 +02:00
Emma Broman
da28216daf Add/update documentation and add example of RenderableTravelSpeed (#3224)
* Add/update documentation and add example of `RenderableTravelSpeed`

* Update description based on review comments

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2024-05-02 14:00:09 +02:00
Emma Broman
075f6c8f65 Properly fix useCaching for point cloud colormaps
Forgot the update function in 1092948518, oops
2024-05-02 13:56:48 +02:00
Emma Broman
436eb0d195 Update outdated renderable description 2024-05-02 11:14:45 +02:00
Emma Broman
1092948518 Make useCaching for point cloud also affect color map
Makes it so that changes can be done to the color map file without having to delete the cache, and decreases confusion about that one file is cached when the other isn't
2024-05-02 11:08:59 +02:00
Emma Broman
378c3f3b19 Add missing base class documentation for constellations renderables 2024-05-02 10:55:20 +02:00
Anders Lundkvist
c09e6da405 Add example for RenderableSphereSpout (#3208)
* Example asset for RenderableSphereSpout

* fixed path to example texture

* removed unnecessary variables

* Update example and improve the documentation handling for the spout classes

* Apply new naming scheme

* added PR review changes

* changed to correct submodules

* submodules updated to correct version

* reverted wrong submodule updates

---------

Co-authored-by: Arohdin <adam.rohdin@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-04-30 12:01:15 -04:00
Ylva Selling
7757ec7976 Merge pull request #3212 from OpenSpace/issue/2996
Issue/2996 - documentation engine rewrite
2024-04-30 16:11:13 +02:00
Ylva Selling
c79de65486 Update data/assets/scene/solarsystem/planets/earth/moon/nasa-treks/LRO_Narrow_Angle_Camera.asset
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-04-30 16:10:33 +02:00
Ylva Selling
708143d06e Make json file printout a separate function 2024-04-30 15:49:23 +02:00
Emma Broman
86d1b2d8a6 Update pointcloud examples to conform with new example structure (#3213)
* Update pointcloud examples to conform with new example structure and add some new ones

* Update name, GUI path and add title to top comment to match the decided format

* Rename base examples to Basic, as agreed

* Clarify TODO comment about broken label rotation

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2024-04-30 13:33:18 +02:00