Files
OpenSpace/data/assets/scene/digitaluniverse/voids.asset
T
Emma Broman 1695937749 Feature/numeric slider updates (#1609)
* Remove Logarithmic ViewOption and instead always use exponent of NumericalProperty + set exponent of some renderables' properties

* Add MinMaxRange ViewOption for Vec2 properties

* Add MinMaxRange viewoption to some existing vec2 properties and combine some other related properties to be able to utilize it. For example Min and Max label sizes, fade in/out distances, inner and outer radius. OBS! Includes renaming several properties (**breaking change**)

* Refactor and document labels code. OBS! Includes renaming several properties (**breaking change**)

* Add comments for some assets that have labels that are not working correctly


Renderables with rename properties: RenderableLabels , GlobeLabelsComponent, RenderableBillboardsCloud, RenderableDUMeshes, RenderableRadialGrid )
2021-05-28 17:00:55 +02:00

55 lines
1.8 KiB
Plaintext

local assetHelper = asset.require('util/asset_helper')
local speck = asset.syncedResource({
Name = "Voids Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_voids_speck",
Version = 2
})
local object = {
Identifier = "Voids",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
DrawElements = false,
DrawLabels = true,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.65,
LabelFile = speck .. "/voids.label",
Unit = "Mpc",
TextColor = { 0.296, 0.629, 1.0 },
TextSize = 20.9,
TextMinMaxSize = { 8, 20 }
},
GUI = {
Name = "Voids",
Path = "/Universe/Galaxies",
Description = [[ Census: 24 cosmic voids. DU Version 1.2. <br>Cosmic voids are
vast, empty spaces where there are either no galaxies, or very few galaxies.
They are associated with cold spots in the cosmic microwave background (CMB)
light, the earliest picture we have of the universe (see page 58). Those cold
spots in the CMB evolved into large voids, some as much as 300 million light
years in diameter. Labels roughly denote the location of cosmic voids in the
Tully galaxies. Voids are only visible with motion cuing as you spin around
these data. The labels help to guide the eye and provide sign posts for the
largest voids in our cosmic neighborhood. (Description from URL) <br><br> Data
Reference: various sources]]
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Voids",
Version = "2.0",
Author = "Brian Abbott (AMNH)",
Description = [[Digital Universe asset for Cosmic voids.]],
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Voids"}
}