Commit Graph

2620 Commits

Author SHA1 Message Date
Alexander Bock
981a13a855 Add new TileProvider to select tile providers based on the date and apply to VIIRS Joint Polar Satellite System (#3350) 2024-07-18 11:18:57 +02:00
Alexander Bock
cabb8cb55b Add Down and Up keybinds to set the time to realtime and "now" respectively (closes #3275) 2024-07-18 11:11:26 +02:00
Malin E
01483ef982 Add support for model vertex colors (#3346)
* Add model vertex color support

* Fix an issue with the Tiangong model not loading properly and set a correct bounding sphere size for it

* Update caching for models

* Update previous model examples to the new format

* And add a new example to test the new vertex colors support

* Apply suggestions from code review

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

* Add a model example with lighting

* Improve the basic example and add a separate example for vertex colors

* Add visual test for vertex colors (#3348)

* Update the readme file for the visual tests

* Add asset instruction to the visual testing readme

* Add visual test for RenderableModel with vertex colors

* Apply suggestions from code review

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

* Update test when asset changed name

---------

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

* Update Ghoul

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-07-17 15:56:06 +02:00
Emma Broman
babbb4f97c 2024 Digital Universe Data Update (#3335)
* Update 2dF.asset

* Changes to the filename metadata, as wekll as the description.

* 2024 DU updates.

* Apply suggestions from code review

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>

Apply suggestions from code review

* Changes to the asset descriptions, the GUI path, and some of the settings.

* Fixed minor error in a variable name.

* Wrote the individual descriptions for each asset.

* Adjusted the size (brightness).

* Update identifier to one that works

* Update asset versions and correctly format asset files

* Reset exoplanet rings size

To make them visible when viewed further away, e..g at the distance of the radiosphere, and make the Kepler FoV more apparent

* Clean up scale variables

* Line-break long descriptions

As long as we expect users to manually edit files, they need to be readable

* Remove letters that sorts the grids by size

* Split allsky into two assets

Remove asset that was split in two and update DU meta asset

* Replace dwarfs texture with generic point texture resource

* Remove all DU version comments, to reduce "noise"

These would be confusing to our users

* Some final cleanup

* Remove commented radii

* Local Universe -> Nearby Surveys

* Remove asset versions

* Apply suggestions from code review

Co-authored-by: Malin E <malin.ejdbo@gmail.com>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>

* Remove background setting (non-existing) for spheres

* Rmeove commented out lines in star orbits asset

They are confusing, and the label file they refer to does not exist

* Apply suggestions from code review

* Fix some missing line breaks

* Update sync identifiers to match updates in BigBang PR

* Reuse point textures from the same resource instead of having one copy per dataset

The texture used is the same

* Set brown dwarfs dataset version to 1

* Update bookmarks file with updated star poistions

---------

Co-authored-by: Brian Abbott <80659386+brianpatrick@users.noreply.github.com>
Co-authored-by: brianpatrick <git@brianabbott.net>
Co-authored-by: Malin E <malin.ejdbo@gmail.com>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-07-17 11:25:26 +02:00
Emma Broman
cca2f7e272 Add possiblity to sort SGNs in GUI based on numerical value (#3340)
* Add possiblity to sort SGNs in GUI based on numerical value

And apply to grids

* Fix mistake in docs

* Apply suggestions from code review

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

* Rename Order -> Ordering and remove unused getter functions

* Update GUI hash to match the UI changes

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2024-07-17 09:54:59 +02:00
Emma Broman
c0f85857d4 "Fix" warning from hdf.asset (#3343)
The "proximity" parameter does not exist in the dataset. Just addd all tha parameters for color mapping.
2024-07-15 08:52:22 +02:00
Alexander Bock
b8e9193bc7 Add Lua function to calculate the number of seconds between dates and use it in assets (#3332) 2024-07-11 10:34:06 +02:00
Emma Broman
fcba068aca Add a point cloud example that changes the point orientation (#3327)
* Add a point cloud example that changes the point orientation

Note that it is really difficult to see what is going on without a texture, so added a texture to this exmaple as well.

* Apply suggestions from code review

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

* Update example identifier to be unique

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-06-26 10:44:09 +02:00
Alexander Bock
24e83d154e Make the 'Layer's specification in RenderableGlobe optional. Clean RenderableGlobe assets 2024-06-22 13:41:27 +02:00
Alexander Bock
95c841786a Fix spelling mistake in Haumea model 2024-06-22 09:16:42 +02:00
Emma Broman
c53a747ed5 Fix a faulty example GIU path 2024-06-20 16:11:43 +02:00
Alexander Bock
807699a890 Remove the large data files from the URLSynchronization example to make the file loadable 2024-06-20 11:49:46 +02:00
Alexander Bock
df6740c5e2 Use the correct way to scale the eiffel tower educational asset 2024-06-20 11:45:05 +02:00
Alexander Bock
2cc5a53aaa Remove version numbers from asset files 2024-06-19 11:26:07 +02:00
Alexander Bock
14cf12d23e Update the UI hash 2024-06-17 12:05:24 +02:00
Alexander Bock
01fa2898db FixedRotation rerequests a missing attached node or target node every frame to prevent incorrect initialization order 2024-06-15 18:07:39 +02:00
Alexander Bock
ba56433a78 Reeable SNPP VIIRS as the standard Earth layer 2024-06-15 00:47:31 +02:00
Alexander Bock
43645ce7a4 Fix existing assets; Make the goToGeo function without altitude in the profile work 2024-06-14 23:55:55 +02:00
Emma Broman
62b2a8c8c1 Fix renderable sphere example and add one for using local image (#3306)
* Fix renderable sphere example and add one for using local image
2024-06-13 10:43:54 +02:00
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