Commit Graph

1131 Commits

Author SHA1 Message Date
Alexander Bock bf8c2bbe13 Add missing information about color-enhancement for the Viking image 2024-08-23 10:30:15 +02:00
Emma Broman 6e6f425a0a Issue/3337 Custom UI group ordering (#3363)
* remove code for controlling group sorting in ImGui

We only use this for debug and the sorting here is no longer relevant

* Add feature to add custom ordering to UI groups

* Tiny cleanup

* Add numerical ordering for night sky planets

* Update Lua function name and create an event when ordering updated

* Set top-level ordering

* Add function documentation

* Add a custom ordering that previously was hardcoded in UI

* Apply suggestions from code review

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

* Rename GUI ordering function

* Update GUI hash

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-08-22 16:51:28 +02:00
Alexander Bock f962a10e03 Add new maps for the Globe representation of Phobos (closes #1397) 2024-08-22 16:38:04 +02:00
Alexander Bock f2a9477eb5 Lua Securty Sandboxing (#3378)
* Add Lua sandboxing
* Convert existing files to use custom functions instead of now-prohibited library functions
2024-08-16 13:46:39 +02:00
Alexander Bock c7f2ab1a43 Define the supergalactic transformation matrix only once and reuse in other assets 2024-08-14 15:10:44 +02:00
Alexander Bock 1cef84ca74 Add an identifier to mission files and use that instead of the name 2024-08-14 10:22:41 +02:00
Alexander Bock 0b91fd2642 Global cleanup pass over asset files
- Lua style guides
- FrameConversions
- unloadMission, Add mission identifiers
2024-08-14 10:22:20 +02:00
Alexander Bock 5d2186f11d Add Esri Wayback layers (#3382) 2024-08-12 21:20:39 +02:00
Alexander Bock 0ec3d5e284 Add Sweden caching server to Earth map layer 2024-08-12 09:55:03 +02:00
Alexander Bock d07edbdc77 Fixing arrangement for TimeFrames in assets 2024-08-07 06:58:50 +02:00
Alexander Bock ca6c14e9b5 Make the SampleInterval for RenderableTrailTrajectory optional and use a sample per 2 days by default 2024-08-07 06:53:05 +02:00
Alexander Bock 19bb1c5d91 Update Rosetta kernels to extend coverage (#3370) 2024-08-06 11:45:25 +02:00
Alexander Bock dd73978fa2 Use correct UTC time string in Pluto trail 2024-08-02 14:57:13 +02:00
Alexander Bock 97e455f7af Update kernel data for Rosetta 2024-07-30 10:51:24 +02:00
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
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
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
Alexander Bock 2cc5a53aaa Remove version numbers from asset files 2024-06-19 11:26:07 +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
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 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
Gene Payne 2f280ed582 Update sssb data (#3291) 2024-06-03 09:29:06 -06: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
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
ElonOlsson cd02ff73d1 Update density_volume.asset to use correct transferfunction 2024-05-07 14:30:35 -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 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
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
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
Micah Acinapura 41143d8483 Added asset showing only the Big Dipper (#3157)
* added big dipper only asset

* code review updates
2024-04-16 08:29:20 +02:00
Andreas Engberg cd30d5f1d3 Fixed broken asset 2024-04-09 16:05:02 +02:00
Ylva Selling 22c00f2437 Clean up typos and duplicates in documentation 2024-04-08 13:45:01 +02:00
Alexander Bock 51c26454f7 Fix Euclid asset (closes #3165) 2024-04-07 17:11:08 +02:00
Emma Broman 2af06fb641 Add asset setting to skip first data point in RenderablePointCloud (#3161)
* Add asset setting to skip first data point

To hide our galaxy in the Tully datasets

* Apply suggestions from code review

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

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-04-05 14:20:11 +02:00