Commit Graph

10584 Commits

Author SHA1 Message Date
Emma Broman 1d240aa1f5 Fix opacity not being settable from asset for some fadeables 2023-04-13 20:56:55 +02:00
Malin E d500c93c8e Merge pull request #2550 from OpenSpace/feature/model-opacity
Feature/model opacity
2023-04-13 17:26:22 +02:00
Malin E 2f19e7712f Update Ghoul 2023-04-13 17:24:55 +02:00
Malin E 6dae7be649 Merge pull request #2570 from OpenSpace/feature/min-max-distance
Limit min/max distance
2023-04-13 17:18:27 +02:00
Malin E fb8600879a Remove small oppsie 2023-04-13 17:17:25 +02:00
Adam Rohdin 5898b6cd13 procedural_globe now works with GUI.Name again 2023-04-13 16:31:00 +02:00
Alexander Bock abfc86eb36 Jenkins fix 2023-04-13 15:35:26 +02:00
Malin E c2457e5c41 Address PR comments 2023-04-13 14:54:49 +02:00
Malin E d0bcdc50d9 Address PR comment 2023-04-13 14:43:39 +02:00
Malin E 148e0eee13 Make propertyowner foor zoom limit a little nicer 2023-04-13 13:49:01 +02:00
Micah Acinapura 2caf747bc7 Added action for global lighting of all globes (closes #2494) 2023-04-13 13:48:15 +02:00
Malin E 4bda27dcdf Start to address PR comments 2023-04-13 13:30:16 +02:00
Malin E e0a33a257a Merge branch 'master' into feature/min-max-distance 2023-04-13 12:43:35 +02:00
Malin E a017006ec6 Add todo comment from discussion in PR 2023-04-13 12:35:51 +02:00
Adam Rohdin fd2ca680af Merge pull request #2599 from OpenSpace/issue/2598
Removed multiple keys for same property in some assets
2023-04-13 12:19:10 +02:00
Malin E 71caf31f02 Small clean up 2023-04-13 11:27:11 +02:00
Malin E 6d8f7b2fbd Handle override RenderBins from asset files 2023-04-13 10:59:23 +02:00
Alexander Bock 7565a91196 Cleanup lambda expressions and directly address Fadeable properties when adding properties 2023-04-12 23:20:53 +02:00
Alexander Bock 19642e8120 Jenkins compile fix 2023-04-12 22:26:19 +02:00
Malin E dccd439dde Merge branch 'master' into feature/model-opacity
* Solve conflicts in renderablemodel.cpp and renderabletrail.cpp
2023-04-12 17:03:40 +02:00
Micah Acinapura aeb81eb050 disabled assets for profile start (#2590) 2023-04-12 11:00:44 -04:00
Malin E 94e8f90d1a Take into account the scale in the gui when calculating distance culling 2023-04-12 16:50:08 +02:00
Arohdin 416381eadd Removed some duplicate properties and merged some others 2023-04-12 16:29:29 +02:00
Alexander Bock 649442aca9 Update SGCT repository 2023-04-12 08:47:52 +02:00
Joakim Kilby b219638e29 Add ability to cache globe data using MRFs (#2565)
Enables globe-browsing data to be cached using caching mrf's as it is loaded from the original dataset. Subsequent reads of tiles that have been cached do not query the original dataset but picks it up from the mrf data.
Supports anything that can be used a dataset for a gdal raster but raw images such as JPGs are explicitly disallowed as they lack necessary geotransform data.

Activated on a global scale by setting the following keys in openspace.cfg (ModuleConfigurations/GlobeBrowsing)
MRFCacheEnabled = true,
MRFCacheLocation = "<somepath>",
Settings can be overriden on a per-layer basis by adding the following entries to the layer entity of an asset
CacheSettings = { Enabled = true, Compression = "LERC", BlockSize = 512, Quality=25 },

The following per-layer settings are available and override the global module settings:
Enabled : enable/disable caching for this layer.
Compression: The compression algorithm to use for tile cache storage. (JPEG, PNG, or LERC)
BlockSize: Size of tiles in cache, should be a multiple of 2 although this is not required.
Quality: The quality setting of the JPEG compression (when used)

Note that heightlayers must use LERC compresison and this is the default unless overridden by a layer.
2023-04-11 08:46:25 +02:00
Alexander Bock 327c1b2399 Updating SPICE Kernels and adding new Moons to Outer Planets (#2556)
* Update Jupiter moon kernels and add new moons
* Update Neptune kernels
* Update Uranus kernels
* Update Saturn kernels
* Add Jupiter moons
* Add more Saturn moons
* Add more moons for Jupiter and Saturn
2023-04-10 20:49:30 +02:00
Alexander Bock 9022aad479 Adding static Settings to Renderable (#2578)
* Add settings to Renderable to control whether the renderbin is updated based on Opacity
* Remove duplicate RenderBin specification for RenderableSphere
* Remove unnecessary RenderBin specifications of Lagrange points
* Don't automatically update the renderbin for RenderableLabel and RenderablePlane
* Remove extra `setRenderBinFromOpacity` from RenderableSpheres
* Move information about whether a renderable should be updated when disabled
* Some cleanup of Renderable class
* Don't update the renderbin automatically if the user specified the renderbin manually
2023-04-10 20:49:01 +02:00
Alexander Bock bebac26a7f Add new 99.5% coverage CTX layer 2023-04-08 20:21:47 +02:00
Gene Payne 28cacd3df4 Fix for missing image projection sequences 2023-04-06 15:00:51 -06:00
Malin E 1d92383317 Make sure RenderBin is set before render function is called 2023-04-06 14:53:05 +02:00
Malin E a3948e2830 Merge branch 'master' into feature/model-opacity 2023-04-06 13:51:07 +02:00
Emma Broman 36538bf74b Update GUI hash
OpenSpace/OpenSpace-WebGuiFrontend#141
2023-04-06 13:48:33 +02:00
Malin E bb3c9f013e Merge branch 'master' into feature/model-opacity
* Resolve conflicts in shaders for models and modelprojections
2023-04-06 13:43:23 +02:00
Emma Broman 1a4c9bcbfc Remove forgotten comment 2023-04-06 13:31:27 +02:00
Emma Broman 554373eb3e Fading of propertyowners through GUI, and more owners with fade property (#2557)
* Add property in OpenSpaceEngine for fading duration when enabling / disabling

* Add interface for fadeable components and apply to renderable

* Make layers a fadeable component

* Make globelabels a fadeable component

* Make labelscomponent a fadeable, and give it an enabled property

* Make screenspace renderables fadeable components

* Introduce concept of parent fadeables, to fade out subowners with parent

* Make rings fadeable as well

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-04-06 12:49:49 +02:00
Emma Broman 439e4b8f93 Update Gui hash, again 2023-04-06 10:46:16 +02:00
Emma Broman fa4c213d2a Update GUI hash
PR OpenSpace/OpenSpace-WebGuiFrontend#137
2023-04-06 10:20:02 +02:00
Alexander Bock 3379393af7 Harmonize capitalization of action names (#2579)
* Harmonize capitalization of action names (closes #2215)
* Fix confusion between delta time and simulation time (closes #2536)
2023-04-05 17:58:18 +02:00
Alexander Bock 80e2aaf564 Remove whitespaces at the end of files, ' and - characters 2023-04-05 16:58:45 +02:00
Alexander Bock 784d5f302e Address 1-based indexing issues for satellite trials 2023-04-04 23:14:30 +02:00
Ylva Selling 56dae46e05 Update gui hash 2023-04-04 16:38:49 -04:00
Emma Broman 335ae7ccfd Update gui hash (for #2568 fix) 2023-04-04 22:13:43 +02:00
Emma Broman 8502376af3 Make it possible to trigger camera path with zero duration (needed for #2568) 2023-04-04 22:13:43 +02:00
Alexander Bock 5e63eabc4e Provide error message when running OpenSpace from a folder containing a ', ", [, or ] (closes #2563) 2023-04-04 22:08:28 +02:00
Joakim Kilby e743d387f2 Exclude translation files 2023-04-04 14:38:36 +02:00
Alexander Bock ebed869f4b Update SGCT repository (closes #2370) 2023-04-03 21:35:07 +02:00
Alexander Bock 606ad2de5f Don't subsample the height map on planets (closes #2472) 2023-04-03 21:26:30 +02:00
Alexander Bock a67d407e15 Move the keybindings out of the base.asset and the specific label keybinding out of the default_keybindings 2023-04-03 21:00:00 +02:00
Emma Broman 4de3713107 Add a central function to create an identifier from string, and also expose it through Lua 2023-04-03 11:40:19 +02:00
Malin E 6c56630217 Set model boundingsphere in initialize instead of update 2023-04-03 11:31:49 +02:00