Commit Graph

2601 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
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
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
Alexander Bock
5a88c4d56c Update the website hash and the version string 2024-06-04 20:42:18 +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
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
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
Gene Payne
2f280ed582 Update sssb data (#3291) 2024-06-03 09:29:06 -06: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
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
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
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
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
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
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
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
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
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
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
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
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
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
Alexander Bock
359cf9950e Add documentation and example for the TileProviderByIndex (#3220) 2024-04-30 08:20:40 +02:00
Alexander Bock
f1bbdc16cd Adjust the existing examples to the new naming scheme 2024-04-30 08:19:16 +02:00
Emma Broman
e6a8207dfe Update MIlkyway speck data version (closes #3196)
The cached data files may have to be removed for the change to take effect (at least until #3154 is fixed)
2024-04-25 16:14:59 +02:00
Alexander Bock
c9fd9543e6 Updating examples after discussions 2024-04-23 20:13:52 +02:00
Alexander Bock
f23505db90 Add documentation and examples for NonUniformStaticScale. Remove the no-argument constructor and make the dictionary constructor explicit (#3182)
* Add documentation and examples for NonUniformStaticScale.  Remove the no-argument constructor and make the dictionary constructor explicit
2024-04-23 08:53:24 +02:00
Alexander Bock
c87a0901a2 Add example and documentation for the StaticScale. Extract the static scale as a double value instead of a float (#3181)
* Add example and documentation for the StaticScale.  Extract the static scale as a double value instead of a float
2024-04-23 08:49:52 +02:00
Alexander Bock
28845a5df6 Add examples and documentation for TimeDependentScale. Add more strict verifiers (#3180)
* Add examples and documentation for TimeDependentScale. Add more strict verifiers
* Update verifier to accept Spice-like YYYY MMM DD hh:mm::ss dates
2024-04-23 08:48:50 +02:00
Alexander Bock
048dfdfde1 Add example for TimeFrameUnion and properly use the parameters struct (#3179) 2024-04-23 08:45:54 +02:00
Ylva Selling
caea263090 Update GUI hash 2024-04-19 17:20:53 +02:00
Adam Rohdin
392a521423 Fix for a lot of trail related stuff (#3193)
Fixes following issues: #625 , #1067 , #1212 , #1472 , #2072 , #2235, #2964
- Trails in `renderableTrailTrajectory` now goes through the spacecraft when using `AccurateTrailPositions`.
- Trail fading controls have been improved for classes using the `renderableTrail` class.
-  `renderableOrbitalKepler` (asteroids/satellites) can now be rendered as both trails and points (or both at once). Solution implements similar functionality/controls as `renderablePointCloud`.
- Default setting for SweepChunking has been changed from `true` to `false` (iterative calculations of `renderableTrailTrajectory`).
- Some fixes related to missing points or off-by-one errors related to trail rendering
2024-04-19 16:51:17 +02:00
Micah Acinapura
9f51549a2a Issue/2518 epicycle (#3195)
* added epicycle asset; updated trailFromEarth period and colors; added FromEarth trails to trail toggle;

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-04-19 13:11:32 +02:00
Andreas Engberg
7e65a3a32d use openspace fileExists function 2024-04-19 11:11:20 +02:00
Andreas Engberg
9011f7f6e0 Moved bookmarks file to live in user folder, auto create default if it does not exists 2024-04-19 11:08:52 +02:00
Alexander Bock
4476184746 Updating the star rendering (#3164)
* Adding a new star renderer
* Remove PSF-based rendering
2024-04-18 14:13:19 +02:00
Emma Broman
82ddbc57f8 Include orientation data in new point cloud and remove RenderablePlanesCloud (#3168)
* WIP start including rotation data

* Fix option to use orientation data or not

* Renames to reflect that points are no longer billboarded (at least not always)

* Increase max value for scale factor

* Fix correct scaling for tully and deep sky objects

* Remove the old RenderablePlanesCloud, we don't need it anymore

* Add unit handling for size scaling from data values

* Clarify some documentation about the points being rendered as planes

* Update datasets to the new ones on the server

* Use quaternions for orientation instead of vectors (simplifies interpolation and requires less data)

* Make interpolation of orientation work

* Fix size for deep sky objects being too small due to data being radius rather than diameter

* Add IsRadius flag for deepsky

* Update asset versions (major number update, due to breaking changes)

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-04-18 14:06:55 +02:00
Gene Payne
2b5b882e14 Disable minor moons of jupiter and saturn on profile startup (#3169) 2024-04-17 19:31:57 -06:00