Commit Graph

2510 Commits

Author SHA1 Message Date
Alexander Bock 6fee06aa4e Reorganization of Spice file handling (#2975)
* Fix VideoTileLayer -> VideoTileProvider
* Move kernel loading into spice files
* Define Spice IDs inside assets
* General asset cleanup and organization
2023-12-12 10:57:24 +01:00
Alexander Bock aaa6522029 Add Euclid mission (#2970) 2023-12-11 20:37:55 +01:00
Alexander Bock dbc1403be6 Remove asset initialization warnings 2023-12-11 14:11:08 +01:00
Alexander Bock bc71bd6186 More small asset fixes 2023-12-11 13:34:51 +01:00
Alexander Bock e3870b8f11 Asset cleanup
# Conflicts:
#	data/assets/scene/solarsystem/missions/apollo/11/lem.asset
2023-12-11 13:14:56 +01:00
Alexander Bock 5038c55e1b General asset cleanup and organization 2023-12-11 13:13:34 +01:00
Alexander Bock f238bf8780 Fix VideoTileLayer -> VideoTileProvider 2023-12-11 13:13:26 +01:00
Malin E 690878bc87 Layers maintenance (#2917)
* Separate layers for the Moon and Earth

* One asset each for each server, New York, Utah, and Sweden

* Add the layers asset files for Earth and Moon

* Add new layers structure for Mars and Europa

* Add layers assets for Mercury and Enceladus

* Add more layer assets for all servers

* Add layer assets for each server on the top asset level

* Rename Venus Utah cloud combo layer asset (breaking change)

* Clean up layer asset descriptions

* Update layer asset version name

* Fix base layers error

* Add configuration option to choose layers server

* Add Lua functions to access configuration settings

* Extend configuration Lua function

* Add layer server setting in setting gui + add 'None' as a server option

* Add base layers when server 'None' is used

* Add tests for the new Layer Server setting
2023-12-06 16:17:23 +01:00
Alexander Bock a8675abed8 Harmonize quotation symboles for asset require 2023-12-04 14:15:09 +01:00
Emma Broman 95e42d5343 Update GUI hash
https://github.com/OpenSpace/OpenSpace-WebGuiFrontend/commit/17af9032d000a9865a00afe88eff88a822167eea
2023-11-29 09:40:49 +01:00
Emma Broman 77084147dc Update GUI hash
Fix bugs from functional rewrite: right-click on NumericInput and hover issues with MinMaxRangeInput
2023-11-28 11:36:51 +01:00
Emma Broman 0b23df0d43 Update GUI hash 2023-11-28 10:59:58 +01:00
Micah Acinapura eca9d375e7 update to new chlorophyll layer from gibs (#2959) 2023-11-21 19:15:42 -05:00
Emma Broman 94ab3332d0 Update GUI hash to fix optionproperty rendering bug 2023-11-17 13:07:14 +01:00
Emma Broman 639419a51b Issue/1440 - Exoplanet Panel and settings update (#2943)
* Add tags that can be used to set object visibility from UI

* Add module property for hiding/showing orbiting uncertainty disc

* Add tag for 1 AU ring and change color to something that's different from orbits

* Add property for circle color

* Add temporary gui hash for easier testing

* Update modules/exoplanets/exoplanetsmodule.cpp

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

* Update GUI hash to correct commit on webgui master

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-11-15 14:18:04 +01:00
Andreas Engberg f3c4fc54db Update UrlSynchronization to limit amount of downloads (#2586) (#2933)
Limits the number of URL synchronization downloads by time stamping files for X seconds fixes (#2586). 
Also, show the amount of downloaded data as soon as the download is started fix (#2460)

* Adds time validity to UrlSynchronized files (#2586)

Updated affected asset files. Satellite asset files lasts for 24h by default now. Other assets are updated to work as before. Obs timestamp is computed using UTC time.

* Code cleanup

* Update httpsynchronization.cpp

* Applied suggestions from code review

* Update multi-line comment to `//`

* Remove accidental commas in .asset files

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

* Fixed PR comments + bug in .asset file

* Refactor code

* Reports downloaded data as early as possible, fixes (#2460)

* More files

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
2023-11-14 17:08:38 +01:00
Emma Broman c54e72136d Update GUI hash again (closes #2908) 2023-11-13 16:08:17 +01:00
Emma Broman 72bb6d3cc4 Update GUI hash
- Rewrite final classes to functional https://github.com/OpenSpace/OpenSpace-WebGuiFrontend/commit/8c0740c66e41742d7b7636b98e7591d9b7ab32a1
- Fix some things that broke wiht that rewrite
- Update dependencies
- Fix for issue #2893
2023-11-13 15:32:11 +01:00
Emma Broman 709cb24bbb Simplify Apollo LEM Model Rotation - Allows using IdleBehavior to orbit around up (#2916)
* Simplify Apollo LEM Model Rotation and allow using IdleBehavior to orbit around up-vector

* Add rotation values from Carter
2023-11-09 11:18:45 +01:00
Alexander Bock d0efe88aa2 Fix capitalization of lagrange points GuiPath (closes #2934) 2023-11-06 16:25:41 +01:00
Alexander Bock b43a13d39e Merge asset.localResource and asset.syncedResource (#2906) 2023-10-19 11:59:25 +02:00
Alexander Bock 06a7c692c5 Add special handling for a number of properties in the DashboardItemPropertyValue (closes #2899) 2023-10-19 11:21:28 +02:00
Micah Acinapura c56ca4d71c Update default_layers for Europa
Made the local layer for Europa default as the new york is broken and the Sweden is misaligned.
2023-10-06 13:54:40 -04:00
Alexander Bock 46ed8382e8 Add the ability to specify a custom shader for the RenderableGalaxy class 2023-09-28 09:40:51 +02:00
Alexander Bock 4aac713185 Make the eclipse profile start at 'yesterday' 2023-09-15 20:45:25 +02:00
Alexander Bock a4af241cad Add assets for eclipse profile (#2878)
* Add assets for eclipse profile
* Include the eclipse shadow in the eclipse profile
* Fix issue with the eclipse extended in both directions.  Disable the Earth and Moon grids by default in the profile
2023-09-13 09:50:09 +02:00
Alexander Bock a2004e7bad Fix issue with example video for the globe 2023-09-12 13:18:11 +02:00
Alexander Bock e763aeeba9 Global pass over all actions to make most of them not local 2023-09-11 20:09:37 +02:00
Emma Broman 80ecc7d7e4 Fix misspelled IsLocal in actions assets 2023-09-11 16:14:41 +02:00
Emma Broman 247f48058f Update GUI hash (to get double actions update for PR #2872) 2023-09-11 15:47:05 +02:00
Emma Broman d77836d910 Feature/arrow renderable (#2219)
* Create a RenderableNodeLine example asset

* First version of node direction hint renderable (arrow)

* Add possibility to set length as a multiplier of the bounding sphere

* Draw arrow cylinder using index array

* Update exponents and min max values for lengths

* Draw arrow head

* Only update arrow geometry when positions change

* Add some properties to control visuals of arrow

* Implement invert option

* Add normals and shading

* Set arrow head size by length percentage instead of angle

* Add bottom circle to cone

* Cleanup and update examples

* Remove non-existing property from example asset

* Fix vertices not updating if anchor node was changed

And some missing updates on property change

* Start cleaning up some shape rendering helper functions

* Cleanup code and move cylinder function to helper class

* Refactor cylinder creation code (fewer loops over same vector)

* Update transformations to correctly scale and place arrow

* Add the cone to make the arrowhead

* Update faulty triangle normals

* Add property visibilities

* Rename NodeDirectionHint to NodeArrow

* Apply suggestions from code review

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


---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-09-11 11:04:46 +02:00
Alexander Bock b49a8704dc Add new asset showing a text marker for the moon (closes #2831) 2023-09-06 08:55:02 +02:00
Emma Broman 2d9932e323 Add tag to another pluto moon
File was apparently not saved or included in the last commit..
2023-08-23 08:47:59 +02:00
Emma Broman caa9492c42 Update GUI hash 2023-08-22 16:58:39 +02:00
Emma Broman 08d5662c17 Update faulty tags for Charon and update some other pluto moon tags for consistency 2023-08-22 15:43:26 +02:00
Emma Broman 31b04c1412 Update GUI hash 2023-08-18 16:40:59 +02:00
Emma Broman 4d5ce33903 Add UI descriptions and asset metas to a bunch of assets (#2845)
* Add asset meta and GUI description to AltAz grid and move to Night sky in menu

To avoid confusion with other grids, that have a global position rather than a local one

* Add asset metas and GUI descriptions to Night Sky assets

* Add metas and update name of some example assets

* Night sky asset meta

* Add descriptions and asset metas to scale objects

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2023-08-18 16:33:59 +02:00
Alexander Bock 56abd768c9 Update Voyager kernels to reach year 2100 (closes #2790) 2023-08-14 16:08:45 +02:00
Alexander Bock 153e71853e Fix up the missing SkyBrowser functions for naming scheme 2023-08-14 15:05:39 +02:00
Alexander Bock 1b0b7e73f7 Fix faulty deinitialization in scene graph nodes that would cause nodes to be ignored (closes #2851). Add warning message if nodes are not deinitialized at the end of the program 2023-08-14 14:42:23 +02:00
Ylva Selling e241cd77c1 Merge pull request #2847 from OpenSpace/issue/2823
Add JUICE mission file
2023-08-11 10:54:11 -04:00
Ylva Selling 68c587fec8 Update data/assets/scene/solarsystem/missions/juice/mission.asset
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-08-11 10:54:01 -04:00
Ylva Selling 03d79a7b96 Update data/assets/scene/solarsystem/missions/juice/mission.asset
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-08-11 10:53:55 -04:00
Ylva Selling 873cc862c6 Update data/assets/scene/solarsystem/missions/juice/mission.asset
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-08-11 10:53:42 -04:00
Ylva Selling c1aefb33d0 Update data/assets/scene/solarsystem/missions/juice/mission.asset
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-08-11 10:53:37 -04:00
Ylva Selling ff421bc19a Add JUICE mission file 2023-08-09 14:47:08 -04:00
Malin E 72b186b805 Fix issue with hide all constellation lines action 2023-08-09 16:25:36 +02:00
Malin E 786c2887da Sphere maintenance (#2800)
* Split RenderableSphere class into a local and online sphere

* Make the video sphere derive from the regular sphere

* Make RenderableTimeVaryingSphere derive from RenderableSphere

* Some clean up

* Address PR comments
2023-08-07 11:47:32 +02:00
Emma Broman 85100e13be Rename some more deprecated functions in Lua calls 2023-08-07 10:40:36 +02:00
Emma Broman add6df05fd Replace some more getPropertyValue function calls (deprecated) 2023-08-07 10:08:21 +02:00