Files
OpenSpace/data/assets/scene/digitaluniverse/sdss.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

74 lines
2.8 KiB
Plaintext

local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Sloan Digital Sky Survey Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_sloandss_textures",
Version = 2
})
local speck = asset.syncedResource({
Name = "Sloan Digital Sky Survey Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_sloandss_speck",
Version = 2
})
local object = {
Identifier = "SloanDigitalSkySurvey",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = true,
Color = { 0.8, 0.8, 1.0 },
Opacity = 0.8,
ScaleFactor = 520.0,
File = speck .. "/SDSSgals.speck",
ColorMap = speck .. "/SDSSgals.cmap",
ColorOption = { "redshift", "proximity" },
ColorRange = { { 0.0, 0.075 }, { 1.0, 50.0 } },
Texture = textures .. "/point3A.png",
Unit = "Mpc",
FadeInDistances = { 220.0, 650.0 }, -- Fade in value in the same unit as "Unit"
BillboardMinMaxSize = { 0.0, 5.5 },
CorrectionSizeEndDistance = 20.65,
CorrectionSizeFactor = 10.41,
TextSize = 14.8,
TextMinMaxSize = { 10, 50 },
EnablePixelSizeControl = true
},
GUI = {
Name = "Sloan Digital Sky Survey",
Path = "/Universe/Galaxies",
Description = [[Census: 2,600,258 galaxies. DU Version 10.6.<br> The Sloan Digital
Sky Survey (SDSS) is an ambitious project to image about 35% of the sky, deep
into the universe. The survey measured the position and brightness of almost 1
billion objects, and obtained spectra to more than 4 million objects. This is
not an all-sky survey, so there are large parts of the sky that remain
unobserved, which produces the bow tie distribution and the black areas where
there surely are galaxies, but we have yet to observe them. These galaxies
appear to extend beyond the 2dF survey to distances that exceed 5 billion
light years. However, the weblike structure of clusters, filaments, and voids
seems to fade by about 2 billion light years. Beyond this distance, the
completeness of the survey drops so that only the intrinsically bright
galaxies are visible. The weblike cosmic structure is echoed in these data,
with orange clusters standing out among the less dense aqua-colored galaxies
and the less dense regions of green-colored galaxies. (Description from URL)
<br><br> Data Reference: Sloan Digital Sky Survey (http://www.sdss.org/)]]
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Sloan Digital Sky Survey",
Version = "2.0",
Description = [[Digital Universe asset for The Sloan Digital Sky Survey (SDSS).]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"SloanDigitalSkySurvey"}
}