mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 02:48:25 -05:00
cc7c0092a3
Updating asset.meta.identifiers to be dictionary/list instead of string
63 lines
2.0 KiB
Plaintext
63 lines
2.0 KiB
Plaintext
local assetHelper = asset.require('util/asset_helper')
|
|
|
|
|
|
|
|
local textures = asset.syncedResource({
|
|
Name = "Galaxy Superclusters Textures",
|
|
Type = "HttpSynchronization",
|
|
Identifier = "digitaluniverse_superclusters_textures",
|
|
Version = 2
|
|
})
|
|
|
|
local speck = asset.syncedResource({
|
|
Name = "Galaxy Superclusters Speck Files",
|
|
Type = "HttpSynchronization",
|
|
Identifier = "digitaluniverse_superclusters_speck",
|
|
Version = 2
|
|
})
|
|
|
|
local object = {
|
|
Identifier = "GalaxySuperclusters",
|
|
Renderable = {
|
|
Type = "RenderableBillboardsCloud",
|
|
Enabled = false,
|
|
DrawElements = false,
|
|
Color = { 1.0, 1.0, 1.0 },
|
|
Opacity = 0.65,
|
|
File = speck .. "/superclust.speck",
|
|
Texture = textures .. "/point3A.png",
|
|
LabelFile = speck .. "/superclust.label",
|
|
TextColor = { 0.9, 0.9, 0.9 },
|
|
ScaleFactor = 531.0,
|
|
TextSize = 22.44,
|
|
TextMinSize = 8.0,
|
|
Unit = "Mpc",
|
|
DrawLabels = true,
|
|
--BillboardMaxSize = 7.2,
|
|
EnablePixelSizeControl = true
|
|
},
|
|
GUI = {
|
|
Name = "Galaxy Superclusters",
|
|
Path = "/Universe/Galaxies",
|
|
Description = [[Census: 33 labels. DU Version 1.3.<br> The superclusters dataset
|
|
is a set of labels that mark the major galaxy superclusters in the local universe.
|
|
They correspond to, and should be viewed with, the Abell clusters. Astronomers
|
|
estimate there are 10 million superclusters in the observable universe.
|
|
(Description from URL) <br><br> Data Reference: Superclusters of Abell and X-ray
|
|
clusters (Einasto+, 2001)]]
|
|
}
|
|
}
|
|
|
|
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
|
|
|
|
|
|
asset.meta = {
|
|
Name = "Galaxy Superclusters",
|
|
Version = "2.0",
|
|
Description = [[Digital Universe asset for Galaxy Superclusters.]],
|
|
Author = "Brian Abbott (AMNH)",
|
|
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
|
|
License = "AMNH Digital Universe",
|
|
Identifiers = {"GalaxySuperclusters"}
|
|
}
|