Adjust tab width for asset and task files

This commit is contained in:
Alexander Bock
2021-04-28 19:19:51 +02:00
parent 33a9dd2f09
commit fb8e80ea80
548 changed files with 23181 additions and 23246 deletions

View File

@@ -67,7 +67,7 @@ asset.require('scene/digitaluniverse/voids')
asset.require('customization/globebrowsing')
asset.onInitialize(function ()
openspace.globebrowsing.loadWMSServersFromFile(
openspace.absPath("${DATA}/globebrowsing_servers.lua")
)
end)
openspace.globebrowsing.loadWMSServersFromFile(
openspace.absPath("${DATA}/globebrowsing_servers.lua")
)
end)

View File

@@ -17,34 +17,34 @@ local webGui = asset.require('util/webgui')
-- Keybindings that are specific for this scene
local Keybindings = {
{
Key = "h",
Name="Toggle Trails",
Command = "local list = openspace.getProperty('{planetTrail_solarSystem}.Renderable.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end\n" ..
"local moonlist = openspace.getProperty('{moonTrail_solarSystem}.Renderable.Enabled'); for _,v in pairs(moonlist) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end",
Documentation = "Toggles the visibility of planet and moon trails",
GuiPath = "/Rendering",
Local = false
},
{
Key = "l",
Name = "Toggle planet labels",
Command = "local list = openspace.getProperty('{solarsystem_labels}.Renderable.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end",
Documentation = "Turns on visibility for all solar system labels",
GuiPath = "/Rendering",
Local = false
}
{
Key = "h",
Name="Toggle Trails",
Command = "local list = openspace.getProperty('{planetTrail_solarSystem}.Renderable.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end\n" ..
"local moonlist = openspace.getProperty('{moonTrail_solarSystem}.Renderable.Enabled'); for _,v in pairs(moonlist) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end",
Documentation = "Toggles the visibility of planet and moon trails",
GuiPath = "/Rendering",
Local = false
},
{
Key = "l",
Name = "Toggle planet labels",
Command = "local list = openspace.getProperty('{solarsystem_labels}.Renderable.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end",
Documentation = "Turns on visibility for all solar system labels",
GuiPath = "/Rendering",
Local = false
}
}
asset.onInitialize(function ()
webGui.setCefRoute("onscreen")
webGui.setCefRoute("onscreen")
sceneHelper.bindKeys(Keybindings)
openspace.setDefaultGuiSorting()
sceneHelper.bindKeys(Keybindings)
openspace.setDefaultGuiSorting()
openspace.setPropertyValueSingle("RenderEngine.VerticalLogOffset", 0.100000)
openspace.setPropertyValueSingle("RenderEngine.VerticalLogOffset", 0.100000)
end)
asset.onDeinitialize(function ()
sceneHelper.unbindKeys(Keybindings)
sceneHelper.unbindKeys(Keybindings)
end)

View File

@@ -15,74 +15,74 @@ local AddMercuryLayers = true
-- sequences
-- For example: C:/OpenSpace or C:\\OpenSpace rather than C:\OpenSpace
local vrt_folders = {
Mars = {
-- Add folders here whose contents will be automatically added to the Mars globe
-- If multiple folders are added, the results will be added sequentially, meaning that
-- if areas overlap (for example CTX and HiRISE) and CTX is specified *after* HiRISE,
-- CTX will stomp over the HiRISE.
Mars = {
-- Add folders here whose contents will be automatically added to the Mars globe
-- If multiple folders are added, the results will be added sequentially, meaning that
-- if areas overlap (for example CTX and HiRISE) and CTX is specified *after* HiRISE,
-- CTX will stomp over the HiRISE.
-- tl;dr: Specify CTX folders first, then HiRISE
-- example: 'C:/OpenSpace/GlobeBrowsingData/Mars/CTX'
-- tl;dr: Specify CTX folders first, then HiRISE
-- example: 'C:/OpenSpace/GlobeBrowsingData/Mars/CTX'
-- We recommend using this folder for CTX
openspace.absPath('${BASE}/../OpenSpaceData/Mars/CTX'),
-- if not and you have a custom path for CTX layers, enter it below
'',
-- We recommend using this folder for HiRISE
openspace.absPath('${BASE}/../OpenSpaceData/Mars/HiRISE'),
-- if not and you have a custom path for HiRISE layers, enter it below
''
},
Moon = {
-- Add folders here whose contents will be automatically added to the Moon globe
-- If multiple folders are added, the results will be added sequentially, meaning that
-- if areas overlap, images from the lower results will overwrite the images from former
-- results
-- example: 'C:/OpenSpace/GlobeBrowsingData/Moon'
openspace.absPath('${BASE}/../OpenSpaceData/Moon'),
openspace.absPath('${BASE}/../OpenSpaceData/Apollo'),
''
},
Mercury = {
-- Add folders here whose contents will be automatically added to the Mercury globe
-- If multiple folders are added, the results will be added sequentially, meaning that
-- if areas overlap, images from the lower results will overwrite the images from former
-- results
-- example: 'C:/OpenSpace/GlobeBrowsingData/Mercury'
openspace.absPath('${BASE}/../OpenSpaceData/Mercury'),
''
}
-- We recommend using this folder for CTX
openspace.absPath('${BASE}/../OpenSpaceData/Mars/CTX'),
-- if not and you have a custom path for CTX layers, enter it below
'',
-- We recommend using this folder for HiRISE
openspace.absPath('${BASE}/../OpenSpaceData/Mars/HiRISE'),
-- if not and you have a custom path for HiRISE layers, enter it below
''
},
Moon = {
-- Add folders here whose contents will be automatically added to the Moon globe
-- If multiple folders are added, the results will be added sequentially, meaning that
-- if areas overlap, images from the lower results will overwrite the images from former
-- results
-- example: 'C:/OpenSpace/GlobeBrowsingData/Moon'
openspace.absPath('${BASE}/../OpenSpaceData/Moon'),
openspace.absPath('${BASE}/../OpenSpaceData/Apollo'),
''
},
Mercury = {
-- Add folders here whose contents will be automatically added to the Mercury globe
-- If multiple folders are added, the results will be added sequentially, meaning that
-- if areas overlap, images from the lower results will overwrite the images from former
-- results
-- example: 'C:/OpenSpace/GlobeBrowsingData/Mercury'
openspace.absPath('${BASE}/../OpenSpaceData/Mercury'),
''
}
}
-- Add require statements for assets exporting the neccessary globes
-- here we add Mars, Moon and Mercury:
if AddMarsLayers then
asset.require('../scene/solarsystem/planets/mars/mars')
asset.require('../scene/solarsystem/planets/mars/mars')
else
vrt_folders['Mars'] = nil
vrt_folders['Mars'] = nil
end
if AddMoonLayers then
asset.require('../scene/solarsystem/planets/earth/moon/moon')
asset.require('../scene/solarsystem/planets/earth/moon/moon')
else
vrt_folders['Moon'] = nil
vrt_folders['Moon'] = nil
end
if AddMercuryLayers then
asset.require('../scene/solarsystem/planets/mercury/mercury')
asset.require('../scene/solarsystem/planets/mercury/mercury')
else
vrt_folders['Mercury'] = nil
vrt_folders['Mercury'] = nil
end
asset.onInitialize(function ()
-- Add local patches described at the top of this file
for obj, list in pairs(vrt_folders) do
for _, dir in pairs(list) do
if (dir ~= '') then
openspace.globebrowsing.addBlendingLayersFromDirectory(dir, obj)
-- Add local patches described at the top of this file
for obj, list in pairs(vrt_folders) do
for _, dir in pairs(list) do
if (dir ~= '') then
openspace.globebrowsing.addBlendingLayersFromDirectory(dir, obj)
if CreateFocusNodes then
openspace.globebrowsing.addFocusNodesFromDirectory(dir, obj)
end
end
if CreateFocusNodes then
openspace.globebrowsing.addFocusNodesFromDirectory(dir, obj)
end
end
end
end
end)

View File

@@ -1,13 +1,13 @@
local item = {
Type = "DashboardItemDate",
Identifier = "Date",
GuiName = "Date"
Type = "DashboardItemDate",
Identifier = "Date",
GuiName = "Date"
}
asset.onInitialize(function()
openspace.dashboard.addDashboardItem(item)
openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
openspace.dashboard.removeDashboardItem(item.Identifier)
openspace.dashboard.removeDashboardItem(item.Identifier)
end)

View File

@@ -1,13 +1,13 @@
local item = {
Type = "DashboardItemDistance",
Identifier = "Distance",
GuiName = "Distance"
Type = "DashboardItemDistance",
Identifier = "Distance",
GuiName = "Distance"
}
asset.onInitialize(function()
openspace.dashboard.addDashboardItem(item)
openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
openspace.dashboard.removeDashboardItem(item.Identifier)
openspace.dashboard.removeDashboardItem(item.Identifier)
end)

View File

@@ -1,13 +1,13 @@
local item = {
Type = "DashboardItemFramerate",
Identifier = "Framerate",
GuiName = "Framerate"
Type = "DashboardItemFramerate",
Identifier = "Framerate",
GuiName = "Framerate"
}
asset.onInitialize(function()
openspace.dashboard.addDashboardItem(item)
openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
openspace.dashboard.removeDashboardItem(item.Identifier)
openspace.dashboard.removeDashboardItem(item.Identifier)
end)

View File

@@ -1,13 +1,13 @@
local item = {
Type = "DashboardItemGlobeLocation",
Identifier = "GlobeLocation",
GuiName = "Globe Location"
Type = "DashboardItemGlobeLocation",
Identifier = "GlobeLocation",
GuiName = "Globe Location"
}
asset.onInitialize(function()
openspace.dashboard.addDashboardItem(item)
openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
openspace.dashboard.removeDashboardItem(item.Identifier)
openspace.dashboard.removeDashboardItem(item.Identifier)
end)

View File

@@ -1,13 +1,13 @@
local item = {
Type = "DashboardItemParallelConnection",
Identifier = "ParallelConnection",
GuiName = "Parallel Connection"
Type = "DashboardItemParallelConnection",
Identifier = "ParallelConnection",
GuiName = "Parallel Connection"
}
asset.onInitialize(function()
openspace.dashboard.addDashboardItem(item)
openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
openspace.dashboard.removeDashboardItem(item.Identifier)
openspace.dashboard.removeDashboardItem(item.Identifier)
end)

View File

@@ -1,13 +1,13 @@
local item = {
Type = "DashboardItemSimulationIncrement",
Identifier = "SimulationIncrement",
GuiName = "Simulation Increment"
Type = "DashboardItemSimulationIncrement",
Identifier = "SimulationIncrement",
GuiName = "Simulation Increment"
}
asset.onInitialize(function()
openspace.dashboard.addDashboardItem(item)
openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
openspace.dashboard.removeDashboardItem(item.Identifier)
openspace.dashboard.removeDashboardItem(item.Identifier)
end)

View File

@@ -1,14 +1,14 @@
local item = {
Type = "DashboardItemVelocity",
Identifier = "GlobeLocation",
Simplification = true,
GuiName = "Velocity"
Type = "DashboardItemVelocity",
Identifier = "GlobeLocation",
Simplification = true,
GuiName = "Velocity"
}
asset.onInitialize(function()
openspace.dashboard.addDashboardItem(item)
openspace.dashboard.addDashboardItem(item)
end)
asset.onDeinitialize(function()
openspace.dashboard.removeDashboardItem(item.Identifier)
openspace.dashboard.removeDashboardItem(item.Identifier)
end)

View File

@@ -14,14 +14,14 @@ asset.require('util/webgui')
local spheres = asset.require('examples/spheres')
debugHelper.registerCartesianAxes(asset, {
Parent = "Root",
Scale = 10
Parent = "Root",
Scale = 10
})
asset.onInitialize(function ()
openspace.navigation.setNavigationState({
Anchor = "Root",
Position = { 20, 20, 20 },
Up = {0, 1, 0},
})
openspace.navigation.setNavigationState({
Anchor = "Root",
Position = { 20, 20, 20 },
Up = {0, 1, 0},
})
end)

View File

@@ -1,50 +1,50 @@
local assetHelper = asset.require('util/asset_helper')
assetHelper.registerDashboardItems(asset, {
{
Type = "DashboardItemAngle",
Identifier = "Angle",
GuiName = "Angle",
ReferenceType = "Node",
ReferenceNodeName = "Earth",
DestinationType = "Node",
DestinationNodeName = "Moon"
},
{
Type = "DashboardItemDate",
Identifier = "Date",
GuiName = "Date"
},
{
Type = "DashboardItemSimulationIncrement",
Identifier = "SimulationIncrement",
GuiName = "Simulation Increment"
},
{
Type = "DashboardItemDistance",
Identifier = "Distance",
GuiName = "Distance"
},
{
Type = "DashboardItemFramerate",
Identifier = "Framerate",
GuiName = "Framerate"
},
{
Type = "DashboardItemParallelConnection",
Identifier = "ParallelConnection",
GuiName = "Parallel Connection"
},
{
Type = "DashboardItemMission",
Identifier = "Mission",
GuiName = "Mission"
},
{
Type = "DashboardItemPropertyValue",
Identifier = "asd",
GuiName = "adasd",
URI = "Scene.Earth.Renderable.Enabled",
DisplayString = "Earth is enabled: {}"
}
{
Type = "DashboardItemAngle",
Identifier = "Angle",
GuiName = "Angle",
ReferenceType = "Node",
ReferenceNodeName = "Earth",
DestinationType = "Node",
DestinationNodeName = "Moon"
},
{
Type = "DashboardItemDate",
Identifier = "Date",
GuiName = "Date"
},
{
Type = "DashboardItemSimulationIncrement",
Identifier = "SimulationIncrement",
GuiName = "Simulation Increment"
},
{
Type = "DashboardItemDistance",
Identifier = "Distance",
GuiName = "Distance"
},
{
Type = "DashboardItemFramerate",
Identifier = "Framerate",
GuiName = "Framerate"
},
{
Type = "DashboardItemParallelConnection",
Identifier = "ParallelConnection",
GuiName = "Parallel Connection"
},
{
Type = "DashboardItemMission",
Identifier = "Mission",
GuiName = "Mission"
},
{
Type = "DashboardItemPropertyValue",
Identifier = "asd",
GuiName = "adasd",
URI = "Scene.Earth.Renderable.Enabled",
DisplayString = "Earth is enabled: {}"
}
})

View File

@@ -4,16 +4,16 @@ local debugHelper = asset.require('util/debug_helper')
local earthRadius = 6.371E6
debugHelper.registerCartesianAxes(asset, {
Parent = transforms.EarthBarycenter.Identifier,
Scale = earthRadius * 3.5
Parent = transforms.EarthBarycenter.Identifier,
Scale = earthRadius * 3.5
})
debugHelper.registerCartesianAxes(asset, {
Parent = transforms.EarthInertial.Identifier,
Scale = earthRadius * 2.5
Parent = transforms.EarthInertial.Identifier,
Scale = earthRadius * 2.5
})
debugHelper.registerCartesianAxes(asset, {
Parent = transforms.EarthIAU.Identifier,
Scale = earthRadius * 1.5
Parent = transforms.EarthIAU.Identifier,
Scale = earthRadius * 1.5
})

View File

@@ -5,42 +5,42 @@ local cyanTexture = openspace.createSingeColorImage("example_disc_color1", {0.0,
local purpleTexture = openspace.createSingeColorImage("example_disc_color2", {0.5, 0.0, 0.5})
local BasicDisc = {
Identifier = "BasicDisc",
Renderable = {
Type = "RenderableDisc",
Texture = cyanTexture,
Size = 1e10,
Width = 0.5
},
GUI = {
Name = "Basic Disc",
Path = "/Examples/Discs"
}
Identifier = "BasicDisc",
Renderable = {
Type = "RenderableDisc",
Texture = cyanTexture,
Size = 1e10,
Width = 0.5
},
GUI = {
Name = "Basic Disc",
Path = "/Examples/Discs"
}
}
-- Elliptic discs can be created using a non-uniform scaling
-- For a full disc, use a width of 1.0
local FullEllipticDisc = {
Identifier = "FullEllipticDisc",
Transform = {
Scale = {
Type = "NonUniformStaticScale",
Scale = {2.0, 1.0, 1.0}
}
},
Renderable = {
Type = "RenderableDisc",
Texture = purpleTexture,
Size = 2e10,
Width = 1.0
},
GUI = {
Name = "Full Elliptic Disc",
Path = "/Examples/Discs"
Identifier = "FullEllipticDisc",
Transform = {
Scale = {
Type = "NonUniformStaticScale",
Scale = {2.0, 1.0, 1.0}
}
},
Renderable = {
Type = "RenderableDisc",
Texture = purpleTexture,
Size = 2e10,
Width = 1.0
},
GUI = {
Name = "Full Elliptic Disc",
Path = "/Examples/Discs"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
BasicDisc,
FullEllipticDisc
BasicDisc,
FullEllipticDisc
})

View File

@@ -4,71 +4,71 @@ local sunTransforms = asset.require('scene/solarsystem/sun/transforms')
local textures = asset.syncedResource({
Name = "New Horizons Textures",
Type = "HttpSynchronization",
Identifier = "newhorizons_textures",
Version = 3
Name = "New Horizons Textures",
Type = "HttpSynchronization",
Identifier = "newhorizons_textures",
Version = 3
})
local models = asset.syncedResource({
Name = "New Horizons Model",
Type = "HttpSynchronization",
Identifier = "newhorizons_model",
Version = 1
Name = "New Horizons Model",
Type = "HttpSynchronization",
Identifier = "newhorizons_model",
Version = 1
})
local Example_Fixed_Height = {
Identifier = "Example_Fixed_Height",
Parent = earth.Earth.Identifier,
Transform = {
Translation = {
Type = "GlobeTranslation",
Globe = earth.Earth.Identifier,
Longitude = 0.0,
Latitude = 0.0,
FixedAltitude = 10000000.0
}
},
Renderable = {
Type = "RenderableModel",
Body = "NEW HORIZONS",
Geometry = {{
Type = "MultiModelGeometry",
GeometryFile = models .. "/NewHorizonsCleanModel.obj",
ColorTexture = textures .. "/NHTexture.jpg"
}}
},
GUI = {
Path = "/Example"
Identifier = "Example_Fixed_Height",
Parent = earth.Earth.Identifier,
Transform = {
Translation = {
Type = "GlobeTranslation",
Globe = earth.Earth.Identifier,
Longitude = 0.0,
Latitude = 0.0,
FixedAltitude = 10000000.0
}
},
Renderable = {
Type = "RenderableModel",
Body = "NEW HORIZONS",
Geometry = {{
Type = "MultiModelGeometry",
GeometryFile = models .. "/NewHorizonsCleanModel.obj",
ColorTexture = textures .. "/NHTexture.jpg"
}}
},
GUI = {
Path = "/Example"
}
}
local Example_Adaptive_Height = {
Identifier = "Example_Adaptive_Height",
Parent = earth.Earth.Identifier,
Transform = {
Translation = {
Type = "GlobeTranslation",
Globe = earth.Earth.Identifier,
Longitude = -74.006,
Latitude = 40.7128
}
},
Renderable = {
Type = "RenderableModel",
Body = "NEW HORIZONS",
Geometry = {{
Type = "MultiModelGeometry",
GeometryFile = models .. "/NewHorizonsCleanModel.obj",
ColorTexture = textures .. "/NHTexture.jpg"
}}
},
GUI = {
Path = "/Example"
Identifier = "Example_Adaptive_Height",
Parent = earth.Earth.Identifier,
Transform = {
Translation = {
Type = "GlobeTranslation",
Globe = earth.Earth.Identifier,
Longitude = -74.006,
Latitude = 40.7128
}
},
Renderable = {
Type = "RenderableModel",
Body = "NEW HORIZONS",
Geometry = {{
Type = "MultiModelGeometry",
GeometryFile = models .. "/NewHorizonsCleanModel.obj",
ColorTexture = textures .. "/NHTexture.jpg"
}}
},
GUI = {
Path = "/Example"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
Example_Fixed_Height,
Example_Adaptive_Height
Example_Fixed_Height,
Example_Adaptive_Height
})

View File

@@ -3,97 +3,97 @@ local assetHelper = asset.require('util/asset_helper')
local scale = 149597870700 -- 1 AU
local radialGrid = {
Identifier = "ExampleRadialGrid",
Parent = "Root",
Transform = {
Scale = {
Type = "StaticScale",
Scale = scale
}
},
Renderable = {
Type = "RenderableRadialGrid",
Opacity = 0.8,
Color = { 0.6, 1.0, 0.7 },
LineWidth = 3.0,
GridSegments = { 3, 4 },
OuterRadius = 1.0,
InnerRadius = 0.2,
Enabled = false
},
GUI = {
Name = "Example Radial Grid",
Path = "/Examples/Grids"
Identifier = "ExampleRadialGrid",
Parent = "Root",
Transform = {
Scale = {
Type = "StaticScale",
Scale = scale
}
},
Renderable = {
Type = "RenderableRadialGrid",
Opacity = 0.8,
Color = { 0.6, 1.0, 0.7 },
LineWidth = 3.0,
GridSegments = { 3, 4 },
OuterRadius = 1.0,
InnerRadius = 0.2,
Enabled = false
},
GUI = {
Name = "Example Radial Grid",
Path = "/Examples/Grids"
}
}
local planarGrid = {
Identifier = "ExampleGrid",
Transform = {
Scale = {
Type = "StaticScale",
Scale = scale
}
},
Renderable = {
Type = "RenderableGrid",
Color = { 0.0, 1.0, 0.8 },
LineWidth = 2.0,
Segments = { 5, 10 },
Size = { 1, 2 },
Enabled = false
},
GUI = {
Name = "Example Grid",
Path = "/Examples/Grids"
Identifier = "ExampleGrid",
Transform = {
Scale = {
Type = "StaticScale",
Scale = scale
}
},
Renderable = {
Type = "RenderableGrid",
Color = { 0.0, 1.0, 0.8 },
LineWidth = 2.0,
Segments = { 5, 10 },
Size = { 1, 2 },
Enabled = false
},
GUI = {
Name = "Example Grid",
Path = "/Examples/Grids"
}
}
local sphericalGrid = {
Identifier = "ExampleSphericalGrid",
Transform = {
Scale = {
Type = "StaticScale",
Scale = scale
}
},
Renderable = {
Type = "RenderableSphericalGrid",
Color = { 1.0, 0.5, 0.2 },
LineWidth = 2.0,
Segments = 40,
Enabled = false
},
GUI = {
Name = "Example Spherical Grid",
Path = "/Examples/Grids"
Identifier = "ExampleSphericalGrid",
Transform = {
Scale = {
Type = "StaticScale",
Scale = scale
}
},
Renderable = {
Type = "RenderableSphericalGrid",
Color = { 1.0, 0.5, 0.2 },
LineWidth = 2.0,
Segments = 40,
Enabled = false
},
GUI = {
Name = "Example Spherical Grid",
Path = "/Examples/Grids"
}
}
local boxGrid = {
Identifier = "ExampleBoxGrid",
Transform = {
Scale = {
Type = "StaticScale",
Scale = scale
}
},
Renderable = {
Type = "RenderableBoxGrid",
Color = { 0.5, 0.0, 1.0 },
LineWidth = 2.0,
Size = { 2, 2, 2 },
Enabled = false
},
GUI = {
Name = "Example Box Grid",
Path = "/Examples/Grids"
Identifier = "ExampleBoxGrid",
Transform = {
Scale = {
Type = "StaticScale",
Scale = scale
}
},
Renderable = {
Type = "RenderableBoxGrid",
Color = { 0.5, 0.0, 1.0 },
LineWidth = 2.0,
Size = { 2, 2, 2 },
Enabled = false
},
GUI = {
Name = "Example Box Grid",
Path = "/Examples/Grids"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
radialGrid,
planarGrid,
sphericalGrid,
boxGrid
radialGrid,
planarGrid,
sphericalGrid,
boxGrid
})

View File

@@ -3,50 +3,50 @@ local assetHelper = asset.require('util/asset_helper')
local scale = 149597870700 -- 1 AU
local circle = {
Identifier = "ExampleCircle",
Transform = {
Scale = {
Type = "StaticScale",
Scale = scale
}
},
Renderable = {
Type = "RenderableRadialGrid",
Color = { 0.6, 0.6, 0.8 },
LineWidth = 3.0,
GridSegments = { 1, 1 },
CircleSegments = 64,
OuterRadius = 1.0
},
GUI = {
Name = "Example Circle",
Path = "/Examples/Primitives"
Identifier = "ExampleCircle",
Transform = {
Scale = {
Type = "StaticScale",
Scale = scale
}
},
Renderable = {
Type = "RenderableRadialGrid",
Color = { 0.6, 0.6, 0.8 },
LineWidth = 3.0,
GridSegments = { 1, 1 },
CircleSegments = 64,
OuterRadius = 1.0
},
GUI = {
Name = "Example Circle",
Path = "/Examples/Primitives"
}
}
local ellipse = {
Identifier = "ExampleEllipse",
Transform = {
Scale = {
Type = "NonUniformStaticScale",
Scale = {1.5, 1.0, 1.0}
}
},
Renderable = {
Type = "RenderableRadialGrid",
Color = { 0.6, 0.8, 0.6 },
LineWidth = 3.0,
GridSegments = { 1, 1 },
CircleSegments = 64,
OuterRadius = scale
},
GUI = {
Name = "Example Ellipse",
Path = "/Examples/Primitives"
Identifier = "ExampleEllipse",
Transform = {
Scale = {
Type = "NonUniformStaticScale",
Scale = {1.5, 1.0, 1.0}
}
},
Renderable = {
Type = "RenderableRadialGrid",
Color = { 0.6, 0.8, 0.6 },
LineWidth = 3.0,
GridSegments = { 1, 1 },
CircleSegments = 64,
OuterRadius = scale
},
GUI = {
Name = "Example Ellipse",
Path = "/Examples/Primitives"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
circle,
ellipse
circle,
ellipse
})

View File

@@ -6,18 +6,18 @@ local transforms = asset.require("scene/solarsystem/sun/transforms")
local RenderablePlaneImageOnline = {
Identifier = "RenderablePlaneImageOnline",
Parent = transforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderablePlaneImageOnline",
Size = 3.0E11,
Origin = "Center",
Billboard = true,
URL = "http://data.openspaceproject.com/examples/renderableplaneimageonline.jpg"
},
GUI = {
Path = "/Examples"
}
Identifier = "RenderablePlaneImageOnline",
Parent = transforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderablePlaneImageOnline",
Size = 3.0E11,
Origin = "Center",
Billboard = true,
URL = "http://data.openspaceproject.com/examples/renderableplaneimageonline.jpg"
},
GUI = {
Path = "/Examples"
}
}

View File

@@ -1,10 +1,10 @@
local assetHelper = asset.require('util/asset_helper')
local spec = {
Type = "ScreenSpaceBrowser",
Identifier = "ScreenSpaceBrowserExample",
Name = "Screen Space Browser Example",
Url = "https://www.openspaceproject.com/"
Type = "ScreenSpaceBrowser",
Identifier = "ScreenSpaceBrowserExample",
Name = "Screen Space Browser Example",
Url = "https://www.openspaceproject.com/"
};
assetHelper.registerScreenSpaceRenderables(asset, { spec })

View File

@@ -6,17 +6,17 @@ local transforms = asset.require("scene/solarsystem/sun/transforms")
local Spout = {
Identifier = "Spouty",
Parent = transforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderablePlaneSpout",
Size = 3.0E11,
Origin = "Center",
Billboard = true
},
GUI = {
Path = "/Examples"
}
Identifier = "Spouty",
Parent = transforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderablePlaneSpout",
Size = 3.0E11,
Origin = "Center",
Billboard = true
},
GUI = {
Path = "/Examples"
}
}

View File

@@ -2,42 +2,41 @@ local helper = asset.require('util/slide_deck_helper')
local deck = nil
asset.onInitialize(function ()
deck = helper.createDeck("example", {
UseRadiusAzimuthElevation = true,
RadiusAzimuthElevation = {1.0, 0.0, 0.0}, -- use for dome
UsePerspectiveProjection = true,
FaceCamera = true,
Scale = 0.7
})
deck = helper.createDeck("example", {
UseRadiusAzimuthElevation = true,
RadiusAzimuthElevation = {1.0, 0.0, 0.0}, -- use for dome
UsePerspectiveProjection = true,
FaceCamera = true,
Scale = 0.7
})
helper.addSlide(deck, "${DATA}/test2.jpg")
helper.addSlide(deck, "${DATA}/test3.jpg")
helper.addSlide(deck, "${DATA}/test2.jpg")
helper.addSlide(deck, "${DATA}/test3.jpg")
local interpolationDuration = 0.5
local interpolationDuration = 0.5
function nextSlide()
helper.goToNextSlide(deck, interpolationDuration)
end
function nextSlide()
helper.goToNextSlide(deck, interpolationDuration)
end
function previousSlide()
helper.goToPreviousSlide(deck, interpolationDuration)
end
function previousSlide()
helper.goToPreviousSlide(deck, interpolationDuration)
end
function toggleSlides()
helper.toggleSlides(deck, interpolationDuration)
end
helper.setCurrentSlide(deck, 1)
openspace.bindKey("KP_6", "nextSlide()", "Next slide", "Next slide", "/Slides")
openspace.bindKey("KP_4", "previousSlide()", "Previous slide", "Previous slide", "/Slides")
openspace.bindKey("KP_0", "toggleSlides()", "Toggle slides", "Toggle slides", "/Slides")
function toggleSlides()
helper.toggleSlides(deck, interpolationDuration)
end
helper.setCurrentSlide(deck, 1)
openspace.bindKey("KP_6", "nextSlide()", "Next slide", "Next slide", "/Slides")
openspace.bindKey("KP_4", "previousSlide()", "Previous slide", "Previous slide", "/Slides")
openspace.bindKey("KP_0", "toggleSlides()", "Toggle slides", "Toggle slides", "/Slides")
end)
asset.onDeinitialize(function()
openspace.clearKey("KP_6")
openspace.clearKey("KP_4")
openspace.clearKey("KP_0")
helper.removeDeck(deck)
openspace.clearKey("KP_6")
openspace.clearKey("KP_4")
openspace.clearKey("KP_0")
helper.removeDeck(deck)
end)

View File

@@ -2,33 +2,32 @@ local assetHelper = asset.require('util/asset_helper')
local i = 1
for z=1,3 do
for y=1,3 do
for x=1,3 do
local sphere = {
Identifier = "ExampleSphere" .. i,
Transform = {
Translation = {
Type = "StaticTranslation",
Position = {x, y, z}
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = true,
Size = 0.20 + i * 0.01,
Segments = 80,
Opacity = 1,
Texture = openspace.absPath("${DATA}/test2.jpg"),
Orientation = "Both",
},
GUI = {
Name = "Test Sphere " .. i,
Path = "/Other/Spheres"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { sphere })
i = i + 1
end
for y=1,3 do
for x=1,3 do
local sphere = {
Identifier = "ExampleSphere" .. i,
Transform = {
Translation = {
Type = "StaticTranslation",
Position = {x, y, z}
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = true,
Size = 0.20 + i * 0.01,
Segments = 80,
Opacity = 1,
Texture = openspace.absPath("${DATA}/test2.jpg"),
Orientation = "Both",
},
GUI = {
Name = "Test Sphere " .. i,
Path = "/Other/Spheres"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { sphere })
i = i + 1
end
end
end

View File

@@ -1,48 +1,47 @@
local stateMachineHelper = asset.require('util/state_machine_helper')
states = {
{
Title = "Highlight EarthTrail",
Play = function ()
openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 10, 1)
end,
Rewind = function ()
openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 2, 1)
end
},
{
Title = "Highlight MarsTrail",
Play = function ()
openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 2, 1)
openspace.setPropertyValue("Scene.MarsTrail.Renderable.LineWidth", 10, 1)
end,
Rewind = function ()
openspace.setPropertyValue("Scene.MarsTrail.Renderable.LineWidth", 2, 1)
openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 10, 1)
end
}
{
Title = "Highlight EarthTrail",
Play = function ()
openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 10, 1)
end,
Rewind = function ()
openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 2, 1)
end
},
{
Title = "Highlight MarsTrail",
Play = function ()
openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 2, 1)
openspace.setPropertyValue("Scene.MarsTrail.Renderable.LineWidth", 10, 1)
end,
Rewind = function ()
openspace.setPropertyValue("Scene.MarsTrail.Renderable.LineWidth", 2, 1)
openspace.setPropertyValue("Scene.EarthTrail.Renderable.LineWidth", 10, 1)
end
}
}
local stateMachine
function next()
stateMachine.goToNextState()
stateMachine.goToNextState()
end
function previous()
stateMachine.goToPreviousState()
stateMachine.goToPreviousState()
end
asset.onInitialize(function ()
stateMachine = stateMachineHelper.createStateMachine(states)
openspace.bindKey('RIGHT', 'next()')
openspace.bindKey('LEFT', 'previous()')
stateMachine = stateMachineHelper.createStateMachine(states)
openspace.bindKey('RIGHT', 'next()')
openspace.bindKey('LEFT', 'previous()')
end)
asset.onDeinitialize(function ()
stateMachine = nil
openspace.clearKey('RIGHT')
openspace.clearKey('LEFT')
stateMachine = nil
openspace.clearKey('RIGHT')
openspace.clearKey('LEFT')
end)

View File

@@ -3,48 +3,48 @@
local assetHelper = asset.require("util/asset_helper")
asset.syncedResource({
Name = "Example Single",
Type = "UrlSynchronization",
Identifier = "example_single",
Url = "http://celestrak.com/NORAD/elements/geo.txt"
Name = "Example Single",
Type = "UrlSynchronization",
Identifier = "example_single",
Url = "http://celestrak.com/NORAD/elements/geo.txt"
})
asset.syncedResource({
Name = "Example Multiple",
Type = "UrlSynchronization",
Identifier = "example_multiple",
Url = {
"http://celestrak.com/NORAD/elements/stations.txt",
"http://celestrak.com/NORAD/elements/gps-ops.txt",
}
Name = "Example Multiple",
Type = "UrlSynchronization",
Identifier = "example_multiple",
Url = {
"http://celestrak.com/NORAD/elements/stations.txt",
"http://celestrak.com/NORAD/elements/gps-ops.txt",
}
})
asset.syncedResource({
Name = "Example Large",
Type = "UrlSynchronization",
Identifier = "example_large",
Url = "http://ipv4.download.thinkbroadband.com/100MB.zip",
Override = true
Name = "Example Large",
Type = "UrlSynchronization",
Identifier = "example_large",
Url = "http://ipv4.download.thinkbroadband.com/100MB.zip",
Override = true
})
asset.syncedResource({
Name = "Example Medium",
Type = "UrlSynchronization",
Identifier = "example_medium",
Url = "http://ipv4.download.thinkbroadband.com/5MB.zip",
Override = true
Name = "Example Medium",
Type = "UrlSynchronization",
Identifier = "example_medium",
Url = "http://ipv4.download.thinkbroadband.com/5MB.zip",
Override = true
})
asset.syncedResource({
Name = "Example No ident",
Type = "UrlSynchronization",
Url = "http://ipv4.download.thinkbroadband.com/5MB.zip"
Name = "Example No ident",
Type = "UrlSynchronization",
Url = "http://ipv4.download.thinkbroadband.com/5MB.zip"
})
asset.syncedResource({
Name = "Example No Hash",
Type = "UrlSynchronization",
Identifier = "no_hash",
Url = "http://wms.itn.liu.se/Mercury/Messenger_Mosaic/Messenger_Mosaic.wms",
UseHash = false
Name = "Example No Hash",
Type = "UrlSynchronization",
Identifier = "no_hash",
Url = "http://wms.itn.liu.se/Mercury/Messenger_Mosaic/Messenger_Mosaic.wms",
UseHash = false
})

View File

@@ -4,18 +4,18 @@ local assetHelper = asset.require("util/asset_helper")
local transforms = asset.require("scene/solarsystem/sun/transforms")
local ToyVolume = {
Identifier = "RenderableToyVolume",
Parent = transforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderableToyVolume",
Size = { 5, 5, 5 },
ScalingExponent = 11,
StepSize = 0.01,
Color = { 1, 0, 0 }
},
GUI = {
Path = "/Examples"
}
Identifier = "RenderableToyVolume",
Parent = transforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderableToyVolume",
Size = { 5, 5, 5 },
ScalingExponent = 11,
StepSize = 0.01,
Color = { 1, 0, 0 }
},
GUI = {
Path = "/Examples"
}
}
local objects = { ToyVolume }

View File

@@ -4,12 +4,12 @@ local bookmarkHelper = asset.require('util/generate_bookmarks')
local dataProvider = 'http://data.openspaceproject.com/files/bookmarks/v1/bookmarks.csv'
local bookmarksCSV = asset.syncedResource({
Identifier = 'openspace_bookmarks',
Name = 'OpenSpace Bookmarks',
Type = 'UrlSynchronization',
UseHash = false,
Override = true,
Url = dataProvider
Identifier = 'openspace_bookmarks',
Name = 'OpenSpace Bookmarks',
Type = 'UrlSynchronization',
UseHash = false,
Override = true,
Url = dataProvider
})
local nodes = {}

View File

@@ -3,46 +3,46 @@
local assetHelper = asset.require("util/asset_helper")
asset.syncedResource({
Type = "UrlSynchronization",
Name = "Icons",
Identifier = "planet_icons",
Url = {
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/earth.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/moon.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/jupiter.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/mars.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/mercury.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/neptune.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/saturn.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/uranus.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/venus.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/callisto.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/europa.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/ganymede.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/io.png",
},
UseHash = false
Type = "UrlSynchronization",
Name = "Icons",
Identifier = "planet_icons",
Url = {
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/earth.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/moon.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/jupiter.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/mars.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/mercury.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/neptune.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/saturn.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/uranus.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/venus.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/callisto.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/europa.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/ganymede.png",
"http://data.openspaceproject.com/files/webgui/assets/icons/solarsystem/io.png",
},
UseHash = false
})
asset.syncedResource({
Type = "UrlSynchronization",
Name = "Stories",
Identifier = "story_images",
Url = {
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_solarsystem.png",
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_jupitermoons.png",
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_earthweather.png",
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_mars.png",
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_galaxies.png",
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_example.png",
},
UseHash = false
Type = "UrlSynchronization",
Name = "Stories",
Identifier = "story_images",
Url = {
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_solarsystem.png",
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_jupitermoons.png",
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_earthweather.png",
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_mars.png",
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_galaxies.png",
"http://data.openspaceproject.com/files/webgui/assets/images/stories/story_example.png",
},
UseHash = false
})
asset.syncedResource({
Type = "UrlSynchronization",
Name = "Instructions",
Identifier = "images",
Url = "http://data.openspaceproject.com/files/webgui/assets/images/instructions.png",
UseHash = false
Type = "UrlSynchronization",
Name = "Instructions",
Identifier = "images",
Url = "http://data.openspaceproject.com/files/webgui/assets/images/instructions.png",
UseHash = false
})

View File

@@ -3,54 +3,53 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "2dF Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_2dF_textures",
Version = 2
Name = "2dF Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_2dF_textures",
Version = 2
})
local speck = asset.syncedResource({
Name = "2dF Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_2dF_speck",
Version = 2
Name = "2dF Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_2dF_speck",
Version = 2
})
local object = {
Identifier = "2dF",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 1.0,
File = speck .. "/2dF.speck",
Texture = textures .. "/point3A.png",
ColorMap = speck .. "/2dF.cmap",
ColorOption = { "redshift", "proximity" },
ColorRange = { { 0.0, 0.075 }, { 1.0, 25.0 } },
Unit = "Mpc",
ScaleFactor = 520.0,
BillboardMaxSize = 4.7,
EnablePixelSizeControl = true
},
GUI = {
Name = "2dF Galaxies",
Path = "/Universe/Galaxies",
Description = [[Census 229,293 galaxies. DU Version 1.7. <br>
The Two-degree Field (2dF) Survey was a project designed to map portions of the
extragalactic universe. The 2dF instrument was mounted on the 3.9-meter
(12.8-foot) Anglo-Australian Telescope (AAT), located 450 km (280 miles)
northwest of Sydney. The telescope has a two-degree field of view on the sky,
enabling large parts of the sky to be observed at one time. For each pointing of
the telescope, the instrument can acquire up to 400 spectra simultaneously via
optical fibers that feed into two spectrographs. Each spectrograph sees light
that is between 350 nm and 800 nm, spanning the visible spectrum. <br><br> The
2dF survey has three main components: the North Galactic Pole strip, the South
Galactic Pole strip, and the random fields that surround the South Galactic Pole
strip. The galaxy survey is composed of about 230,000 galaxies with brightness and
redshift measurements. (Description from URL) <br><br> Data Reference: 2dF Galaxy
Redshift Survey (2dFGRS Team, 1998-2003)]]
}
Identifier = "2dF",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 1.0,
File = speck .. "/2dF.speck",
Texture = textures .. "/point3A.png",
ColorMap = speck .. "/2dF.cmap",
ColorOption = { "redshift", "proximity" },
ColorRange = { { 0.0, 0.075 }, { 1.0, 25.0 } },
Unit = "Mpc",
ScaleFactor = 520.0,
BillboardMaxSize = 4.7,
EnablePixelSizeControl = true
},
GUI = {
Name = "2dF Galaxies",
Path = "/Universe/Galaxies",
Description = [[Census 229,293 galaxies. DU Version 1.7. <br> The Two-degree Field
(2dF) Survey was a project designed to map portions of the extragalactic universe. The
2dF instrument was mounted on the 3.9-meter (12.8-foot) Anglo-Australian Telescope
(AAT), located 450 km (280 miles) northwest of Sydney. The telescope has a two-degree
field of view on the sky, enabling large parts of the sky to be observed at one time.
For each pointing of the telescope, the instrument can acquire up to 400 spectra
simultaneously via optical fibers that feed into two spectrographs. Each spectrograph
sees light that is between 350 nm and 800 nm, spanning the visible spectrum. <br><br>
The 2dF survey has three main components: the North Galactic Pole strip, the South
Galactic Pole strip, and the random fields that surround the South Galactic Pole
strip. The galaxy survey is composed of about 230,000 galaxies with brightness and
redshift measurements. (Description from URL) <br><br> Data Reference: 2dF Galaxy
Redshift Survey (2dFGRS Team, 1998-2003)]]
}
}
@@ -58,11 +57,11 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "2dF Galaxies",
Version = "2.0",
Description = [[Digital Universe asset for the The Two-degree Field (2dF) Survey.]],
Author = "Brian Abbott (AMNH), Eric Gawiser (Rutgers U)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"2dF"}
Name = "2dF Galaxies",
Version = "2.0",
Description = [[Digital Universe asset for the The Two-degree Field (2dF) Survey.]],
Author = "Brian Abbott (AMNH), Eric Gawiser (Rutgers U)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"2dF"}
}

View File

@@ -3,49 +3,49 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "2MASS Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_2mass_textures",
Version = 2
Name = "2MASS Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_2mass_textures",
Version = 2
})
local speck = asset.syncedResource({
Name = "2MASS Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_2mass_speck",
Version = 1
Name = "2MASS Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_2mass_speck",
Version = 1
})
local object = {
Identifier = "2MASS",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 0.4, 0.2 },
Opacity = 1.0,
File = speck .. "/2MASS.speck",
Texture = textures .. "/point3A.png",
ColorMap = speck .. "/lss.cmap",
ColorOption = { "redshift", "prox5Mpc" },
ColorRange = { { 0.0, 0.075 }, { 1.0, 50.0 } },
Unit = "Mpc",
CorrectionSizeEndDistance = 20.6,
CorrectionSizeFactor = 15.0,
ScaleFactor = 510.78,
BillboardMaxSize = 11.15,
EnablePixelSizeControl = true
},
GUI = {
Name = "2MASS Galaxies",
Path = "/Universe/Galaxies",
Description = [[ The Two Micron All-Sky Survey (2MASS) is an infrared survey
of the sky published in 2003. Because it is looking in the infrared, and
this is a composite of the 2MASS point-source catalog, most of the light
from this survey is starlight. In visible light, clouds of gas and dust
obscure our view. However, in infrared, the longer wavelengths of light can
penetrate these clouds without being scattered, thereby revealing stars
that would normally be hidden to our eye. (Description from URL)]],
}
Identifier = "2MASS",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 0.4, 0.2 },
Opacity = 1.0,
File = speck .. "/2MASS.speck",
Texture = textures .. "/point3A.png",
ColorMap = speck .. "/lss.cmap",
ColorOption = { "redshift", "prox5Mpc" },
ColorRange = { { 0.0, 0.075 }, { 1.0, 50.0 } },
Unit = "Mpc",
CorrectionSizeEndDistance = 20.6,
CorrectionSizeFactor = 15.0,
ScaleFactor = 510.78,
BillboardMaxSize = 11.15,
EnablePixelSizeControl = true
},
GUI = {
Name = "2MASS Galaxies",
Path = "/Universe/Galaxies",
Description = [[ The Two Micron All-Sky Survey (2MASS) is an infrared survey of the
sky published in 2003. Because it is looking in the infrared, and this is a composite
of the 2MASS point-source catalog, most of the light from this survey is starlight. In
visible light, clouds of gas and dust obscure our view. However, in infrared, the
longer wavelengths of light can penetrate these clouds without being scattered,
thereby revealing stars that would normally be hidden to our eye.
(Description from URL)]]
}
}
@@ -53,12 +53,12 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "2MASS Galaxies",
Version = "1.0",
Description = [[ Digital Universe asset for the Two Micron All-Sky Survey (2MASS)
survey]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"2MASS"}
Name = "2MASS Galaxies",
Version = "1.0",
Description = [[ Digital Universe asset for the Two Micron All-Sky Survey (2MASS)
survey]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"2MASS"}
}

View File

@@ -3,51 +3,51 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "6dF Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_6dF_textures",
Version = 2
Name = "6dF Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_6dF_textures",
Version = 2
})
local speck = asset.syncedResource({
Name = "6dF Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_6dF_speck",
Version = 2
Name = "6dF Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_6dF_speck",
Version = 2
})
local object = {
Identifier = "6dF",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 0.0 },
Opacity = 1.0,
File = speck .. "/6dF.speck",
Texture = textures .. "/point3A.png",
ColorMap = speck .. "/6dF.cmap",
ColorOption = { "redshift", "proximity" },
ColorRange = { { 0.0, 0.075 }, { 1.0, 10.0 } },
Unit = "Mpc",
ScaleFactor = 534.0,
BillboardMaxSize = 9.0,
EnablePixelSizeControl = true,
},
GUI = {
Name = "6dF Galaxies",
Path = "/Universe/Galaxies",
Description = [[Census 109,569 galaxies. DU Version 1.4.<br> The Six-degree Field
(6dF) Galaxy Survey mapped nearly half the sky from the Anglo-Australian
Observatory. Unlike previous datasets, this one is not all-sky, meaning there
are patches of sky that are not covered. In this case, the entire northern
hemisphere has no coverage at all. This catalog overlaps with the Tully
dataset, and there is a noticeable difference in the quality of these
datasets. Tully is much tighter and the structure is more apparent, while the
6dF data are more spread out. This is because of local motions within galaxy
clusters have not been corrected in these data. (Description from URL)
<br><br> Data Reference: The 6dF Galaxy Survey Redshift Catalogue
(Jones+, 2009)]]
}
Identifier = "6dF",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 0.0 },
Opacity = 1.0,
File = speck .. "/6dF.speck",
Texture = textures .. "/point3A.png",
ColorMap = speck .. "/6dF.cmap",
ColorOption = { "redshift", "proximity" },
ColorRange = { { 0.0, 0.075 }, { 1.0, 10.0 } },
Unit = "Mpc",
ScaleFactor = 534.0,
BillboardMaxSize = 9.0,
EnablePixelSizeControl = true,
},
GUI = {
Name = "6dF Galaxies",
Path = "/Universe/Galaxies",
Description = [[Census 109,569 galaxies. DU Version 1.4.<br> The Six-degree Field
(6dF) Galaxy Survey mapped nearly half the sky from the Anglo-Australian
Observatory. Unlike previous datasets, this one is not all-sky, meaning there
are patches of sky that are not covered. In this case, the entire northern
hemisphere has no coverage at all. This catalog overlaps with the Tully
dataset, and there is a noticeable difference in the quality of these
datasets. Tully is much tighter and the structure is more apparent, while the
6dF data are more spread out. This is because of local motions within galaxy
clusters have not been corrected in these data. (Description from URL)
<br><br> Data Reference: The 6dF Galaxy Survey Redshift Catalogue
(Jones+, 2009)]]
}
}
@@ -55,11 +55,11 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "6dF Galaxies",
Version = "2.0",
Description = [[Digital Universe asset for The Six-degree Field (6dF) Galaxy Survey]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"6dF"}
Name = "6dF Galaxies",
Version = "2.0",
Description = [[Digital Universe asset for The Six-degree Field (6dF) Galaxy Survey]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"6dF"}
}

View File

@@ -3,60 +3,60 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Abell Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_abell_textures",
Version = 2
Name = "Abell Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_abell_textures",
Version = 2
})
local speck = asset.syncedResource({
Name = "Abell Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_abell_speck",
Version = 2
Name = "Abell Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_abell_speck",
Version = 2
})
local object = {
Identifier = "Abell",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 0.4, 0.2 },
Opacity = 1.0,
--ColorMap = speck .. "/abell.cmap",
File = speck .. "/abell.speck",
Texture = textures .. "/point3A.png",
LabelFile = speck .. "/abell.label",
TextColor = { 0.0, 0.8, 0.0 },
TextSize = 22,
TextMinSize = 10.0,
Unit = "Mpc",
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
ScaleFactor = 520.0,
BillboardMaxSize = 7.0,
EnablePixelSizeControl = true
Identifier = "Abell",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 0.4, 0.2 },
Opacity = 1.0,
--ColorMap = speck .. "/abell.cmap",
File = speck .. "/abell.speck",
Texture = textures .. "/point3A.png",
LabelFile = speck .. "/abell.label",
TextColor = { 0.0, 0.8, 0.0 },
TextSize = 22,
TextMinSize = 10.0,
Unit = "Mpc",
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
GUI = {
Name = "Abell Galaxy Clusters",
Path = "/Universe/Galaxies",
Description = [[Census 2,246 galaxies. DU Version 1.4. <br> The Abell catalog
includes all the nearby, and not so nearby, galaxy clusters. The northern
hemisphere survey, published in 1958, was compiled by George Abell (19271983)
from the Palomar Sky Survey plates. A subsequent southern hemisphere catalog
was published posthumously in 1989. Further analysis by Brent Tully determined
their distance and three-dimensional distribution. Each point in this data set
represents a cluster of tens to hundreds (possibly even thousands) of
galaxies, similar to the Virgo or Fornax Clusters. You will notice some points
are assigned colors while most are gray. The data set also has an arbitrary
cut-off for completeness, resulting in the rectangular shape of the data set.
(Description from URL) <br><br> Data Reference: Abell Clusters of Rich
Galaxies, Brent Tully (U Hawaii), Stuart Levy (NCSA/UIUC)]],
}
ScaleFactor = 520.0,
BillboardMaxSize = 7.0,
EnablePixelSizeControl = true
},
GUI = {
Name = "Abell Galaxy Clusters",
Path = "/Universe/Galaxies",
Description = [[Census 2,246 galaxies. DU Version 1.4. <br> The Abell catalog
includes all the nearby, and not so nearby, galaxy clusters. The northern
hemisphere survey, published in 1958, was compiled by George Abell (19271983)
from the Palomar Sky Survey plates. A subsequent southern hemisphere catalog
was published posthumously in 1989. Further analysis by Brent Tully determined
their distance and three-dimensional distribution. Each point in this data set
represents a cluster of tens to hundreds (possibly even thousands) of
galaxies, similar to the Virgo or Fornax Clusters. You will notice some points
are assigned colors while most are gray. The data set also has an arbitrary
cut-off for completeness, resulting in the rectangular shape of the data set.
(Description from URL) <br><br> Data Reference: Abell Clusters of Rich
Galaxies, Brent Tully (U Hawaii), Stuart Levy (NCSA/UIUC)]],
}
}
@@ -64,11 +64,11 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Abell Galaxy Clusters",
Version = "2.0",
Description = [[Digital Universe asset for The Abell catalog]],
Author = "Stuart Levy (NCSA/UIUC), Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Abell"}
Name = "Abell Galaxy Clusters",
Version = "2.0",
Description = [[Digital Universe asset for The Abell catalog]],
Author = "Stuart Levy (NCSA/UIUC), Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Abell"}
}

View File

@@ -3,48 +3,48 @@ local assetHelper = asset.require('util/asset_helper')
local speck = asset.syncedResource({
Name = "Alternate Star Labels Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_alternatestarlabels_speck",
Version = 1
Name = "Alternate Star Labels Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_alternatestarlabels_speck",
Version = 1
})
local object = {
Identifier = "StarLabelsAlternate",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.65,
LabelFile = speck .. "/stars-altlbl.label",
TextColor = { 0.4, 0.4, 0.4 },
DrawLabels = true,
TextSize = 14.7,
TextMinSize = 6.0,
Unit = "pc"
},
GUI = {
Name = "Stars Labels - Alternate",
Path = "/Milky Way/Stars",
Description = [[Census 3,550 star names. DU Version 1.7. <br>The main star data
identify the accepted IAU star names for the brightest stars. However, astronomers
have long cataloged thousands of stars beyond the brightest ones we see. Several
attempts over thousands of years to name all the visible stars have led to two
main catalogs: Johann Bayer's Catalog from 1603 and John Flamsteed's Catalog
published in 1725. (Description from URL) <br><br> Data Reference: Various
sources]],
}
Identifier = "StarLabelsAlternate",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.65,
LabelFile = speck .. "/stars-altlbl.label",
TextColor = { 0.4, 0.4, 0.4 },
DrawLabels = true,
TextSize = 14.7,
TextMinSize = 6.0,
Unit = "pc"
},
GUI = {
Name = "Stars Labels - Alternate",
Path = "/Milky Way/Stars",
Description = [[Census 3,550 star names. DU Version 1.7. <br>The main star data
identify the accepted IAU star names for the brightest stars. However, astronomers
have long cataloged thousands of stars beyond the brightest ones we see. Several
attempts over thousands of years to name all the visible stars have led to two
main catalogs: Johann Bayer's Catalog from 1603 and John Flamsteed's Catalog
published in 1725. (Description from URL) <br><br> Data Reference: Various
sources]],
}
}
asset.meta = {
Name = "Stars Labels - Alternate",
Version = "1.0",
Description = [[Digital Universe asset for alternate start labels]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"StarLabelsAlternate"}
Name = "Stars Labels - Alternate",
Version = "1.0",
Description = [[Digital Universe asset for alternate start labels]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"StarLabelsAlternate"}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })

View File

@@ -2,134 +2,134 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.require('./backgroundradiation_textures').textures
local speck = asset.syncedResource({
Name = "Background Radiation Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_backgroundradiation_speck",
Version = 1
Name = "Background Radiation Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_backgroundradiation_speck",
Version = 1
})
local wmap = {
Identifier = "WMAP",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.5,
Texture = textures .. "/wmap_ilc_7yr_v4_200uK_RGB_sos.png",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Wilkinson Microwave Anisotropy Probe (WMAP)",
Path = "/Universe/Cosmic Microwave Background"
Identifier = "WMAP",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.5,
Texture = textures .. "/wmap_ilc_7yr_v4_200uK_RGB_sos.png",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Wilkinson Microwave Anisotropy Probe (WMAP)",
Path = "/Universe/Cosmic Microwave Background"
}
}
local cbe = {
Identifier = "CBE",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.5,
Texture = textures .. "/COBErect.png",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Cosmic Background Explorer",
Path = "/Universe/Cosmic Microwave Background"
Identifier = "CBE",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.5,
Texture = textures .. "/COBErect.png",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Cosmic Background Explorer",
Path = "/Universe/Cosmic Microwave Background"
}
}
local planck = {
Identifier = "Planck",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = true,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.3,
Texture = textures .. "/cmb4k.jpg",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Planck",
Path = "/Universe/Cosmic Microwave Background"
Identifier = "Planck",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = true,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.3,
Texture = textures .. "/cmb4k.jpg",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Planck",
Path = "/Universe/Cosmic Microwave Background"
}
}
local Halpha = {
Identifier = "HAlpha",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = {0, 0, 3.14159265359}
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 9.2E21,
Segments = 40,
Opacity = 0.4,
Texture = textures .. "/mwHalpha-f.png",
Orientation = "Inside",
UseAdditiveBlending = true,
MirrorTexture = true,
FadeOutThreshold = 0.025,
Background = true
},
GUI = {
Name = "H Alpha",
Path = "/Milky Way/All Sky Images"
Identifier = "HAlpha",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = {0, 0, 3.14159265359}
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 9.2E21,
Segments = 40,
Opacity = 0.4,
Texture = textures .. "/mwHalpha-f.png",
Orientation = "Inside",
UseAdditiveBlending = true,
MirrorTexture = true,
FadeOutThreshold = 0.025,
Background = true
},
GUI = {
Name = "H Alpha",
Path = "/Milky Way/All Sky Images"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
wmap, cbe, planck, Halpha
wmap, cbe, planck, Halpha
})
asset.meta = {
Name = "Background Radiation",
Version = "2.0",
Description = [[Various AllSky images for the Milky Way and observable Universe.
Included: Wilkinson Microwave Anisotropy Probe (WMAP), Cosmic Background Explorer,
Planck, and H Alpha <br><br> Data Reference: Planck/ESA and the Planck
Collaboration, Wilkinson Microwave Anisotropy Probe/NASA, Doug
Finkbeiner (Princeton)]],
Author = "Brian Abbott (AMNH), OpenSpace Team",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"WMAP", "CBE", "Planck", "HAlpha"}
Name = "Background Radiation",
Version = "2.0",
Description = [[Various AllSky images for the Milky Way and observable Universe.
Included: Wilkinson Microwave Anisotropy Probe (WMAP), Cosmic Background Explorer,
Planck, and H Alpha <br><br> Data Reference: Planck/ESA and the Planck
Collaboration, Wilkinson Microwave Anisotropy Probe/NASA, Doug
Finkbeiner (Princeton)]],
Author = "Brian Abbott (AMNH), OpenSpace Team",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"WMAP", "CBE", "Planck", "HAlpha"}
}

View File

@@ -2,140 +2,140 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.require('./backgroundradiation_textures').textures
local multiverse_planck_1 = {
Identifier = "PlanckMultiverse1",
Transform = {
Translation = {
Type = "StaticTranslation",
Position = { 0.0, 0.0, 2000E23}
},
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
Identifier = "PlanckMultiverse1",
Transform = {
Translation = {
Type = "StaticTranslation",
Position = { 0.0, 0.0, 2000E23}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.3,
Texture = textures .. "/cmb4k.jpg",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Planck Multiverse 1",
Path = "/Universe/Cosmic Microwave Background"
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.3,
Texture = textures .. "/cmb4k.jpg",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Planck Multiverse 1",
Path = "/Universe/Cosmic Microwave Background"
}
}
local multiverse_planck_2 = {
Identifier = "PlanckMultiverse2",
Transform = {
Translation = {
Type = "StaticTranslation",
Position = { 2500E23, 0.0, 2000E23}
},
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
Identifier = "PlanckMultiverse2",
Transform = {
Translation = {
Type = "StaticTranslation",
Position = { 2500E23, 0.0, 2000E23}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.3,
Texture = textures .. "/cmb4k.jpg",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Planck Multiverse 2",
Path = "/Universe/Cosmic Microwave Background"
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.3,
Texture = textures .. "/cmb4k.jpg",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Planck Multiverse 2",
Path = "/Universe/Cosmic Microwave Background"
}
}
local multiverse_planck_3 = {
Identifier = "PlanckMultiverse3",
Transform = {
Translation = {
Type = "StaticTranslation",
Position = { 2500E23, 5000E23, 2000E23}
},
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
Identifier = "PlanckMultiverse3",
Transform = {
Translation = {
Type = "StaticTranslation",
Position = { 2500E23, 5000E23, 2000E23}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.3,
Texture = textures .. "/cmb4k.jpg",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Planck Multiverse 3",
Path = "/Universe/Cosmic Microwave Background"
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.3,
Texture = textures .. "/cmb4k.jpg",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Planck Multiverse 3",
Path = "/Universe/Cosmic Microwave Background"
}
}
local multiverse_planck_4 = {
Identifier = "PlanckMultiverse4",
Transform = {
Translation = {
Type = "StaticTranslation",
Position = { 0.0, 10000E23, 0.0 }
},
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
Identifier = "PlanckMultiverse4",
Transform = {
Translation = {
Type = "StaticTranslation",
Position = { 0.0, 10000E23, 0.0 }
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.3,
Texture = textures .. "/cmb4k.jpg",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Planck Multiverse 4",
Path = "/Universe/Cosmic Microwave Background"
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
Renderable = {
Type = "RenderableSphere",
Enabled = false,
Size = 3975.41417036064E23,
Segments = 80,
Opacity = 0.3,
Texture = textures .. "/cmb4k.jpg",
Orientation = "Both",
MirrorTexture = true,
UseAdditiveBlending = true,
FadeInThreshold = 0.4
},
GUI = {
Name = "Planck Multiverse 4",
Path = "/Universe/Cosmic Microwave Background"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
multiverse_planck_1, multiverse_planck_2, multiverse_planck_3, multiverse_planck_4
multiverse_planck_1, multiverse_planck_2, multiverse_planck_3, multiverse_planck_4
})
asset.meta = {
Name = "Multiverse Background Radiation",
Version = "2.0",
Description = [[ Non-physical representation of the location of hypothetical
cosmic microwave background radiation images how they would be observed from other
locations in the universe. <br> This is not a measured dataset!]],
Author = "Brian Abbott (AMNH), OpenSpace Team",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = { "PlanckMultiverse1", "PlanckMultiverse2",
"PlanckMultiverse3", "PlanckMultiverse4" }
Name = "Multiverse Background Radiation",
Version = "2.0",
Description = [[ Non-physical representation of the location of hypothetical
cosmic microwave background radiation images how they would be observed from other
locations in the universe. <br> This is not a measured dataset!]],
Author = "Brian Abbott (AMNH), OpenSpace Team",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = { "PlanckMultiverse1", "PlanckMultiverse2",
"PlanckMultiverse3", "PlanckMultiverse4" }
}

View File

@@ -1,8 +1,8 @@
local textures = asset.syncedResource({
Name = "Background Radiation Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_backgroundradiation_textures",
Version = 2
Name = "Background Radiation Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_backgroundradiation_textures",
Version = 2
})
asset.export('textures', textures)

View File

@@ -3,52 +3,52 @@ local assetHelper = asset.require('util/asset_helper')
local speck = asset.syncedResource({
Name = "Clusters Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_clusters_speck",
Version = 2
Name = "Clusters Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_clusters_speck",
Version = 2
})
local object = {
Identifier = "GalaxyClusterLabels",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.65,
LabelFile = speck .. "/galclust.label",
TextColor = { 1.0, 0.44, 0.0 },
DrawLabels = true,
TextSize = 22,
TextMinSize = 8.0,
Unit = "Mpc",
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
Identifier = "GalaxyClusterLabels",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.65,
LabelFile = speck .. "/galclust.label",
TextColor = { 1.0, 0.44, 0.0 },
DrawLabels = true,
TextSize = 22,
TextMinSize = 8.0,
Unit = "Mpc",
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
GUI = {
Name = "Galaxy Cluster Labels",
Path = "/Universe/Galaxies",
Description = [[Census 15 galaxy cluster labels. DU Version 1.2. <br>The Galaxy
clusters dataset is a series of labels that mark where the large clusters of
galaxies are in the nearby universe. These labels must be used in conjunction
with the Tully galaxy group.(Description from URL) <br><br> Data Reference:
Brian Abbott (AMNH)]],
}
},
GUI = {
Name = "Galaxy Cluster Labels",
Path = "/Universe/Galaxies",
Description = [[Census 15 galaxy cluster labels. DU Version 1.2. <br>The Galaxy
clusters dataset is a series of labels that mark where the large clusters of
galaxies are in the nearby universe. These labels must be used in conjunction
with the Tully galaxy group.(Description from URL) <br><br> Data Reference:
Brian Abbott (AMNH)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Galaxy Clusters Labels",
Version = "1.0",
Description = [[Digital Universe asset for Galaxy Clusters]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"GalaxyClusterLabels"}
Name = "Galaxy Clusters Labels",
Version = "1.0",
Description = [[Digital Universe asset for Galaxy Clusters]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"GalaxyClusterLabels"}
}

View File

@@ -3,55 +3,55 @@ local assetHelper = asset.require('util/asset_helper')
local data = asset.syncedResource({
Name = "Constellation Bounds Data",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_constellationbounds_data",
Version = 1
Name = "Constellation Bounds Data",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_constellationbounds_data",
Version = 1
})
local zodiacs = {
"Cancer", "Taurus", "Pisces", "Aries", "Libra", "Aquarius", "Capricornus", "Scorpius",
"Virgo", "Sagittarius", "Gemini", "Leo"
"Cancer", "Taurus", "Pisces", "Aries", "Libra", "Aquarius", "Capricornus", "Scorpius",
"Virgo", "Sagittarius", "Gemini", "Leo"
}
local object = {
Identifier = "ConstellationBounds",
Renderable = {
Type = "RenderableConstellationBounds",
Enabled = false,
File = data .. "/bound_20.dat",
ConstellationFile = data .. "/constellations.dat"
-- ConstellationSelection = zodiacs
Identifier = "ConstellationBounds",
Renderable = {
Type = "RenderableConstellationBounds",
Enabled = false,
File = data .. "/bound_20.dat",
ConstellationFile = data .. "/constellations.dat"
-- ConstellationSelection = zodiacs
},
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "J2000",
DestinationFrame = "GALACTIC"
},
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "J2000",
DestinationFrame = "GALACTIC"
},
Scale = {
Type = "StaticScale",
Scale = 10e17
}
},
GUI = {
Name = "Constellation Bounds",
Path = "/Milky Way/Constellations",
Description = [[A Spherical mesh dividing the sky into regions that fit the
constellations.]],
Scale = {
Type = "StaticScale",
Scale = 10e17
}
},
GUI = {
Name = "Constellation Bounds",
Path = "/Milky Way/Constellations",
Description = [[A Spherical mesh dividing the sky into regions that fit the
constellations.]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Constellation Bounds",
Version = "1.0",
Description = [[DU asset providing a Spherical mesh dividing the sky into regions that
fit the constellations.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"ConstellationBounds"}
Name = "Constellation Bounds",
Version = "1.0",
Description = [[DU asset providing a Spherical mesh dividing the sky into regions that
fit the constellations.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"ConstellationBounds"}
}

View File

@@ -3,74 +3,74 @@ local assetHelper = asset.require('util/asset_helper')
local speck = asset.syncedResource({
Name = "Constellation Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_constellations_speck",
Version = 2
Name = "Constellation Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_constellations_speck",
Version = 2
})
local constellationsExtragalactic = {
Identifier = "ConstellationsExtragalactic",
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 0.4,
File = speck .. "/constellationsEXGAL.speck",
LabelFile = speck .. "/constellationsEXGAL.label",
TextColor = { 0.8, 0.8, 0.8 },
TextOpacity = 0.4,
TextSize = 20.0,
TextMinSize = 20.0,
TextMaxSize = 30.0,
MeshColor = { { 0.6, 0.4, 0.4 }, { 0.8, 0.0, 0.0 }, { 0.0, 0.3, 0.8 } },
Unit = "Mpc"
},
GUI = {
Name = "Constellations (Extragalactic)",
Path = "/Milky Way/Constellations"
}
Identifier = "ConstellationsExtragalactic",
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 0.4,
File = speck .. "/constellationsEXGAL.speck",
LabelFile = speck .. "/constellationsEXGAL.label",
TextColor = { 0.8, 0.8, 0.8 },
TextOpacity = 0.4,
TextSize = 20.0,
TextMinSize = 20.0,
TextMaxSize = 30.0,
MeshColor = { { 0.6, 0.4, 0.4 }, { 0.8, 0.0, 0.0 }, { 0.0, 0.3, 0.8 } },
Unit = "Mpc"
},
GUI = {
Name = "Constellations (Extragalactic)",
Path = "/Milky Way/Constellations"
}
}
local constellations = {
Identifier = "Constellations",
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 0.3,
File = speck .. "/constellations.speck",
LabelFile = speck .. "/constellations.label",
TextColor = { 0.8, 0.8, 0.8 },
TextOpacity = 0.3,
TextSize = 14.5,
TextMaxSize = 170.0,
TextMinSize = 8.0,
MeshColor = { { 0.6, 0.4, 0.4 }, { 0.8, 0.0, 0.0 }, { 0.0, 0.3, 0.8 } },
Unit = "pc"
},
GUI = {
Name = "Constellations",
Path = "/Milky Way/Constellations",
Description = [[Census 88 constellations and labels. DU Version 2.3. <br> These
modern constellations are largely based on those of the Babylonians and
Greeks; however, most cultures have their own figures and stories of the sky.
More than half the official constellations adopted by scientists in 1930 were
known to the ancients over 2,000 years ago. Each star falls into one of these
88 regions. Of course, today we know the stars in any given constellation do
not necessarily have any physical relationship with one another. One star may
be nearby, while an adjacent star in the sky may be far away.(Description
from URL) <br><br> Data Reference: various]],
}
Identifier = "Constellations",
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 0.3,
File = speck .. "/constellations.speck",
LabelFile = speck .. "/constellations.label",
TextColor = { 0.8, 0.8, 0.8 },
TextOpacity = 0.3,
TextSize = 14.5,
TextMaxSize = 170.0,
TextMinSize = 8.0,
MeshColor = { { 0.6, 0.4, 0.4 }, { 0.8, 0.0, 0.0 }, { 0.0, 0.3, 0.8 } },
Unit = "pc"
},
GUI = {
Name = "Constellations",
Path = "/Milky Way/Constellations",
Description = [[Census 88 constellations and labels. DU Version 2.3. <br> These
modern constellations are largely based on those of the Babylonians and
Greeks; however, most cultures have their own figures and stories of the sky.
More than half the official constellations adopted by scientists in 1930 were
known to the ancients over 2,000 years ago. Each star falls into one of these
88 regions. Of course, today we know the stars in any given constellation do
not necessarily have any physical relationship with one another. One star may
be nearby, while an adjacent star in the sky may be far away.(Description
from URL) <br><br> Data Reference: various]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { constellationsExtragalactic, constellations })
asset.meta = {
Name = "Constellations",
Version = "1.0",
Description = [[Digital Universe asset for constellation lines]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Constellations", "ConstellationsExtragalactic"}
Name = "Constellations",
Version = "1.0",
Description = [[Digital Universe asset for constellation lines]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Constellations", "ConstellationsExtragalactic"}
}

View File

@@ -1,110 +1,109 @@
local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Deep Sky Objects Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_deepsky_textures",
Version = 1
Name = "Deep Sky Objects Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_deepsky_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Deep Sky Objects Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_deepsky_speck",
Version = 1
Name = "Deep Sky Objects Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_deepsky_speck",
Version = 1
})
local deepSkyPoints = {
Identifier = "DeepSkyObjects",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 0.0 },
Opacity = 0.99,
ScaleFactor = 500.0,
File = speck .. "/dso.speck",
Texture = textures .. "/point3.png",
--ColorMap = speck .. "/tully.cmap",
--ColorMap = speck .. "/lss.cmap",
--ColorOption = { "proximity" },
--ColorOption = { "prox5Mpc" },
--ColorRange = { { 1.0, 30.0 } },
LabelFile = speck .. "/dso.label",
TextColor = { 0.1, 0.4, 0.6 },
TextSize = 20.50,
TextMinSize = 16.0,
Unit = "pc",
-- Fade in value in the same unit as "Unit"
--FadeInDistances = { 0.05, 1.0 },
-- Max size in pixels
BillboardMaxSize = 8.22,
BillboardMinSize = 0.0,
--CorrectionSizeEndDistance = 22.0,
--CorrectionSizeFactor = 10.45
EnablePixelSizeControl = true
},
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
GUI = {
Name = "Deep Sky Objects Points",
Path = "/Universe/Galaxies",
Description = [[Point cloud and labels for Deep Sky Objects]]
Identifier = "DeepSkyObjects",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 0.0 },
Opacity = 0.99,
ScaleFactor = 500.0,
File = speck .. "/dso.speck",
Texture = textures .. "/point3.png",
--ColorMap = speck .. "/tully.cmap",
--ColorMap = speck .. "/lss.cmap",
--ColorOption = { "proximity" },
--ColorOption = { "prox5Mpc" },
--ColorRange = { { 1.0, 30.0 } },
LabelFile = speck .. "/dso.label",
TextColor = { 0.1, 0.4, 0.6 },
TextSize = 20.50,
TextMinSize = 16.0,
Unit = "pc",
-- Fade in value in the same unit as "Unit"
--FadeInDistances = { 0.05, 1.0 },
-- Max size in pixels
BillboardMaxSize = 8.22,
BillboardMinSize = 0.0,
--CorrectionSizeEndDistance = 22.0,
--CorrectionSizeFactor = 10.45
EnablePixelSizeControl = true
},
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = { 0, 0, 3.14159265359 }
}
},
GUI = {
Name = "Deep Sky Objects Points",
Path = "/Universe/Galaxies",
Description = [[Point cloud and labels for Deep Sky Objects]]
}
}
local deepSkyImages = {
Identifier = "DeepSkyObjectsImages",
Renderable = {
Type = "RenderablePlanesCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.99,
ScaleFactor = 1.0,
File = speck .. "/dso.speck",
TexturePath = textures,
Luminosity = "radius",
ScaleLuminosity = 0.001,
Unit = "pc",
-- Fade in value in the same unit as "Unit"
--FadeInDistances = {0.001, 0.05010},
PlaneMinSize = 5.0
},
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = {3.14159265359, 3.14159265359, 0 }
}
},
GUI = {
Name = "Deep Sky Objects Images",
Path = "/Universe/Galaxies",
Description = [[Census: 63 images and labels. DU Version 1.3. <br> These data are
2-D images of Messier objects placed in 3-D space. Not only do we place these
images at the proper location and give them the correct orientation, we also
size them accurately so that you can fly to the globular cluster M13, for
example, and see just how small the cluster of hundreds of thousands of stars
is relative to the rest of the Galaxy. Included Messier Objects by number are:
6, 7, 11, 16, 18, 21, 23-26, 29, 34-39, 41, 46-48, 50, 52, 67, 93, 103, 2-5,
9, 10, 12-15, 19, 22, 28, 30, 53-56, 68-72, 75, 79, 80, 92, 107, 27, 57, 76,
97, 8, 17, 20, 78, 1 (Description from URL) <br><br> Data Reference: Largely
NOAO and various other sources (each image has a ref)]],
Identifier = "DeepSkyObjectsImages",
Renderable = {
Type = "RenderablePlanesCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.99,
ScaleFactor = 1.0,
File = speck .. "/dso.speck",
TexturePath = textures,
Luminosity = "radius",
ScaleLuminosity = 0.001,
Unit = "pc",
-- Fade in value in the same unit as "Unit"
--FadeInDistances = {0.001, 0.05010},
PlaneMinSize = 5.0
},
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = {3.14159265359, 3.14159265359, 0 }
}
},
GUI = {
Name = "Deep Sky Objects Images",
Path = "/Universe/Galaxies",
Description = [[Census: 63 images and labels. DU Version 1.3. <br> These data are
2-D images of Messier objects placed in 3-D space. Not only do we place these
images at the proper location and give them the correct orientation, we also
size them accurately so that you can fly to the globular cluster M13, for
example, and see just how small the cluster of hundreds of thousands of stars
is relative to the rest of the Galaxy. Included Messier Objects by number are:
6, 7, 11, 16, 18, 21, 23-26, 29, 34-39, 41, 46-48, 50, 52, 67, 93, 103, 2-5,
9, 10, 12-15, 19, 22, 28, 30, 53-56, 68-72, 75, 79, 80, 92, 107, 27, 57, 76,
97, 8, 17, 20, 78, 1 (Description from URL) <br><br> Data Reference: Largely
NOAO and various other sources (each image has a ref)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { deepSkyPoints, deepSkyImages })
asset.meta = {
Name = "Deep Sky Objects Images",
Version = "1.0",
Description = [[Digital Universe asset for Deep Sky Objects and their Images]],
Author = "Nate Greenstein, Matt Everhart, Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"DeepSkyObjects", "DeepSkyObjectsImages"}
Name = "Deep Sky Objects Images",
Version = "1.0",
Description = [[Digital Universe asset for Deep Sky Objects and their Images]],
Author = "Nate Greenstein, Matt Everhart, Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"DeepSkyObjects", "DeepSkyObjectsImages"}
}

View File

@@ -3,74 +3,74 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Brown Dwarf Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_dwarfs_textures",
Version = 1
Name = "Brown Dwarf Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_dwarfs_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Brown Dwarf Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_dwarfs_speck",
Version = 2
Name = "Brown Dwarf Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_dwarfs_speck",
Version = 2
})
local object = {
Identifier = "Dwarfs",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.4, 0.0, 0.1 },
Opacity = 1.0,
File = speck .. "/dwarfs.speck",
Texture = textures .. "/point3.png",
LabelFile = speck .. "/dwarfs.label",
ColorMap = speck .. "/dwarfs.cmap",
ColorOption = { "typeindex" },
--ColorRange = { { 1.0, 4.0} },
TextColor = { 0.5, 0.1, 0.2 },
TextSize = 14.6,
TextMinSize = 10.0,
ScaleFactor = 372.1,
--CorrectionSizeEndDistance = 16.1,
--CorrectionSizeFactor = 7.75,
BillboardMaxSize = 20.0,
EnablePixelSizeControl = true,
Unit = "pc"
},
GUI = {
Name = "Brown Dwarfs",
Path = "/Milky Way",
Description = [[Census: 785 L dwarfs, 101 T dwarfs, 17 Y dwarfs. DU Version 6.4.
<br> In astronomy, there are dwarf stars-red, white, and brown-dwarf novae,
and even dwarf galaxies. As you might imagine, astronomers use the term dwarf
when they refer to the smaller objects in any given class. For decades it was
believed that M stars were the coolest stars in the Galaxy. Some M stars,
called red dwarfs, make up 70% of the stars in the Galaxy, including our
nearest known neighbor, Proxima Centauri. However, a new class of objects,
even cooler than M stars, was recently discovered and given a spectral type
of L. L-type objects straddle the boundary between red dwarfs and brown
dwarfs, the latter of which are not massive enough to ignite the nuclear
processes necessary for it to shine as a star. L-type objects are typically
very dim stars or brown dwarfs. Even cooler than L-type objects are T-type
objects. These are mostly brown dwarfs and resemble large, massive,
Jupiter-like objects, too large to be planets and typically too small to be
stars. Beyond the T dwarfs are the Y-type objects, which are even more
dim.(Description from URL) <br><br> Data Reference: The Brown Dwarf Kinematics
Project (Faherty+ 2019)]]
}
Identifier = "Dwarfs",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.4, 0.0, 0.1 },
Opacity = 1.0,
File = speck .. "/dwarfs.speck",
Texture = textures .. "/point3.png",
LabelFile = speck .. "/dwarfs.label",
ColorMap = speck .. "/dwarfs.cmap",
ColorOption = { "typeindex" },
--ColorRange = { { 1.0, 4.0} },
TextColor = { 0.5, 0.1, 0.2 },
TextSize = 14.6,
TextMinSize = 10.0,
ScaleFactor = 372.1,
--CorrectionSizeEndDistance = 16.1,
--CorrectionSizeFactor = 7.75,
BillboardMaxSize = 20.0,
EnablePixelSizeControl = true,
Unit = "pc"
},
GUI = {
Name = "Brown Dwarfs",
Path = "/Milky Way",
Description = [[Census: 785 L dwarfs, 101 T dwarfs, 17 Y dwarfs. DU Version 6.4.
<br> In astronomy, there are dwarf stars-red, white, and brown-dwarf novae,
and even dwarf galaxies. As you might imagine, astronomers use the term dwarf
when they refer to the smaller objects in any given class. For decades it was
believed that M stars were the coolest stars in the Galaxy. Some M stars,
called red dwarfs, make up 70% of the stars in the Galaxy, including our
nearest known neighbor, Proxima Centauri. However, a new class of objects,
even cooler than M stars, was recently discovered and given a spectral type
of L. L-type objects straddle the boundary between red dwarfs and brown
dwarfs, the latter of which are not massive enough to ignite the nuclear
processes necessary for it to shine as a star. L-type objects are typically
very dim stars or brown dwarfs. Even cooler than L-type objects are T-type
objects. These are mostly brown dwarfs and resemble large, massive,
Jupiter-like objects, too large to be planets and typically too small to be
stars. Beyond the T dwarfs are the Y-type objects, which are even more
dim.(Description from URL) <br><br> Data Reference: The Brown Dwarf Kinematics
Project (Faherty+ 2019)]]
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Brown Dwarfs",
Version = "2.0",
Description = [[Digital Universe asset for Brown Dwarfs]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Dwarfs"}
Name = "Brown Dwarfs",
Version = "2.0",
Description = [[Digital Universe asset for Brown Dwarfs]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Dwarfs"}
}

View File

@@ -3,63 +3,63 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Exoplanets Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_exoplanets_textures",
Version = 1
Name = "Exoplanets Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_exoplanets_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Exoplanets Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_exoplanets_speck",
Version = 2
Name = "Exoplanets Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_exoplanets_speck",
Version = 2
})
local object = {
Identifier = "Exoplanets",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 1.0,
ScaleFactor = 10.0,
Texture = textures .. "/target-blue.png",
File = speck .. "/expl.speck",
LabelFile = speck .. "/expl.label",
ScaleFactor = 388.67923,
TextColor = { 0.3, 0.3, 0.8 },
TextSize = 14.8,
TextMaxSize = 200.0,
TextMinSize = 10.0,
CorrectionSizeEndDistance = 15.23,
CorrectionSizeFactor = 13.3,
Unit = "pc",
BillboardMaxSize = 75.0,
EnablePixelSizeControl = true,
},
GUI = {
Name = "Exoplanets",
Path = "/Milky Way/Exoplanets",
Description = [[Census: 4,055 planets in 3,023 systems. DU Version 20.11. <br>
Extrasolar planets, or exoplanets, are a relatively new phenomenon in
astronomy. While many astronomers believed in their existence, no
observational evidence was available until 1995. Since that time, scientists
have discovered thousands of systems consisting of one or more planets around
a host star.(Description from URL) <br><br> Data Reference: NASA Exoplanet
Archive (CalTech/NASA)]],
}
Identifier = "Exoplanets",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 1.0,
ScaleFactor = 10.0,
Texture = textures .. "/target-blue.png",
File = speck .. "/expl.speck",
LabelFile = speck .. "/expl.label",
ScaleFactor = 388.67923,
TextColor = { 0.3, 0.3, 0.8 },
TextSize = 14.8,
TextMaxSize = 200.0,
TextMinSize = 10.0,
CorrectionSizeEndDistance = 15.23,
CorrectionSizeFactor = 13.3,
Unit = "pc",
BillboardMaxSize = 75.0,
EnablePixelSizeControl = true,
},
GUI = {
Name = "Exoplanets",
Path = "/Milky Way/Exoplanets",
Description = [[Census: 4,055 planets in 3,023 systems. DU Version 20.11. <br>
Extrasolar planets, or exoplanets, are a relatively new phenomenon in
astronomy. While many astronomers believed in their existence, no
observational evidence was available until 1995. Since that time, scientists
have discovered thousands of systems consisting of one or more planets around
a host star.(Description from URL) <br><br> Data Reference: NASA Exoplanet
Archive (CalTech/NASA)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Exoplanets",
Version = "1.0",
Description = [[Digital Universe asset for Exoplanets]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Exoplanets"}
Name = "Exoplanets",
Version = "1.0",
Description = [[Digital Universe asset for Exoplanets]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Exoplanets"}
}

View File

@@ -3,77 +3,77 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Globular Clusters Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_globularclusters_textures",
Version = 1
Name = "Globular Clusters Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_globularclusters_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Globular Clusters Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_globularclusters_speck",
Version = 2
Name = "Globular Clusters Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_globularclusters_speck",
Version = 2
})
local object = {
Identifier = "GlobularClusters",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.8, 0.8, 0.0 },
Opacity = 0.4,
File = speck .. "/gc.speck",
Texture = textures .. "/point4.png",
PolygonSides = 5,
LabelFile = speck .. "/gc.label",
TextColor = { 0.5, 0.5, 0.0 },
ScaleFactor = 431.0,
TextSize = 16.7,
TextMinSize = 4.0,
TextMaxSize = 20,
Unit = "pc",
BillboardMaxSize = 500,
EnablePixelSizeControl = true,
},
GUI = {
Name = "Globular Clusters",
Path = "/Milky Way",
Description = [[Census: 157 globular clusters. DU Version 2.6. <br>Globular star
clusters are gravitationally bound groups of 100,000 to 1 million stars. They
are compact, spherical “balls” of stars with very high stellar densities in
their centers (stars near their center are within a light year of one
another). These clusters are typically 30 to 100 light years in diameter. If
Earth were located inside one of these clusters, our sky would be lit by an
abundance of stars brighter than the Sun. The globular clusters form one of
the most complete data sets in the Atlas. Data for the clusters represent
almost all the clusters in our Galaxy—several on the opposite side of Galactic
center may be invisible to us. The clusters orbit the Milky Way in random
orientations, as comets orbit the Sun.(Description from URL) <br><br> Data
Reference: Properties of Galactic Globular Clusters, C. Francis+
(U Cambridge)]],
}
Identifier = "GlobularClusters",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.8, 0.8, 0.0 },
Opacity = 0.4,
File = speck .. "/gc.speck",
Texture = textures .. "/point4.png",
PolygonSides = 5,
LabelFile = speck .. "/gc.label",
TextColor = { 0.5, 0.5, 0.0 },
ScaleFactor = 431.0,
TextSize = 16.7,
TextMinSize = 4.0,
TextMaxSize = 20,
Unit = "pc",
BillboardMaxSize = 500,
EnablePixelSizeControl = true,
},
GUI = {
Name = "Globular Clusters",
Path = "/Milky Way",
Description = [[Census: 157 globular clusters. DU Version 2.6. <br>Globular star
clusters are gravitationally bound groups of 100,000 to 1 million stars. They
are compact, spherical “balls” of stars with very high stellar densities in
their centers (stars near their center are within a light year of one
another). These clusters are typically 30 to 100 light years in diameter. If
Earth were located inside one of these clusters, our sky would be lit by an
abundance of stars brighter than the Sun. The globular clusters form one of
the most complete data sets in the Atlas. Data for the clusters represent
almost all the clusters in our Galaxy—several on the opposite side of Galactic
center may be invisible to us. The clusters orbit the Milky Way in random
orientations, as comets orbit the Sun.(Description from URL) <br><br> Data
Reference: Properties of Galactic Globular Clusters, C. Francis+
(U Cambridge)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Globular Clusters",
Version = "2.0",
Description = [[Census: 157 globular clusters. DU Version 2.6. Globular star clusters
are gravitationally bound groups of 100,000 to 1 million stars. They are compact,
spherical “balls” of stars with very high stellar densities in their centers (stars
near their center are within a light year of one another). These clusters are
typically 30 to 100 light years in diameter. If Earth were located inside one of these
clusters, our sky would be lit by an abundance of stars brighter than the Sun. The
globular clusters form one of the most complete data sets in the Atlas. Data for the
clusters represent almost all the clusters in our Galaxy—several on the opposite side
of Galactic center may be invisible to us. The clusters orbit the Milky Way in random
orientations, as comets orbit the Sun.(Description from URL) <br><br> Data Reference:
Properties of Galactic Globular Clusters, C. Francis+ (U Cambridge)]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"GlobularClusters"}
Name = "Globular Clusters",
Version = "2.0",
Description = [[Census: 157 globular clusters. DU Version 2.6. Globular star clusters
are gravitationally bound groups of 100,000 to 1 million stars. They are compact,
spherical “balls” of stars with very high stellar densities in their centers (stars
near their center are within a light year of one another). These clusters are
typically 30 to 100 light years in diameter. If Earth were located inside one of these
clusters, our sky would be lit by an abundance of stars brighter than the Sun. The
globular clusters form one of the most complete data sets in the Atlas. Data for the
clusters represent almost all the clusters in our Galaxy—several on the opposite side
of Galactic center may be invisible to us. The clusters orbit the Milky Way in random
orientations, as comets orbit the Sun.(Description from URL) <br><br> Data Reference:
Properties of Galactic Globular Clusters, C. Francis+ (U Cambridge)]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"GlobularClusters"}
}

File diff suppressed because it is too large Load Diff

View File

@@ -3,52 +3,52 @@ local assetHelper = asset.require('util/asset_helper')
local speck = asset.syncedResource({
Name = "Galaxy Groups Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_groups_speck",
Version = 1
Name = "Galaxy Groups Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_groups_speck",
Version = 1
})
local object = {
Identifier = "NearbyGalaxyGroups",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.65,
--ScaleFactor = 10.0,
LabelFile = speck .. "/groups.label",
TextColor = { 0.1, 0.6, 0.2 },
TextSize = 21.5,
TextMinSize = 8.0,
Unit = "Mpc",
DrawLabels = true,
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
},
GUI = {
Name = "Galaxy Group Labels",
Path = "/Universe/Galaxies",
Description = [[Census: 62 galaxy group labels. DU Version 1.2. <br> The Galaxy
Groups data are a set of labels that mark the nearby galaxy groups. The Milky Way
is in the Local Group, and we are surrounded by many other groups.(Description
from URL) <br><br> Data Reference: Brian Abbott (AMNH)]]
Identifier = "NearbyGalaxyGroups",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.65,
--ScaleFactor = 10.0,
LabelFile = speck .. "/groups.label",
TextColor = { 0.1, 0.6, 0.2 },
TextSize = 21.5,
TextMinSize = 8.0,
Unit = "Mpc",
DrawLabels = true,
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
}
},
GUI = {
Name = "Galaxy Group Labels",
Path = "/Universe/Galaxies",
Description = [[Census: 62 galaxy group labels. DU Version 1.2. <br> The Galaxy
Groups data are a set of labels that mark the nearby galaxy groups. The Milky Way
is in the Local Group, and we are surrounded by many other groups.(Description
from URL) <br><br> Data Reference: Brian Abbott (AMNH)]]
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Galaxy Group Labels",
Version = "1.0",
Author = "Brian Abbott (AMNH)",
Description = [[Digital Universe asset for Galaxy Groups]],
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"NearbyGalaxyGroups"}
Name = "Galaxy Group Labels",
Version = "1.0",
Author = "Brian Abbott (AMNH)",
Description = [[Digital Universe asset for Galaxy Groups]],
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"NearbyGalaxyGroups"}
}

View File

@@ -3,65 +3,65 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "HII Regions Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_h2regions_textures",
Version = 1
Name = "HII Regions Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_h2regions_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "HII Regions Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_h2regions_speck",
Version = 3
Name = "HII Regions Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_h2regions_speck",
Version = 3
})
local object = {
Identifier = "HIIRegions",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.0, 0.5, 1.0 },
Opacity = 0.70,
File = speck .. "/h2.speck",
Texture = textures .."/point4.png",
PolygonSides = 6,
LabelFile = speck .. "/h2.label",
TextColor = { 0.5, 0.5, 0.5 },
ScaleFactor = 420,
TextSize = 16.24,
TextMinSize = 4.0,
TextMaxSize = 20.0,
Unit = "pc",
BillboardMaxSize = 300.0,
EnablePixelSizeControl = false
},
GUI = {
Name = "HII Regions",
Path = "/Milky Way",
Description = [[Census: 1,271 nebulae. DU Version 4.6. <br> H ii (pronounced
H-two) regions are stellar nurseries for newborn stars. Stars are born from
condensing clouds of hydrogen gas. As these clouds condense, the densities
become high enough to form stars. From Earth's perspective, you'll notice that
the H ii regions all lie close to the Galactic plane. This is not an accident
of nature. These star-forming regions lie in the plane of the Galaxy because
that is where star formation occurs in spiral galaxies such as our Milky Way.
Because of this, they are great tracers of the spiral arms of the Galaxy, and
were instrumental in our understanding of the Galaxy's overall structure
(Description from URL) <br><br> Data Reference: The WISE catalog of Galactic
HII Regions (Anderson+, 2014)]],
}
Identifier = "HIIRegions",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.0, 0.5, 1.0 },
Opacity = 0.70,
File = speck .. "/h2.speck",
Texture = textures .."/point4.png",
PolygonSides = 6,
LabelFile = speck .. "/h2.label",
TextColor = { 0.5, 0.5, 0.5 },
ScaleFactor = 420,
TextSize = 16.24,
TextMinSize = 4.0,
TextMaxSize = 20.0,
Unit = "pc",
BillboardMaxSize = 300.0,
EnablePixelSizeControl = false
},
GUI = {
Name = "HII Regions",
Path = "/Milky Way",
Description = [[Census: 1,271 nebulae. DU Version 4.6. <br> H ii (pronounced
H-two) regions are stellar nurseries for newborn stars. Stars are born from
condensing clouds of hydrogen gas. As these clouds condense, the densities
become high enough to form stars. From Earth's perspective, you'll notice that
the H ii regions all lie close to the Galactic plane. This is not an accident
of nature. These star-forming regions lie in the plane of the Galaxy because
that is where star formation occurs in spiral galaxies such as our Milky Way.
Because of this, they are great tracers of the spiral arms of the Galaxy, and
were instrumental in our understanding of the Galaxy's overall structure
(Description from URL) <br><br> Data Reference: The WISE catalog of Galactic
HII Regions (Anderson+, 2014)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "HII Regions",
Version = "1.0",
Description = [[Digital Universe asset for HII Regions]],
Author = "Carter Emmart, Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"HIIRegions"}
Name = "HII Regions",
Version = "1.0",
Description = [[Digital Universe asset for HII Regions]],
Author = "Carter Emmart, Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"HIIRegions"}
}

View File

@@ -10,53 +10,53 @@ local textures = asset.syncedResource({
})
local speck = asset.syncedResource({
Name = "Kepler Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_kepler_speck",
Version = 3
Name = "Kepler Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_kepler_speck",
Version = 3
})
local object = {
Identifier = "KeplerPlanetaryCandidates",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 0.0 },
Opacity = 0.99,
ScaleFactor = 410.0,
File = speck .. "/kepler.speck",
Texture = textures .. "/halo.png",
CorrectionSizeEndDistance = 15.86,
CorrectionSizeFactor = 8.59,
Unit = "pc",
BillboardMaxSize = 30.0,
EnablePixelSizeControl = true
},
GUI = {
Name = "Kepler Planetary Candidates",
Path = "/Milky Way/Exoplanets",
Description = [[Census: 3,254 stars. DU Version 9.3. <br> The exoplanet candidate
stars are likely hosts for exoplanets. These are stars plucked from NASA's Kepler
and TESS space telescopes. The Kepler mission was designed to stare at one spot,
roughly twelve degrees across, in the constellation Cygnus. By staring at one
spot, the spacecraft could monitor over 500,000 stars in that field for subtle
variations in brightness.The data included here are the stars that are considered
good candidates to host planets. Rather than represent them photo-realistically,
with accurate colors, we choose to visualize them as generic, pure yellow stars.
(Description from URL) <br><br> Data Reference: NASA Exoplanet Archive
(CalTech/NASA)]],
}
Identifier = "KeplerPlanetaryCandidates",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 0.0 },
Opacity = 0.99,
ScaleFactor = 410.0,
File = speck .. "/kepler.speck",
Texture = textures .. "/halo.png",
CorrectionSizeEndDistance = 15.86,
CorrectionSizeFactor = 8.59,
Unit = "pc",
BillboardMaxSize = 30.0,
EnablePixelSizeControl = true
},
GUI = {
Name = "Kepler Planetary Candidates",
Path = "/Milky Way/Exoplanets",
Description = [[Census: 3,254 stars. DU Version 9.3. <br> The exoplanet candidate
stars are likely hosts for exoplanets. These are stars plucked from NASA's Kepler
and TESS space telescopes. The Kepler mission was designed to stare at one spot,
roughly twelve degrees across, in the constellation Cygnus. By staring at one
spot, the spacecraft could monitor over 500,000 stars in that field for subtle
variations in brightness.The data included here are the stars that are considered
good candidates to host planets. Rather than represent them photo-realistically,
with accurate colors, we choose to visualize them as generic, pure yellow stars.
(Description from URL) <br><br> Data Reference: NASA Exoplanet Archive
(CalTech/NASA)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Kepler Planetary Candidates",
Version = "2.0",
Description = [[Digital Universe asset for Kepler Planetary Candidates]],
Author = "Brian Abbott, Emily Rice, and Jason No (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"KeplerPlanetaryCandidates"}
Name = "Kepler Planetary Candidates",
Version = "2.0",
Description = [[Digital Universe asset for Kepler Planetary Candidates]],
Author = "Brian Abbott, Emily Rice, and Jason No (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"KeplerPlanetaryCandidates"}
}

View File

@@ -3,66 +3,66 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Local Dwarfs Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_localdwarfs_textures",
Version = 1
Name = "Local Dwarfs Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_localdwarfs_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Local Dwarfs Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_localdwarfs_speck",
Version = 2
Name = "Local Dwarfs Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_localdwarfs_speck",
Version = 2
})
local object = {
Identifier = "LocalDwarfGalaxies",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.5, 1.0, 0.2 },
ColorMap = speck .. "/localgroup.cmap",
ColorOption = { "association" },
Opacity = 0.3,
File = speck .. "/localgroup.speck",
Texture = textures .. "/point4.png",
PolygonSides = 12,
LabelFile = speck .. "/localgroup.label",
TextColor = { 0.3, 0.3, 1.0 },
ScaleFactor = 465,
TextSize = 18.3,
TextMinSize = 7.3,
Unit = "Mpc",
BillboardMaxSize = 20.0,
EnablePixelSizeControl = true
},
GUI = {
Name = "Local Group",
Path = "/Universe/Galaxies",
Description = [[Census: 102 galaxies. DU Version 6.4. <br> A group of galaxies is
a small number of large galaxies that are typically surrounded by a large
number of small galaxies. The Milky Way belongs to the Local Group, and is one
of roughly 100 galaxies in that group. The Milky Way, the Andromeda Galaxy
(also known as Messier 31, or M31), and the Triangulum Galaxy (M33) are three
of the largest galaxies in the Local Group. Each is a spiral galaxy containing
hundreds of billions of stars. Surrounding the Milky Way and Andromeda are a
bevy of dwarf galaxies-smaller, often irregular galaxies, that contain
hundreds of millions to a few billion stars. (Description from URL) <br><br>
Data Reference: Properties of dwarf galaxies in the Local Group
(McConnachie+, 2012)]],
}
Identifier = "LocalDwarfGalaxies",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.5, 1.0, 0.2 },
ColorMap = speck .. "/localgroup.cmap",
ColorOption = { "association" },
Opacity = 0.3,
File = speck .. "/localgroup.speck",
Texture = textures .. "/point4.png",
PolygonSides = 12,
LabelFile = speck .. "/localgroup.label",
TextColor = { 0.3, 0.3, 1.0 },
ScaleFactor = 465,
TextSize = 18.3,
TextMinSize = 7.3,
Unit = "Mpc",
BillboardMaxSize = 20.0,
EnablePixelSizeControl = true
},
GUI = {
Name = "Local Group",
Path = "/Universe/Galaxies",
Description = [[Census: 102 galaxies. DU Version 6.4. <br> A group of galaxies is
a small number of large galaxies that are typically surrounded by a large
number of small galaxies. The Milky Way belongs to the Local Group, and is one
of roughly 100 galaxies in that group. The Milky Way, the Andromeda Galaxy
(also known as Messier 31, or M31), and the Triangulum Galaxy (M33) are three
of the largest galaxies in the Local Group. Each is a spiral galaxy containing
hundreds of billions of stars. Surrounding the Milky Way and Andromeda are a
bevy of dwarf galaxies-smaller, often irregular galaxies, that contain
hundreds of millions to a few billion stars. (Description from URL) <br><br>
Data Reference: Properties of dwarf galaxies in the Local Group
(McConnachie+, 2012)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Local Group",
Version = "2.0",
Description = [[Digital Universe asset for the Local Goup]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"LocalDwarfGalaxies"}
Name = "Local Group",
Version = "2.0",
Description = [[Digital Universe asset for the Local Goup]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"LocalDwarfGalaxies"}
}

View File

@@ -6,30 +6,30 @@ local plane = {
Identifier = "MilkyWayGalaxyImage",
Parent = "Root",
Renderable = {
Type = "RenderablePlanesCloud",
Enabled = true,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.99,
ScaleFactor = 2.8,
File = dataPaths.SpeckPath .. "/galaxy.speck",
TexturePath = dataPaths.TexturesPath,
Luminosity = "size",
ScaleLuminosity = 1.0,
FadeInDistances = { 3000.0, 50000.0 },
PlaneMinSize = 5.0,
Unit = "pc"
Type = "RenderablePlanesCloud",
Enabled = true,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.99,
ScaleFactor = 2.8,
File = dataPaths.SpeckPath .. "/galaxy.speck",
TexturePath = dataPaths.TexturesPath,
Luminosity = "size",
ScaleLuminosity = 1.0,
FadeInDistances = { 3000.0, 50000.0 },
PlaneMinSize = 5.0,
Unit = "pc"
},
GUI = {
Name = "Milky Way Galaxy Image",
Path = "/Universe/Galaxies",
Description = [[Census: 1 image. DU Version 2.2. <br> The exterior view of the
Milky Way is simply a two-dimensional image. The image is that of NGC 1232, a
galaxy thought to resemble our Milky Way. The image has been properly sized
and approximately oriented to function as a placeholder, allowing one to see
the context of the Galaxy relative to other data in the atlas. The features
you see in the image, of course, do not represent our Galaxy, per se, but
resemble similar features found in our Galaxy.(Description from URL)
<br><br> Data Reference: European Southern Observatory]]
Name = "Milky Way Galaxy Image",
Path = "/Universe/Galaxies",
Description = [[Census: 1 image. DU Version 2.2. <br> The exterior view of the
Milky Way is simply a two-dimensional image. The image is that of NGC 1232, a
galaxy thought to resemble our Milky Way. The image has been properly sized
and approximately oriented to function as a placeholder, allowing one to see
the context of the Galaxy relative to other data in the atlas. The features
you see in the image, of course, do not represent our Galaxy, per se, but
resemble similar features found in our Galaxy.(Description from URL)
<br><br> Data Reference: European Southern Observatory]]
}
}
@@ -37,12 +37,12 @@ assetHelper.registerSceneGraphNodesAndExport(asset, { plane })
asset.meta = {
Name = "MilkyWay Galaxy",
Version = "2.0",
Description = [[Digital Universe asset containt 2D image of the MilkyWay. For
extragalactic viewing]],
Author = "Brian Abbott, Carter Emmart (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"MilkyWayGalaxyImage"}
Name = "MilkyWay Galaxy",
Version = "2.0",
Description = [[Digital Universe asset containt 2D image of the MilkyWay. For
extragalactic viewing]],
Author = "Brian Abbott, Carter Emmart (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"MilkyWayGalaxyImage"}
}

View File

@@ -3,61 +3,61 @@ local assetHelper = asset.require('util/asset_helper')
local dataPaths = asset.require("scene/digitaluniverse/milkyway_data")
local plane = {
Identifier = "MilkyWayGalaxyArmLabelsImage",
Parent = "Root",
Renderable = {
Type = "RenderablePlanesCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.99,
ScaleFactor = 2.8,
File = dataPaths.SpeckPath .. "/galaxyArmLabels.speck",
TexturePath = dataPaths.TexturesPath,
Luminosity = "size",
ScaleLuminosity = 1.0,
FadeInDistances = { 3000.0, 50000.0 },
PlaneMinSize = 5.0,
Unit = "pc"
},
GUI = {
Name = "Milky Way Arms Labels",
Path = "/Universe/Galaxies",
Description = [[ Census: 1 image. DU Version: 1.2. This image contains labels for
the Milky Way's spiral arms. We label them in this manner ("hard coding" the
labels into an image rather than having native labels) so that they can retain
their size, shape, and location as they overlay the galaxy. (Description from
Digital Universe Data Profiles)]],
}
Identifier = "MilkyWayGalaxyArmLabelsImage",
Parent = "Root",
Renderable = {
Type = "RenderablePlanesCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.99,
ScaleFactor = 2.8,
File = dataPaths.SpeckPath .. "/galaxyArmLabels.speck",
TexturePath = dataPaths.TexturesPath,
Luminosity = "size",
ScaleLuminosity = 1.0,
FadeInDistances = { 3000.0, 50000.0 },
PlaneMinSize = 5.0,
Unit = "pc"
},
GUI = {
Name = "Milky Way Arms Labels",
Path = "/Universe/Galaxies",
Description = [[ Census: 1 image. DU Version: 1.2. This image contains labels for
the Milky Way's spiral arms. We label them in this manner ("hard coding" the
labels into an image rather than having native labels) so that they can retain
their size, shape, and location as they overlay the galaxy. (Description from
Digital Universe Data Profiles)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { plane })
asset.meta = {
Name = "Milky Way Arms Labels",
Version = "1.0",
Description = [[ Image with arm labels for the Milky Way galaxy]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = [[ Copyright &#169; American Museum of Natural History. All rights reserved.
<br><br> Downloading the Atlas: AMNH offers the Atlas free of charge via our
website, http://www.haydenplanetarium.org/. The User is free to download and/or
duplicate verbatim copies of the Atlas provided this license and copyright
information accompany the Atlas. <br><br> Modifying the Atlas: The user is free to
modify the Atlas by either adding data or altering existing data, provided it is
for personal use only. Once the user modifies the Atlas, it is no longer part of
AMNH's Atlas and cannot be used publicly alongside or within the Atlas without
written permission from AMNH. <br><br> Distributing the Atlas: The user is
forbidden to distribute and use the Atlas for profit, as part of a software and/or
production system that will subsequently be redistributed, or for public
consumption (via print, electronic media, or broadcast/produced pieces) without
written permission from AMNH. <br><br> Neither the names of American Museum of
Natural History and Hayden Planetarium nor the names of their contributors may be
used to endorse or promote products derived from this Atlas without specific,
prior written permission. <br><br> The Atlas is free but is offered WITHOUT ANY
WARRANTY of any kind. We provide the Atlas as is and take no responsibility for
any damage resulting from the use of this Atlas. The entire risk as to the quality
and performance of this product is with the user. <br><br> For more information,
please visit http://www.haydenplanetarium.org/universe]],
Identifiers = {"MilkyWayGalaxyArmLabelsImage"}
Name = "Milky Way Arms Labels",
Version = "1.0",
Description = [[ Image with arm labels for the Milky Way galaxy]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = [[ Copyright &#169; American Museum of Natural History. All rights reserved.
<br><br> Downloading the Atlas: AMNH offers the Atlas free of charge via our
website, http://www.haydenplanetarium.org/. The User is free to download and/or
duplicate verbatim copies of the Atlas provided this license and copyright
information accompany the Atlas. <br><br> Modifying the Atlas: The user is free to
modify the Atlas by either adding data or altering existing data, provided it is
for personal use only. Once the user modifies the Atlas, it is no longer part of
AMNH's Atlas and cannot be used publicly alongside or within the Atlas without
written permission from AMNH. <br><br> Distributing the Atlas: The user is
forbidden to distribute and use the Atlas for profit, as part of a software and/or
production system that will subsequently be redistributed, or for public
consumption (via print, electronic media, or broadcast/produced pieces) without
written permission from AMNH. <br><br> Neither the names of American Museum of
Natural History and Hayden Planetarium nor the names of their contributors may be
used to endorse or promote products derived from this Atlas without specific,
prior written permission. <br><br> The Atlas is free but is offered WITHOUT ANY
WARRANTY of any kind. We provide the Atlas as is and take no responsibility for
any damage resulting from the use of this Atlas. The entire risk as to the quality
and performance of this product is with the user. <br><br> For more information,
please visit http://www.haydenplanetarium.org/universe]],
Identifiers = {"MilkyWayGalaxyArmLabelsImage"}
}

View File

@@ -1,15 +1,15 @@
local planeTextures = asset.syncedResource({
Name = "Milky Way Plane Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_milkyway_textures",
Version = 2
Name = "Milky Way Plane Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_milkyway_textures",
Version = 2
})
local planeSpeck = asset.syncedResource({
Name = "Milky Way Plane Speck",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_milkyway_speck",
Version = 1
Name = "Milky Way Plane Speck",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_milkyway_speck",
Version = 1
})
asset.export("TexturesPath", planeTextures)

View File

@@ -4,54 +4,53 @@ local assetHelper = asset.require('util/asset_helper')
local homespeck = asset.syncedResource({
Name = "Home Speck File",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_home_speck",
Version = 1
Name = "Home Speck File",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_home_speck",
Version = 1
})
local homeLabel = {
Identifier = "HomeLabel",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 0.4, 0.2 },
Opacity = 0.99,
ScaleFactor = 500.0,
DrawLabels = true,
LabelFile = homespeck .. "/home.label",
TextColor = { 0.8, 0.8, 0.8 },
TextSize = 20.50,
TextMinSize = 16.0,
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
Unit = "Mpc",
FadeInDistances = { 0.05, 1.0 },
BillboardMaxSize = 8.22,
BillboardMinSize = 0.0,
EnablePixelSizeControl = true
Identifier = "HomeLabel",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 0.4, 0.2 },
Opacity = 0.99,
ScaleFactor = 500.0,
DrawLabels = true,
LabelFile = homespeck .. "/home.label",
TextColor = { 0.8, 0.8, 0.8 },
TextSize = 20.50,
TextMinSize = 16.0,
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
GUI = {
Name = "Home Label",
Path = "/Universe/Galaxies",
Description = [[Label for the Milky Way titled "Home", sided for the galactic
level]],
}
Unit = "Mpc",
FadeInDistances = { 0.05, 1.0 },
BillboardMaxSize = 8.22,
BillboardMinSize = 0.0,
EnablePixelSizeControl = true
},
GUI = {
Name = "Home Label",
Path = "/Universe/Galaxies",
Description = [[Label for the Milky Way titled "Home", sided for the galactic level]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { homeLabel })
asset.meta = {
Name = "Home Label",
Version = "1.0",
Description = [[Label for the Milky Way titled "Home", sided for the galactic level]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license",
Identifiers = {"HomeLabel"}
Name = "Home Label",
Version = "1.0",
Description = [[Label for the Milky Way titled "Home", sided for the galactic level]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license",
Identifiers = {"HomeLabel"}
}

View File

@@ -3,50 +3,50 @@ local assetHelper = asset.require('util/asset_helper')
local sphereTextures = asset.syncedResource({
Name = "Milky Way Sphere Textures",
Type = "HttpSynchronization",
Identifier = "milkyway_textures",
Version = 2
Name = "Milky Way Sphere Textures",
Type = "HttpSynchronization",
Identifier = "milkyway_textures",
Version = 2
})
local sphere = {
Identifier = "MilkyWay",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = {0, 0, 3.14159265359}
}
},
Renderable = {
Type = "RenderableSphere",
Size = 9.2E21,
Segments = 40,
Opacity = 0.35,
Texture = sphereTextures .. "/DarkUniverse_mellinger_4k.jpg",
Orientation = "Inside",
UseAdditiveBlending = true,
MirrorTexture = true,
FadeOutThreshold = 0.0015,
Background = true
},
GUI = {
Name = "Milky Way Sphere",
Path = "/Milky Way",
Description = [[All sky image of the Milky Way that is visible when inside. Fades
out when zooming away from the Milky Way]],
Identifier = "MilkyWay",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = {0, 0, 3.14159265359}
}
},
Renderable = {
Type = "RenderableSphere",
Size = 9.2E21,
Segments = 40,
Opacity = 0.35,
Texture = sphereTextures .. "/DarkUniverse_mellinger_4k.jpg",
Orientation = "Inside",
UseAdditiveBlending = true,
MirrorTexture = true,
FadeOutThreshold = 0.0015,
Background = true
},
GUI = {
Name = "Milky Way Sphere",
Path = "/Milky Way",
Description = [[All sky image of the Milky Way that is visible when inside. Fades
out when zooming away from the Milky Way]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { sphere })
asset.meta = {
Name = "Milky Way Galaxy Sphere",
Version = "2.0",
Description = [[All sky image of the Milky Way]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license",
Identifiers = {"MilkyWay"}
Name = "Milky Way Galaxy Sphere",
Version = "2.0",
Description = [[All sky image of the Milky Way]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license",
Identifiers = {"MilkyWay"}
}

View File

@@ -3,69 +3,69 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "OB Associations Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_obassociations_textures",
Version = 1
Name = "OB Associations Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_obassociations_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "OB Associations Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_obassociations_speck",
Version = 3
Name = "OB Associations Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_obassociations_speck",
Version = 3
})
local object = {
Identifier = "OBAssociations",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
ColorMap = speck .. "/ob.cmap",
ColorOption = { "arm" },
SizeOption = {"diameter"},
ExactColorMap = true,
Opacity = 0.7,
File = speck .. "/ob.speck",
Texture = textures .. "/point4.png",
PolygonSides = 7,
LabelFile = speck .. "/ob.label",
TextColor = { 0.4, 0.5, 1.0 },
ScaleFactor = 390.0,
TextSize = 16.24,
TextMinSize = 4.50,
TextMaxSize = 25,
Unit = "pc",
BillboardMaxSize = 450.0,
EnablePixelSizeControl = true
},
GUI = {
Name = "OB Associations",
Path = "/Milky Way",
Description = [[Census: 61 OB associations. DU Version 2.4. <br> OB associations
are young groups of stars that were formed within a giant molecular cloud, but
have dispersed after the original gas and dust from the cloud was blown away
by the star's radiation pressure. Although an association's stars are no
longer gravitationally bound to one another, they share a common motion in
space because they were formed from the same cloud. This allows astronomers to
easily determine OB association membership stars. These objects are color
coded by their spiral arm membership. Blue associations trace the Sagittarius
Arm. Purple associations are in the local Orion Spur. Orange associations are
in the Perseus Arm (Description from URL) <br><br> Data Reference: New List of
OB Associations (Melnik+)]],
}
Identifier = "OBAssociations",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
ColorMap = speck .. "/ob.cmap",
ColorOption = { "arm" },
SizeOption = {"diameter"},
ExactColorMap = true,
Opacity = 0.7,
File = speck .. "/ob.speck",
Texture = textures .. "/point4.png",
PolygonSides = 7,
LabelFile = speck .. "/ob.label",
TextColor = { 0.4, 0.5, 1.0 },
ScaleFactor = 390.0,
TextSize = 16.24,
TextMinSize = 4.50,
TextMaxSize = 25,
Unit = "pc",
BillboardMaxSize = 450.0,
EnablePixelSizeControl = true
},
GUI = {
Name = "OB Associations",
Path = "/Milky Way",
Description = [[Census: 61 OB associations. DU Version 2.4. <br> OB associations
are young groups of stars that were formed within a giant molecular cloud, but
have dispersed after the original gas and dust from the cloud was blown away
by the star's radiation pressure. Although an association's stars are no
longer gravitationally bound to one another, they share a common motion in
space because they were formed from the same cloud. This allows astronomers to
easily determine OB association membership stars. These objects are color
coded by their spiral arm membership. Blue associations trace the Sagittarius
Arm. Purple associations are in the local Orion Spur. Orange associations are
in the Perseus Arm (Description from URL) <br><br> Data Reference: New List of
OB Associations (Melnik+)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "OB Associations",
Version = "2.0",
Description = [[Digital Universe asset for OB Associations]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"OBAssociations"}
Name = "OB Associations",
Version = "2.0",
Description = [[Digital Universe asset for OB Associations]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"OBAssociations"}
}

View File

@@ -3,65 +3,65 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Open Clusters Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_openclusters_textures",
Version = 1
Name = "Open Clusters Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_openclusters_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Open Clusters Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_openclusters_speck",
Version = 2
Name = "Open Clusters Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_openclusters_speck",
Version = 2
})
local object = {
Identifier = "OpenStarClusters",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.1, 0.8, 0.4 },
Opacity = 0.5,
File = speck .. "/oc.speck",
Texture = textures .. "/point4.png",
PolygonSides = 12,
TextColor = { 0.05, 0.4, 0.2 },
LabelFile = speck .. "/oc.label",
ScaleFactor = 405.75,
TextSize = 15.5,
TextMinSize = 4.5,
TextMaxSize = 30.0,
Unit = "pc",
BillboardMaxSize = 604,
EnablePixelSizeControl = true
},
GUI = {
Name = "Open Star Clusters",
Path = "/Milky Way",
Description = [[Census: 2,040 clusters. DU Version 5.7. <br> OB associations are
young groups of stars that were formed within a giant molecular cloud, but
have dispersed after the original gas and dust from the cloud was blown away
by the star's radiation pressure. Although an association's stars are no
longer gravitationally bound to one another, they share a common motion in
space because they were formed from the same cloud. This allows astronomers to
easily determine OB association membership stars. These objects are color
coded by their spiral arm membership. Blue associations trace the Sagittarius
Arm. Purple associations are in the local Orion Spur. Orange associations are
in the Perseus Arm (Description from URL) <br><br> Data Reference: Optically
visible open clusters and Candidates (Dias+ 2002-2015)]],
}
Identifier = "OpenStarClusters",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.1, 0.8, 0.4 },
Opacity = 0.5,
File = speck .. "/oc.speck",
Texture = textures .. "/point4.png",
PolygonSides = 12,
TextColor = { 0.05, 0.4, 0.2 },
LabelFile = speck .. "/oc.label",
ScaleFactor = 405.75,
TextSize = 15.5,
TextMinSize = 4.5,
TextMaxSize = 30.0,
Unit = "pc",
BillboardMaxSize = 604,
EnablePixelSizeControl = true
},
GUI = {
Name = "Open Star Clusters",
Path = "/Milky Way",
Description = [[Census: 2,040 clusters. DU Version 5.7. <br> OB associations are
young groups of stars that were formed within a giant molecular cloud, but
have dispersed after the original gas and dust from the cloud was blown away
by the star's radiation pressure. Although an association's stars are no
longer gravitationally bound to one another, they share a common motion in
space because they were formed from the same cloud. This allows astronomers to
easily determine OB association membership stars. These objects are color
coded by their spiral arm membership. Blue associations trace the Sagittarius
Arm. Purple associations are in the local Orion Spur. Orange associations are
in the Perseus Arm (Description from URL) <br><br> Data Reference: Optically
visible open clusters and Candidates (Dias+ 2002-2015)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Open Star Clusters",
Version = "2.0",
Description = [[Digital Universe asset for Open Star Clusters]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"OpenStarClusters"}
Name = "Open Star Clusters",
Version = "2.0",
Description = [[Digital Universe asset for Open Star Clusters]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"OpenStarClusters"}
}

View File

@@ -3,62 +3,62 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Planetary Nebulae Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_planetarynebulae_textures",
Version = 1
Name = "Planetary Nebulae Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_planetarynebulae_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Planetary Nebulae Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_planetarynebulae_speck",
Version = 2
Name = "Planetary Nebulae Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_planetarynebulae_speck",
Version = 2
})
local object = {
Identifier = "PlanetaryNebulae",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.4, 0.4, 0.9 },
Opacity = 0.65,
File = speck .. "/pn.speck",
Texture = textures .. "/point4.png",
PolygonSides = 3,
LabelFile = speck .. "/pn.label",
TextColor = { 0.25, 0.25, 0.65 },
ScaleFactor = 425.0,
TextSize = 16.24,
TextMinSize = 4.5,
TextMaxSize = 25.0,
Unit = "pc",
BillboardMaxSize = 500,
EnablePixelSizeControl = true
},
GUI = {
Name = "Planetary Nebulae",
Path = "/Milky Way",
Description = [[Census: 283 nebulae. DU Version 2.8. <br> A planetary nebula is an
expanding shell of gas ejected from a star late in its life cycle. Appearing
like greenish disks to a telescopic observer, planetary nebulae received their
name from their resemblance to the gaseous planets of our solar system. In no
way are they related to planets, rather, they are products of dying stars.
(Description from URL) <br><br> Data Reference: Planetary Nebulae distances
in Gaia DR2 (Kimeswenger+, 2018), Strasbourg-ESO Catalog of Planetary Nebulae
(Acker+ 1992)]],
}
Identifier = "PlanetaryNebulae",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.4, 0.4, 0.9 },
Opacity = 0.65,
File = speck .. "/pn.speck",
Texture = textures .. "/point4.png",
PolygonSides = 3,
LabelFile = speck .. "/pn.label",
TextColor = { 0.25, 0.25, 0.65 },
ScaleFactor = 425.0,
TextSize = 16.24,
TextMinSize = 4.5,
TextMaxSize = 25.0,
Unit = "pc",
BillboardMaxSize = 500,
EnablePixelSizeControl = true
},
GUI = {
Name = "Planetary Nebulae",
Path = "/Milky Way",
Description = [[Census: 283 nebulae. DU Version 2.8. <br> A planetary nebula is an
expanding shell of gas ejected from a star late in its life cycle. Appearing
like greenish disks to a telescopic observer, planetary nebulae received their
name from their resemblance to the gaseous planets of our solar system. In no
way are they related to planets, rather, they are products of dying stars.
(Description from URL) <br><br> Data Reference: Planetary Nebulae distances
in Gaia DR2 (Kimeswenger+, 2018), Strasbourg-ESO Catalog of Planetary Nebulae
(Acker+ 1992)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Planetary Nebulae",
Version = "2.0",
Description = [[Digital Universe asset for Planetary Nebulae]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"PlanetaryNebulae"}
Name = "Planetary Nebulae",
Version = "2.0",
Description = [[Digital Universe asset for Planetary Nebulae]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"PlanetaryNebulae"}
}

View File

@@ -3,66 +3,66 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Pulsars Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_pulsars_textures",
Version = 1
Name = "Pulsars Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_pulsars_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Pulsars Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_pulsars_speck",
Version = 2
Name = "Pulsars Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_pulsars_speck",
Version = 2
})
local object = {
Identifier = "Pulsars",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.7, 0.0, 0.0 },
Opacity = 1.0,
File = speck .. "/pulsar.speck",
Texture = textures .. "/point4.png",
PolygonSides = 4,
LabelFile = speck .. "/pulsar.label",
TextColor = { 0.7, 0.2, 0.2 },
ScaleFactor = 424,
TextSize = 15.77,
TextMinSize = 4,
TextMaxSize = 20.0,
Unit = "pc",
BillboardMaxSize = 500,
EnablePixelSizeControl = false
},
GUI = {
Name = "Pulsars",
Path = "/Milky Way",
Description = [[Census: 2,498 pulsars. DU Version 5.6. <br> Upon death, stars
leave behind one of three possible remnants: a white dwarf, a neutron star, or
a black hole. Stars that are more massive than the sun will often become
neutron stars in a violent explosion called a supernova. During a supernova,
the core of the star collapses under such high pressure that the electrons,
which normally remain outside the atomic nucleus, are forced to combine with
the protons in the nucleus. Atomic nuclei break apart, producing what is
called a degenerate state of matter. The collapse is halted when the material
cannot be packed any tighter. At this point, the star has a radius of about
10-15 kilometers. The density of this material is so high that a teaspoonful
would weigh about 100 million tons on Earth. (Description from URL) <br><br>
Data Reference: ATNF Pulsar Catalogue, (Manchester+, 2005)]],
}
Identifier = "Pulsars",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 0.7, 0.0, 0.0 },
Opacity = 1.0,
File = speck .. "/pulsar.speck",
Texture = textures .. "/point4.png",
PolygonSides = 4,
LabelFile = speck .. "/pulsar.label",
TextColor = { 0.7, 0.2, 0.2 },
ScaleFactor = 424,
TextSize = 15.77,
TextMinSize = 4,
TextMaxSize = 20.0,
Unit = "pc",
BillboardMaxSize = 500,
EnablePixelSizeControl = false
},
GUI = {
Name = "Pulsars",
Path = "/Milky Way",
Description = [[Census: 2,498 pulsars. DU Version 5.6. <br> Upon death, stars
leave behind one of three possible remnants: a white dwarf, a neutron star, or
a black hole. Stars that are more massive than the sun will often become
neutron stars in a violent explosion called a supernova. During a supernova,
the core of the star collapses under such high pressure that the electrons,
which normally remain outside the atomic nucleus, are forced to combine with
the protons in the nucleus. Atomic nuclei break apart, producing what is
called a degenerate state of matter. The collapse is halted when the material
cannot be packed any tighter. At this point, the star has a radius of about
10-15 kilometers. The density of this material is so high that a teaspoonful
would weigh about 100 million tons on Earth. (Description from URL) <br><br>
Data Reference: ATNF Pulsar Catalogue, (Manchester+, 2005)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Pulsars",
Version = "2.0",
Description = [[Digital Universe asset for Pulsars.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Pulsars"}
Name = "Pulsars",
Version = "2.0",
Description = [[Digital Universe asset for Pulsars.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Pulsars"}
}

View File

@@ -3,60 +3,60 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Quasars Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_quasars_textures",
Version = 2
Name = "Quasars Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_quasars_textures",
Version = 2
})
local speck = asset.syncedResource({
Name = "Quasars Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_quasars_speck",
Version = 2
Name = "Quasars Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_quasars_speck",
Version = 2
})
local object = {
Identifier = "Quasars",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = true,
Color = { 1.0, 0.4, 0.2 },
Opacity = 0.95,
File = speck .. "/quasars.speck",
Texture = textures .. "/point3A.png",
Unit = "Mpc",
ScaleFactor = 540.9,
-- Fade in value in the same unit as "Unit"
FadeInDistances = { 1000.0, 10000.0 },
BillboardMaxSize = 30.0,
BillboardMinSize = 0.0,
BillboardMaxSize = 11.1,
EnablePixelSizeControl = true
},
GUI = {
Name = "Quasars",
Path = "/Universe",
Description = [[Census: 569,442 quasars. DU Version 2.2. <br>
Quasars are the most distant objects we can see. They are extremely active
galaxies that contain supermassive black holes which are gobbling up material
at a furious rate. The Million Quasars Catalogue is an aggregate catalog of
several surveys, including 2dF and Sloan. So, it should not be surprising that
the shape of these data mimic the shape of the Sloan and 2dF galaxy surveys,
with large parts of the sky unobserved.(Description from URL) <br><br> Data
Reference: The Million Quasars catalog (Flesch, 2017)]]
}
Identifier = "Quasars",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = true,
Color = { 1.0, 0.4, 0.2 },
Opacity = 0.95,
File = speck .. "/quasars.speck",
Texture = textures .. "/point3A.png",
Unit = "Mpc",
ScaleFactor = 540.9,
-- Fade in value in the same unit as "Unit"
FadeInDistances = { 1000.0, 10000.0 },
BillboardMaxSize = 30.0,
BillboardMinSize = 0.0,
BillboardMaxSize = 11.1,
EnablePixelSizeControl = true
},
GUI = {
Name = "Quasars",
Path = "/Universe",
Description = [[Census: 569,442 quasars. DU Version 2.2. <br>
Quasars are the most distant objects we can see. They are extremely active
galaxies that contain supermassive black holes which are gobbling up material
at a furious rate. The Million Quasars Catalogue is an aggregate catalog of
several surveys, including 2dF and Sloan. So, it should not be surprising that
the shape of these data mimic the shape of the Sloan and 2dF galaxy surveys,
with large parts of the sky unobserved.(Description from URL) <br><br> Data
Reference: The Million Quasars catalog (Flesch, 2017)]]
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Quasars",
Version = "2.0",
Description = [[Digital Universe asset for Quasars.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Quasars"}
Name = "Quasars",
Version = "2.0",
Description = [[Digital Universe asset for Quasars.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Quasars"}
}

View File

@@ -3,75 +3,75 @@ 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
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
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",
-- Fade in value in the same unit as "Unit"
FadeInDistances = { 220.0, 650.0 },
BillboardMaxSize = 50.0,
BillboardMinSize = 0.0,
CorrectionSizeEndDistance = 20.65,
CorrectionSizeFactor = 10.41,
TextSize = 14.8,
TextMinSize = 10.0,
TextMaxSize = 50.0,
BillboardMaxSize = 5.5,
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/)]]
}
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",
-- Fade in value in the same unit as "Unit"
FadeInDistances = { 220.0, 650.0 },
BillboardMaxSize = 50.0,
BillboardMinSize = 0.0,
CorrectionSizeEndDistance = 20.65,
CorrectionSizeFactor = 10.41,
TextSize = 14.8,
TextMinSize = 10.0,
TextMaxSize = 50.0,
BillboardMaxSize = 5.5,
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"}
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"}
}

View File

@@ -3,44 +3,43 @@ local assetHelper = asset.require('util/asset_helper')
local speck = asset.syncedResource({
Name = "Star Labels Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_starlabels_speck",
Version = 2
Name = "Star Labels Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_starlabels_speck",
Version = 2
})
local object = {
Identifier = "StarsLabels",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.65,
LabelFile = speck .. "/stars.label",
TextColor = { 0.4, 0.4, 0.4 },
DrawLabels = true,
TextSize = 14.7,
TextMinSize = 6.0,
TextMaxSize = 50.0,
Unit = "pc"
},
GUI = {
Name = "Stars Labels",
Path = "/Milky Way/Stars",
Description = [[Labels for stars in the Milky Way. See 'Stars' for more
info.]],
}
Identifier = "StarsLabels",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.65,
LabelFile = speck .. "/stars.label",
TextColor = { 0.4, 0.4, 0.4 },
DrawLabels = true,
TextSize = 14.7,
TextMinSize = 6.0,
TextMaxSize = 50.0,
Unit = "pc"
},
GUI = {
Name = "Stars Labels",
Path = "/Milky Way/Stars",
Description = [[Labels for stars in the Milky Way. See 'Stars' for more info.]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Star Labels",
Version = "2.0",
Description = [[Digital Universe asset for labels of the stars.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"StarsLabels"}
Name = "Star Labels",
Version = "2.0",
Description = [[Digital Universe asset for labels of the stars.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"StarsLabels"}
}

View File

@@ -4,189 +4,189 @@ local earth_transforms = asset.require('scene/solarsystem/planets/earth/transfor
local speck = asset.syncedResource({
Name = "Grids Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_starorbits_speck",
Version = 1
Name = "Grids Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_starorbits_speck",
Version = 1
})
local sunOrbit = {
Identifier = "SunOrbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-Sun.speck",
MeshColor = {{ 1.0, 0.65, 0.0 }},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "Sun Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of the Sun around the Milky Way"]]
}
Identifier = "SunOrbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-Sun.speck",
MeshColor = {{ 1.0, 0.65, 0.0 }},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "Sun Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of the Sun around the Milky Way"]]
}
}
local barnardsOrbit = {
Identifier = "BarnardsOrbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-BarnardsStar.speck",
MeshColor = {{0.39, 0.58, 0.93}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "Barnards Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of Barnard's Star around the Milky Way"]]
}
Identifier = "BarnardsOrbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-BarnardsStar.speck",
MeshColor = {{0.39, 0.58, 0.93}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "Barnards Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of Barnard's Star around the Milky Way"]]
}
}
local kapteynsOrbit = {
Identifier = "KapteynsOrbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-KapteynsStar.speck",
MeshColor = {{0.6, 0.6, 0.6}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "Kapteyns Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of Kapteyn's Star around the Milky Way"]]
}
Identifier = "KapteynsOrbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-KapteynsStar.speck",
MeshColor = {{0.6, 0.6, 0.6}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "Kapteyns Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of Kapteyn's Star around the Milky Way"]]
}
}
local lacaille9352Orbit = {
Identifier = "Lacaille9352Orbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-Lacaille9352.speck",
MeshColor = {{0.58, 0.0, 0.83}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "Lacaille 9352 Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of Lacaille9352 around the Milky Way"]]
}
Identifier = "Lacaille9352Orbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-Lacaille9352.speck",
MeshColor = {{0.58, 0.0, 0.83}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "Lacaille 9352 Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of Lacaille9352 around the Milky Way"]]
}
}
local lSR1826Orbit = {
Identifier = "LSR1826Orbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-LSR1826+3014.speck",
MeshColor = {{0.0, 0.39, 0.0}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "LSR1826+3014 Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of LSR1826+3014 around the Milky Way"]]
}
Identifier = "LSR1826Orbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-LSR1826+3014.speck",
MeshColor = {{0.0, 0.39, 0.0}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "LSR1826+3014 Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of LSR1826+3014 around the Milky Way"]]
}
}
local lSRJ0822Orbit = {
Identifier = "LSRJ0822Orbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-LSRJ0822+1700.speck",
MeshColor = {{0.5, 1.0, 0.0}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "LSRJ0822+1700 Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of LSRJ0822+1700 around the Milky Way"]]
}
Identifier = "LSRJ0822Orbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-LSRJ0822+1700.speck",
MeshColor = {{0.5, 1.0, 0.0}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "LSRJ0822+1700 Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of LSRJ0822+1700 around the Milky Way"]]
}
}
local pM_J13420Orbit = {
Identifier = "PM_J13420Orbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-PM_J13420-3415.speck",
MeshColor = {{0.70, 0.13, 0.13}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "PM_J13420-3415 Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of PM_J13420-3415 around the Milky Way"]]
}
Identifier = "PM_J13420Orbit",
--Parent = transforms.SolarSystemBarycenter.Name,
Renderable = {
Type = "RenderableDUMeshes",
Enabled = false,
Opacity = 1.0,
File = speck .. "/starorbits-PM_J13420-3415.speck",
MeshColor = {{0.70, 0.13, 0.13}},
--LabelFile = speck .. "/1ld.label",
TextColor = { 0.0, 0.2, 0.5 },
TextSize = 10.3,
TextMinSize = 0.5,
TextMaxSize = 30.0,
Unit = "pc"
},
GUI = {
Name = "PM_J13420-3415 Orbit",
Path = "/Milky Way/Stars/Stars Orbits",
Description = [["Orbits of PM_J13420-3415 around the Milky Way"]]
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
sunOrbit, barnardsOrbit, pM_J13420Orbit, lSRJ0822Orbit, lSR1826Orbit,
lacaille9352Orbit, kapteynsOrbit
sunOrbit, barnardsOrbit, pM_J13420Orbit, lSRJ0822Orbit, lSR1826Orbit,
lacaille9352Orbit, kapteynsOrbit
})
asset.meta = {
Name = "Star Orbits",
Version = "1.0",
Description = [[Select Star Orbital paths that delineate their trajectory around the
Milky Way over 1 billion years into the future. Included: Sun, Barnards, Kapteyns,
Lacaille 9352, LSR1826+3014, LSRJ0822+1700, PM_J13420-3415. <br><br> Data
Reference: Sebastien Lepine (AMNH)]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"SunOrbit", "BarnardsOrbit", "KapteynsOrbit", "pM_J13420Orbit",
"LSR1826Orbit", "LSRJ0822Orbit", "lacaille9352Orbit"}
Name = "Star Orbits",
Version = "1.0",
Description = [[Select Star Orbital paths that delineate their trajectory around the
Milky Way over 1 billion years into the future. Included: Sun, Barnards, Kapteyns,
Lacaille 9352, LSR1826+3014, LSRJ0822+1700, PM_J13420-3415. <br><br> Data
Reference: Sebastien Lepine (AMNH)]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"SunOrbit", "BarnardsOrbit", "KapteynsOrbit", "pM_J13420Orbit",
"LSR1826Orbit", "LSRJ0822Orbit", "lacaille9352Orbit"}
}

View File

@@ -3,82 +3,82 @@ local assetHelper = asset.require('util/asset_helper')
local colorLUT = asset.require('./stars_colormap').BvColorLUT
local textures = asset.syncedResource({
Name = "Stars Textures",
Type = "HttpSynchronization",
Identifier = "stars_textures",
Version = 1
Name = "Stars Textures",
Type = "HttpSynchronization",
Identifier = "stars_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Stars Speck Files",
Type = "HttpSynchronization",
Identifier = "stars_du",
Version = 4
Name = "Stars Speck Files",
Type = "HttpSynchronization",
Identifier = "stars_du",
Version = 4
})
local sunspeck = asset.syncedResource({
Name = "Stars Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_sunstar_speck",
Version = 1
Name = "Stars Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_sunstar_speck",
Version = 1
})
local stars = {
Identifier = "Stars",
Renderable = {
Type = "RenderableStars",
File = speck .. "/stars.speck",
Texture = textures .. "/halo.png",
--ShapeTexture = textures .. "/disc.png",
ColorMap = colorLUT .. "/colorbv.cmap",
MagnitudeExponent = 6.2,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based" -- or PSF
},
GUI = {
Name = "Stars",
Path = "/Milky Way/Stars",
Description = [[Census: 117,003 stars with 321 labels.<br> DU Version 7.8. This
star catalog is a combination of all available star catalogs, wherein we
choose the best distance available to place the stars around the Sun as
accurately as is possible. (Description from URL) <br><br> Data Reference:
XHIP: An Extended Hipparcos Compilation (Anderson E., Francis C. 2012);
Hipparcos Catalog (European Space Agency 1997); Gliese Catalog (Gliese and
Jahriess 1991)]],
}
Identifier = "Stars",
Renderable = {
Type = "RenderableStars",
File = speck .. "/stars.speck",
Texture = textures .. "/halo.png",
--ShapeTexture = textures .. "/disc.png",
ColorMap = colorLUT .. "/colorbv.cmap",
MagnitudeExponent = 6.2,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based" -- or PSF
},
GUI = {
Name = "Stars",
Path = "/Milky Way/Stars",
Description = [[Census: 117,003 stars with 321 labels.<br> DU Version 7.8. This
star catalog is a combination of all available star catalogs, wherein we
choose the best distance available to place the stars around the Sun as
accurately as is possible. (Description from URL) <br><br> Data Reference:
XHIP: An Extended Hipparcos Compilation (Anderson E., Francis C. 2012);
Hipparcos Catalog (European Space Agency 1997); Gliese Catalog (Gliese and
Jahriess 1991)]],
}
}
local sunstar = {
Identifier = "SunStar",
Renderable = {
Type = "RenderableStars",
File = sunspeck .. "/sunstar.speck",
Texture = textures .. "/halo.png",
--ShapeTexture = textures .. "/disc.png",
ColorMap = colorLUT .. "/colorbv.cmap",
MagnitudeExponent = 6.2,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based", -- or PSF
FadeInDistances = { 0.0001, 0.1 },
RenderableType = "PostDeferredTransparent"
},
GUI = {
Name = "Sun",
Path = "/Milky Way/Stars",
Description = [[Individual star to represent the sun when outside of the solar
system]]
}
Identifier = "SunStar",
Renderable = {
Type = "RenderableStars",
File = sunspeck .. "/sunstar.speck",
Texture = textures .. "/halo.png",
--ShapeTexture = textures .. "/disc.png",
ColorMap = colorLUT .. "/colorbv.cmap",
MagnitudeExponent = 6.2,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based", -- or PSF
FadeInDistances = { 0.0001, 0.1 },
RenderableType = "PostDeferredTransparent"
},
GUI = {
Name = "Sun",
Path = "/Milky Way/Stars",
Description = [[Individual star to represent the sun when outside of the solar
system]]
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { stars, sunstar })
asset.meta = {
Name = "Stars",
Version = "2.0",
Description = [[Digital Universe asset for the stars.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Stars"}
Name = "Stars",
Version = "2.0",
Description = [[Digital Universe asset for the stars.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"Stars"}
}

View File

@@ -1,22 +1,22 @@
local assetHelper = asset.require('util/asset_helper')
local BvColorLUT = asset.syncedResource({
Name = "Stars Color Table",
Type = "HttpSynchronization",
Identifier = "stars_colormap",
Version = 2
Name = "Stars Color Table",
Type = "HttpSynchronization",
Identifier = "stars_colormap",
Version = 2
})
asset.export("BvColorLUT", BvColorLUT)
asset.meta = {
Name = "Stars B-V Colormap",
Version = "2.0",
Description = [[A lookup table that maps a B-V color index to an RGB color.
The B-V values are in the range (-0.4, 2.0) and each line maps a value
in that range to a color]],
Author = "OpenSpace Team",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe"
Name = "Stars B-V Colormap",
Version = "2.0",
Description = [[A lookup table that maps a B-V color index to an RGB color.
The B-V values are in the range (-0.4, 2.0) and each line maps a value
in that range to a color]],
Author = "OpenSpace Team",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe"
}

View File

@@ -3,60 +3,60 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Galaxy Superclusters Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_superclusters_textures",
Version = 2
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
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)]]
}
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"}
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"}
}

View File

@@ -3,61 +3,61 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Supernova Remnants Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_supernovaremnants_textures",
Version = 1
Name = "Supernova Remnants Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_supernovaremnants_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Supernova Remnants Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_supernovaremnants_speck",
Version = 2
Name = "Supernova Remnants Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_supernovaremnants_speck",
Version = 2
})
local object = {
Identifier = "SupernovaRemnants",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 0.5, 0.0 },
Opacity = 0.32,
File = speck .. "/snr.speck",
Texture = textures .. "/point4.png",
PolygonSides = 7,
LabelFile = speck .. "/snr.label",
TextColor = { 0.6, 0.46, 0.0 },
ScaleFactor = 424,
TextSize = 16.44,
TextMinSize = 4.0,
TextMaxSize = 200.0,
--CorrectionSizeEndDistance = 17.5,
--CorrectionSizeFactor = 13.96,
Unit = "pc",
BillboardMaxSize = 500,
EnablePixelSizeControl = true
},
GUI = {
Name = "Supernova Remnants",
Path = "/Milky Way",
Description = [[Census: 112 supernova remnants.<br> DU Version 3.7. A supernova
remnant is the ejected gas that results from a supernova. It glows for a
cosmically short period of time before mixing with the interstellar medium.
(Description from URL) <br><br> Data Reference: The First Fermi LAT SNR
Catalog (Acero+, 2016)]],
}
Identifier = "SupernovaRemnants",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = false,
Color = { 1.0, 0.5, 0.0 },
Opacity = 0.32,
File = speck .. "/snr.speck",
Texture = textures .. "/point4.png",
PolygonSides = 7,
LabelFile = speck .. "/snr.label",
TextColor = { 0.6, 0.46, 0.0 },
ScaleFactor = 424,
TextSize = 16.44,
TextMinSize = 4.0,
TextMaxSize = 200.0,
--CorrectionSizeEndDistance = 17.5,
--CorrectionSizeFactor = 13.96,
Unit = "pc",
BillboardMaxSize = 500,
EnablePixelSizeControl = true
},
GUI = {
Name = "Supernova Remnants",
Path = "/Milky Way",
Description = [[Census: 112 supernova remnants.<br> DU Version 3.7. A supernova
remnant is the ejected gas that results from a supernova. It glows for a
cosmically short period of time before mixing with the interstellar medium.
(Description from URL) <br><br> Data Reference: The First Fermi LAT SNR
Catalog (Acero+, 2016)]],
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Supernova Remnants",
Version = "2.0",
Description = [[Digital Universe asset for Supernova Remnants.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"SupernovaRemnants"}
Name = "Supernova Remnants",
Version = "2.0",
Description = [[Digital Universe asset for Supernova Remnants.]],
Author = "Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"SupernovaRemnants"}
}

View File

@@ -3,126 +3,126 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Tully Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_tully_textures",
Version = 3
Name = "Tully Textures",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_tully_textures",
Version = 3
})
local speck = asset.syncedResource({
Name = "Tully Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_tully_speck",
Version = 2
Name = "Tully Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_tully_speck",
Version = 2
})
local tullyPoints = {
Identifier = "TullyGalaxies",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = true,
Color = { 1.0, 0.4, 0.2 },
Opacity = 0.99,
ScaleFactor = 504.0,
File = speck .. "/tully.speck",
Texture = textures .. "/point3A.png",
--ColorMap = speck .. "/tully.cmap",
ColorMap = speck .. "/lss.cmap",
--ColorOption = { "proximity" },
ColorOption = { "prox5Mpc" },
ColorRange = { { 1.0, 30.0 } },
LabelFile = speck .. "/tully.label",
DrawLabels = false,
TextColor = { 0.7, 0.7, 0.7 },
TextSize = 19.36,
TextMinSize = 8.2,
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
Unit = "Mpc",
-- Fade in value in the same unit as "Unit"
FadeInDistances = { 0.001, 1.0 },
-- Max size in pixels
BillboardMaxSize = 7,
BillboardMinSize = 0,
--CorrectionSizeEndDistance = 22.0,
--CorrectionSizeFactor = 10.45
EnablePixelSizeControl = true
Identifier = "TullyGalaxies",
Renderable = {
Type = "RenderableBillboardsCloud",
Enabled = true,
Color = { 1.0, 0.4, 0.2 },
Opacity = 0.99,
ScaleFactor = 504.0,
File = speck .. "/tully.speck",
Texture = textures .. "/point3A.png",
--ColorMap = speck .. "/tully.cmap",
ColorMap = speck .. "/lss.cmap",
--ColorOption = { "proximity" },
ColorOption = { "prox5Mpc" },
ColorRange = { { 1.0, 30.0 } },
LabelFile = speck .. "/tully.label",
DrawLabels = false,
TextColor = { 0.7, 0.7, 0.7 },
TextSize = 19.36,
TextMinSize = 8.2,
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
GUI = {
Name = "Tully Galaxies",
Path = "/Universe/Galaxies",
Description = [[Census: 30,059 galaxies. DU Version 1.5.<br> The Tully Catalog is
the most polished, accurate catalog of nearby galaxies. It includes over 30,000
galaxies in the local universe that surround the Milky Way. This catalog
demonstrates the large-scale structure of the universe exceptionally well. And,
each galaxy has a representative image reflecting its morphological type, and is
properly sized and inclined. Size and shape. The data form a cube, which is an
arbitrary cutoff based on the completeness of these data. Beyond this, data from
these sources are not as reliable, so effort is made to show a complete picture,
albeit limited by observations (for example, we cannot see dwarf galaxies much
beyond the Local Group). The size of the cube is roughly 1 billion light years on
a diagonal (so the farthest galaxies in the dataset are about 1 billion light
years from the Milky Way), or about 700 million light years per side.
<br><br>Colors. Orange denotes more dense regions of the local universe, aqua is
given to galaxies in an intermediate-density area, and green is given to lower
density regions.(Description from URL) <br><br> Data Reference: Tully Galaxy
Catalog: Brent Tully (U Hawaii), Stuart Levy (NCSA/UIUC)]]
}
Unit = "Mpc",
-- Fade in value in the same unit as "Unit"
FadeInDistances = { 0.001, 1.0 },
-- Max size in pixels
BillboardMaxSize = 7,
BillboardMinSize = 0,
--CorrectionSizeEndDistance = 22.0,
--CorrectionSizeFactor = 10.45
EnablePixelSizeControl = true
},
GUI = {
Name = "Tully Galaxies",
Path = "/Universe/Galaxies",
Description = [[Census: 30,059 galaxies. DU Version 1.5.<br> The Tully Catalog is
the most polished, accurate catalog of nearby galaxies. It includes over 30,000
galaxies in the local universe that surround the Milky Way. This catalog
demonstrates the large-scale structure of the universe exceptionally well. And,
each galaxy has a representative image reflecting its morphological type, and is
properly sized and inclined. Size and shape. The data form a cube, which is an
arbitrary cutoff based on the completeness of these data. Beyond this, data from
these sources are not as reliable, so effort is made to show a complete picture,
albeit limited by observations (for example, we cannot see dwarf galaxies much
beyond the Local Group). The size of the cube is roughly 1 billion light years on
a diagonal (so the farthest galaxies in the dataset are about 1 billion light
years from the Milky Way), or about 700 million light years per side.
<br><br>Colors. Orange denotes more dense regions of the local universe, aqua is
given to galaxies in an intermediate-density area, and green is given to lower
density regions.(Description from URL) <br><br> Data Reference: Tully Galaxy
Catalog: Brent Tully (U Hawaii), Stuart Levy (NCSA/UIUC)]]
}
}
local tullyImages = {
Identifier = "TullyGalaxiesImages",
Renderable = {
Type = "RenderablePlanesCloud",
Enabled = true,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.99,
ScaleFactor = 1.0,
File = speck .. "/tully.speck",
TexturePath = textures,
Luminosity = "diamkpc",
ScaleLuminosity = 0.001,
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
Unit = "Mpc",
-- Fade in value in the same unit as "Unit"
FadeInDistances = {0.0005, 0.003},
PlaneMinSize = 1.0
Identifier = "TullyGalaxiesImages",
Renderable = {
Type = "RenderablePlanesCloud",
Enabled = true,
Color = { 1.0, 1.0, 1.0 },
Opacity = 0.99,
ScaleFactor = 1.0,
File = speck .. "/tully.speck",
TexturePath = textures,
Luminosity = "diamkpc",
ScaleLuminosity = 0.001,
TransformationMatrix = {
-0.7357425748, 0.67726129641, 0.0, 0.0,
-0.074553778365, -0.080991471307, 0.9939225904, 0.0,
0.67314530211, 0.73127116582, 0.11008126223, 0.0,
0.0, 0.0, 0.0, 1.0
},
GUI = {
Name = "Tully Galaxies Images",
Path = "/Universe/Galaxies",
Description = [[Each galaxy is represented by an image
that represents its morphological type (spiral, elliptical, etc.). Most of these
come from The Galaxy Catalog. A handful of nearby galaxies are represented by
their actual images, which come mostly from the National Optical Astronomy
Observatory (NOAO). Each of these images has been altered from its original state.
These images were taken from Earth on some of the worlds largest telescopes, so
foreground stars from our own Galaxy appear in each image. We are representing
galaxies in extragalactic space, so we have removed the stars from each image.
(Description from URL) <br><br> Data Reference: Tully Galaxy Catalog: Brent Tully
(U Hawaii), Stuart Levy (NCSA/UIUC)]]
}
Unit = "Mpc",
-- Fade in value in the same unit as "Unit"
FadeInDistances = {0.0005, 0.003},
PlaneMinSize = 1.0
},
GUI = {
Name = "Tully Galaxies Images",
Path = "/Universe/Galaxies",
Description = [[Each galaxy is represented by an image
that represents its morphological type (spiral, elliptical, etc.). Most of these
come from The Galaxy Catalog. A handful of nearby galaxies are represented by
their actual images, which come mostly from the National Optical Astronomy
Observatory (NOAO). Each of these images has been altered from its original state.
These images were taken from Earth on some of the worlds largest telescopes, so
foreground stars from our own Galaxy appear in each image. We are representing
galaxies in extragalactic space, so we have removed the stars from each image.
(Description from URL) <br><br> Data Reference: Tully Galaxy Catalog: Brent Tully
(U Hawaii), Stuart Levy (NCSA/UIUC)]]
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { tullyPoints, tullyImages })
asset.meta = {
Name = "Tully Galaxies",
Version = "3.0",
Description = [[Digital Universe asset for Tully Galaxies, including point cloud and
images.]],
Author = "Stuart Levy (NCSA/UIUC), Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"TullyGalaxies" , "TullyGalaxiesImages"}
Name = "Tully Galaxies",
Version = "3.0",
Description = [[Digital Universe asset for Tully Galaxies, including point cloud and
images.]],
Author = "Stuart Levy (NCSA/UIUC), Brian Abbott (AMNH)",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"TullyGalaxies" , "TullyGalaxiesImages"}
}

View File

@@ -3,52 +3,52 @@ local assetHelper = asset.require('util/asset_helper')
local speck = asset.syncedResource({
Name = "Voids Speck Files",
Type = "HttpSynchronization",
Identifier = "digitaluniverse_voids_speck",
Version = 2
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",
TextColor = { 0.296, 0.629, 1.0 },
TextSize = 20.9,
TextMinSize = 8.0,
Unit = "Mpc"
},
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]]
}
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",
TextColor = { 0.296, 0.629, 1.0 },
TextSize = 20.9,
TextMinSize = 8.0,
Unit = "Mpc"
},
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"}
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"}
}

View File

@@ -21,59 +21,58 @@ local createConstellations = function (baseIdentifier, guiPath, constellationfil
local distanceMultiplier = 3.2;
local baseScale = 1e17;
for line in io.lines(openspace.absPath(constellationfile)) do
if (notFirstLine) then
-- describes the data
local matchstring = '(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-)$'
local group, abbreviation, name, x, y, z, scale, imageName, rotX, rotY, rotZ, centerStar = line:match(matchstring)
local magVec = math.sqrt(x*x + y*y + z*z)
local normx = x/magVec
local normy = y/magVec
local normz = z/magVec
if (notFirstLine) then
-- describes the data
local matchstring = '(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-),(.-)$'
local group, abbreviation, name, x, y, z, scale, imageName, rotX, rotY, rotZ, centerStar = line:match(matchstring)
local magVec = math.sqrt(x*x + y*y + z*z)
local normx = x/magVec
local normy = y/magVec
local normz = z/magVec
group = (group == '' and globe or group)
local aconstellation = {
-- Identifier = guiPath .. '-' .. name,
Identifier = baseIdentifier .. '-' .. abbreviation,
Parent = transforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "StaticTranslation",
-- position is in parsecs from the SolarSystemBarycenter, so convert to meters
Position = {
normx * PARSEC_CONSTANT * distanceMultiplier,
normy * PARSEC_CONSTANT * distanceMultiplier,
normz * PARSEC_CONSTANT * distanceMultiplier
}
},
Rotation = {
Type = "StaticRotation",
Rotation = { tonumber(rotX), tonumber(rotY), tonumber(rotZ) }
}
group = (group == '' and globe or group)
local aconstellation = {
-- Identifier = guiPath .. '-' .. name,
Identifier = baseIdentifier .. '-' .. abbreviation,
Parent = transforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "StaticTranslation",
-- position is in parsecs from the SolarSystemBarycenter, so convert to meters
Position = {
normx * PARSEC_CONSTANT * distanceMultiplier,
normy * PARSEC_CONSTANT * distanceMultiplier,
normz * PARSEC_CONSTANT * distanceMultiplier
}
},
Renderable = {
Type = "RenderablePlaneImageLocal",
Size = tonumber(baseScale * scale * distanceMultiplier / 10),
Enabled = false,
Origin = "Center",
Billboard = false,
LazyLoading = true,
Texture = images .. "/" .. imageName,
BlendMode = "Additive",
Opacity = 0.1
},
Tag = { "ConstellationArtImage", group },
GUI = {
Name = name .. ' Image',
Path = '/Milky Way/' .. guiPath
Rotation = {
Type = "StaticRotation",
Rotation = { tonumber(rotX), tonumber(rotY), tonumber(rotZ) }
}
},
Renderable = {
Type = "RenderablePlaneImageLocal",
Size = tonumber(baseScale * scale * distanceMultiplier / 10),
Enabled = false,
Origin = "Center",
Billboard = false,
LazyLoading = true,
Texture = images .. "/" .. imageName,
BlendMode = "Additive",
Opacity = 0.1
},
Tag = { "ConstellationArtImage", group },
GUI = {
Name = name .. ' Image',
Path = '/Milky Way/' .. guiPath
}
table.insert(genConstellations, aconstellation);
}
table.insert(genConstellations, aconstellation);
else
notFirstLine = true
end
else
notFirstLine = true
end
end
return genConstellations
end
@@ -98,10 +97,10 @@ end)
asset.meta = {
Name = "Constellation Images",
Version = "1.0",
Description = "Artistic images depicting the constellations",
Author = "James Hedberg",
URL = "http://jameshedberg.com",
License = "CC-BY"
Name = "Constellation Images",
Version = "1.0",
Description = "Artistic images depicting the constellations",
Author = "James Hedberg",
URL = "http://jameshedberg.com",
License = "CC-BY"
}

View File

@@ -1,7 +1,6 @@
local scene_helper = asset.require('util/scene_helper')
local Keybindings = {
{
Key = "v",
Name = "Show Constellation Art",

View File

@@ -1,33 +1,33 @@
local bvColorLUT = asset.require('scene/digitaluniverse/stars_colormap').BvColorLUT
local DataPath = asset.syncedResource({
Name = "Exoplanet Data Files",
Type = "HttpSynchronization",
Identifier = "exoplanets_data",
Version = 2
Name = "Exoplanet Data Files",
Type = "HttpSynchronization",
Identifier = "exoplanets_data",
Version = 2
})
asset.onInitialize(function ()
local p = "Modules.Exoplanets.DataFolder";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, DataPath)
end
local p = "Modules.Exoplanets.DataFolder";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, DataPath)
end
p = "Modules.Exoplanets.BvColormap";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, bvColorLUT .. "/colorbv.cmap")
end
p = "Modules.Exoplanets.BvColormap";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, bvColorLUT .. "/colorbv.cmap")
end
end)
asset.export("DataPath", DataPath)
asset.meta = {
Name = "Exoplanet Data",
Version = "2.0",
Description = [[ The data that is used for the exoplanet systems. The data has been
derived from the 'Planetary Systems Composite Data' dataset from the NASA Exoplanet
Archive]],
Author = "OpenSpace Team",
URL = "https://exoplanetarchive.ipac.caltech.edu/docs/data.html",
License = "MIT license"
Name = "Exoplanet Data",
Version = "2.0",
Description = [[ The data that is used for the exoplanet systems. The data has been
derived from the 'Planetary Systems Composite Data' dataset from the NASA Exoplanet
Archive]],
Author = "OpenSpace Team",
URL = "https://exoplanetarchive.ipac.caltech.edu/docs/data.html",
License = "MIT license"
}

View File

@@ -4,57 +4,57 @@ local habitableZoneTextures =
local sunTextures = asset.require('scene/solarsystem/sun/sun_textures').TexturesPath
local TexturesPath = asset.syncedResource({
Name = "Exoplanet Textures",
Type = "HttpSynchronization",
Identifier = "exoplanets_textures",
Version = 2
Name = "Exoplanet Textures",
Type = "HttpSynchronization",
Identifier = "exoplanets_textures",
Version = 2
})
asset.onInitialize(function ()
local starTexture = TexturesPath .. "/sun.jpg"
local noDataTexture = TexturesPath .. "/grid-32.png"
local discTexture = TexturesPath .. "/disc_bw_texture.png"
local starTexture = TexturesPath .. "/sun.jpg"
local noDataTexture = TexturesPath .. "/grid-32.png"
local discTexture = TexturesPath .. "/disc_bw_texture.png"
local starGlareTexture = sunTextures .. "/halo.png"
local starGlareTexture = sunTextures .. "/halo.png"
local hzTexture = habitableZoneTextures .. "/hot_to_cold_faded.png"
local hzTexture = habitableZoneTextures .. "/hot_to_cold_faded.png"
-- Set the default textures used for the exoplanet system creation
-- (Check if already set, to not override value in config file)
local p = "Modules.Exoplanets.StarTexture";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, starTexture)
end
-- Set the default textures used for the exoplanet system creation
-- (Check if already set, to not override value in config file)
local p = "Modules.Exoplanets.StarTexture";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, starTexture)
end
local p = "Modules.Exoplanets.StarGlareTexture";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, starGlareTexture)
end
local p = "Modules.Exoplanets.StarGlareTexture";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, starGlareTexture)
end
p = "Modules.Exoplanets.NoDataTexture";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, noDataTexture)
end
p = "Modules.Exoplanets.NoDataTexture";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, noDataTexture)
end
p = "Modules.Exoplanets.OrbitDiscTexture";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, discTexture)
end
p = "Modules.Exoplanets.OrbitDiscTexture";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, discTexture)
end
p = "Modules.Exoplanets.HabitableZoneTexture";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, hzTexture)
end
p = "Modules.Exoplanets.HabitableZoneTexture";
if (openspace.getPropertyValue(p) == "") then
openspace.setPropertyValueSingle(p, hzTexture)
end
end)
asset.export("TexturesPath", TexturesPath)
asset.meta = {
Name = "Exoplanet Textures",
Version = "2.0",
Description = [[ Adds all textures that are required for the exoplanet system
visualizations]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license",
Name = "Exoplanet Textures",
Version = "2.0",
Description = [[ Adds all textures that are required for the exoplanet system
visualizations]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license",
}

View File

@@ -3,47 +3,47 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Stars Textures",
Type = "HttpSynchronization",
Identifier = "stars_textures",
Version = 1
Name = "Stars Textures",
Type = "HttpSynchronization",
Identifier = "stars_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Apogee Speck Files",
Type = "HttpSynchronization",
Identifier = "gaia_apogee",
Version = 1
Name = "Apogee Speck Files",
Type = "HttpSynchronization",
Identifier = "gaia_apogee",
Version = 1
})
local colorLUT = asset.syncedResource({
Name = "Stars Color Table",
Type = "HttpSynchronization",
Identifier = "stars_colormap",
Version = 2
Name = "Stars Color Table",
Type = "HttpSynchronization",
Identifier = "stars_colormap",
Version = 2
})
local gaia_abundance_apogee = {
Identifier = "Gaia Abundance Apogee",
Renderable = {
Type = "RenderableStars",
Enabled = false,
File = speck .. "/GaiaAbundApogee.speck",
ColorOption = "Other Data",
OtherData = "FeH",
MagnitudeExponent = 6.2,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based",
Texture = textures .. "/halo.png",
-- ShapeTexture = textures .. "/disc.png",
ColorMap = colorLUT .. "/colorbv.cmap",
OtherDataColorMap = colorLUT .. "/viridis.cmap",
StaticFilter = -9999,
StaticFilterReplacement = 0.0
},
GUI = {
Path = "/Milky Way/Gaia"
}
Identifier = "Gaia Abundance Apogee",
Renderable = {
Type = "RenderableStars",
Enabled = false,
File = speck .. "/GaiaAbundApogee.speck",
ColorOption = "Other Data",
OtherData = "FeH",
MagnitudeExponent = 6.2,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based",
Texture = textures .. "/halo.png",
-- ShapeTexture = textures .. "/disc.png",
ColorMap = colorLUT .. "/colorbv.cmap",
OtherDataColorMap = colorLUT .. "/viridis.cmap",
StaticFilter = -9999,
StaticFilterReplacement = 0.0
},
GUI = {
Path = "/Milky Way/Gaia"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { gaia_abundance_apogee })

View File

@@ -2,10 +2,10 @@
-- The octree was generated from the full DR2 by filtering away all stars with a parallax error higher than 0.5
-- Max Star Per Node = 50,000 and max distance = 500kpc
local gaia618Destination = asset.syncedResource({
Name = "Gaia DR2 618M Octree",
Type = "HttpSynchronization",
Identifier = "gaia_stars_618M_octree",
Version = 1
Name = "Gaia DR2 618M Octree",
Type = "HttpSynchronization",
Identifier = "gaia_stars_618M_octree",
Version = 1
})
local gaia618DestinationExtracted = gaia618Destination + '/data';
@@ -13,17 +13,17 @@ local gaia618DestinationExtracted = gaia618Destination + '/data';
-- From these files new subsets can be created with the ConstructOctreeTask (gaia_octree.task).
-- Total size of download is 151 GB.
local gaiaFull = asset.syncedResource({
Name = "Gaia DR2 Full Raw",
Type = "HttpSynchronization",
Identifier = "gaia_stars_dr2_raw",
Version = 1
Name = "Gaia DR2 Full Raw",
Type = "HttpSynchronization",
Identifier = "gaia_stars_dr2_raw",
Version = 1
})
asset.onInitialize(function()
if not openspace.directoryExists(gaia618DestinationExtracted) then
openspace.printInfo("Extracted Gaia dataset")
openspace.unzipFile(gaia618Destination .. '/DR2_full_Octree[50kSPN,500dist]_50,50.zip', gaia618DestinationExtracted, true)
end
if not openspace.directoryExists(gaia618DestinationExtracted) then
openspace.printInfo("Extracted Gaia dataset")
openspace.unzipFile(gaia618Destination .. '/DR2_full_Octree[50kSPN,500dist]_50,50.zip', gaia618DestinationExtracted, true)
end
end)
asset.export('GaiaDR2_618M', gaia618DestinationExtracted)

View File

@@ -1,60 +1,60 @@
local assetHelper = asset.require("util/asset_helper")
local textures = asset.syncedResource({
Name = "Stars Textures",
Type = "HttpSynchronization",
Identifier = "stars_textures",
Version = 1
Name = "Stars Textures",
Type = "HttpSynchronization",
Identifier = "stars_textures",
Version = 1
})
local colorLUT = asset.syncedResource({
Name = "Stars Color Table",
Type = "HttpSynchronization",
Identifier = "stars_colormap",
Version = 1
Name = "Stars Color Table",
Type = "HttpSynchronization",
Identifier = "stars_colormap",
Version = 1
})
-- Download a preprocessed binary octree of Radial Velocity subset values per star (preprocessed into 8 binary files).
local starsFolder = asset.syncedResource({
Name = "Gaia Stars RV",
Type = "HttpSynchronization",
Identifier = "gaia_stars_rv_octree",
Version = 1
Name = "Gaia Stars RV",
Type = "HttpSynchronization",
Identifier = "gaia_stars_rv_octree",
Version = 1
})
local GaiaStars = {
Identifier = "GaiaStars",
Renderable = {
Type = "RenderableGaiaStars",
File = starsFolder .. "/",
FileReaderOption = "StreamOctree",
RenderOption = "Motion",
ShaderOption = "Point_SSBO",
Texture = textures .. "/halo.png",
ColorMap = colorLUT .. "/colorbv.cmap",
LuminosityMultiplier = 35,
MagnitudeBoost = 25,
CutOffThreshold = 38,
BillboardSize = 1,
CloseUpBoostDist = 250,
Sharpness = 1.45,
LodPixelThreshold = 0,
MaxGpuMemoryPercent = 0.24,
MaxCpuMemoryPercent = 0.4,
FilterSize = 5,
Sigma = 0.5,
AdditionalNodes = {3.0, 2.0},
FilterPosX = {0.0, 0.0},
FilterPosY = {0.0, 0.0},
FilterPosZ = {0.0, 0.0},
FilterGMag = {20.0, 20.0},
FilterBpRp = {0.0, 0.0},
FilterDist = {9.0, 9.0},
},
GUI = {
Name = "Gaia Stars",
Path = "/Milky Way"
}
Identifier = "GaiaStars",
Renderable = {
Type = "RenderableGaiaStars",
File = starsFolder .. "/",
FileReaderOption = "StreamOctree",
RenderOption = "Motion",
ShaderOption = "Point_SSBO",
Texture = textures .. "/halo.png",
ColorMap = colorLUT .. "/colorbv.cmap",
LuminosityMultiplier = 35,
MagnitudeBoost = 25,
CutOffThreshold = 38,
BillboardSize = 1,
CloseUpBoostDist = 250,
Sharpness = 1.45,
LodPixelThreshold = 0,
MaxGpuMemoryPercent = 0.24,
MaxCpuMemoryPercent = 0.4,
FilterSize = 5,
Sigma = 0.5,
AdditionalNodes = {3.0, 2.0},
FilterPosX = {0.0, 0.0},
FilterPosY = {0.0, 0.0},
FilterPosZ = {0.0, 0.0},
FilterGMag = {20.0, 20.0},
FilterBpRp = {0.0, 0.0},
FilterDist = {9.0, 9.0},
},
GUI = {
Name = "Gaia Stars",
Path = "/Milky Way"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { GaiaStars })

View File

@@ -3,47 +3,47 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Stars Textures",
Type = "HttpSynchronization",
Identifier = "stars_textures",
Version = 1
Name = "Stars Textures",
Type = "HttpSynchronization",
Identifier = "stars_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Galah Speck Files",
Type = "HttpSynchronization",
Identifier = "gaia_galah",
Version = 1
Name = "Galah Speck Files",
Type = "HttpSynchronization",
Identifier = "gaia_galah",
Version = 1
})
local colorLUT = asset.syncedResource({
Name = "Stars Color Table",
Type = "HttpSynchronization",
Identifier = "stars_colormap",
Version = 2
Name = "Stars Color Table",
Type = "HttpSynchronization",
Identifier = "stars_colormap",
Version = 2
})
local gaia_abundance_galah = {
Identifier = "Gaia Abundance Galah",
Renderable = {
Type = "RenderableStars",
Enabled = false,
File = speck .. "/GaiaAbundGalah.speck",
Texture = textures .. "/halo.png",
-- ShapeTexture = textures .. "/disc.png",
MagnitudeExponent = 6.2,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based",
ColorOption = "Other Data",
OtherData = "FeH",
ColorMap = colorLUT .. "/colorbv.cmap",
OtherDataColorMap = colorLUT .. "/viridis.cmap",
StaticFilter = -9999,
StaticFilterReplacement = 0.0
},
GUI = {
Path = "/Milky Way/Gaia"
}
Identifier = "Gaia Abundance Galah",
Renderable = {
Type = "RenderableStars",
Enabled = false,
File = speck .. "/GaiaAbundGalah.speck",
Texture = textures .. "/halo.png",
-- ShapeTexture = textures .. "/disc.png",
MagnitudeExponent = 6.2,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based",
ColorOption = "Other Data",
OtherData = "FeH",
ColorMap = colorLUT .. "/colorbv.cmap",
OtherDataColorMap = colorLUT .. "/viridis.cmap",
StaticFilter = -9999,
StaticFilterReplacement = 0.0
},
GUI = {
Path = "/Milky Way/Gaia"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { gaia_abundance_galah })

View File

@@ -1,17 +1,17 @@
local TexturesPath = asset.syncedResource({
Name = "Habitable Zone Textures",
Type = "HttpSynchronization",
Identifier = "habitable_zone_textures",
Version = 1
Name = "Habitable Zone Textures",
Type = "HttpSynchronization",
Identifier = "habitable_zone_textures",
Version = 1
})
asset.export("TexturesPath", TexturesPath)
asset.meta = {
Name = "Habitable Zone Textures",
Version = "1.0",
Description = [[ Default textures that can be used for the habitable zone
rendering]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license",
Name = "Habitable Zone Textures",
Version = "1.0",
Description = [[ Default textures that can be used for the habitable zone
rendering]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license",
}

View File

@@ -3,36 +3,36 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "ESO Milky Way Textures",
Type = "HttpSynchronization",
Identifier = "milkyway-eso_textures",
Version = 1
Name = "ESO Milky Way Textures",
Type = "HttpSynchronization",
Identifier = "milkyway-eso_textures",
Version = 1
})
local object = {
Identifier = "MilkyWay-ESO",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = {0, 0, 3.14159265359}
}
},
Renderable = {
Type = "RenderableSphere",
Size = 9.2E20,
Segments = 40,
Opacity = 0.4,
Texture = textures .. "/eso0932a_blend.png",
UseAdditiveBlending = true,
Orientation = "Inside",
MirrorTexture = true,
FadeOutThreshold = 0.01,
Background = true
},
GUI = {
Name = "Milky Way (ESO)",
Path = "/Milky Way/Milky Way"
Identifier = "MilkyWay-ESO",
Transform = {
Rotation = {
Type = "StaticRotation",
Rotation = {0, 0, 3.14159265359}
}
},
Renderable = {
Type = "RenderableSphere",
Size = 9.2E20,
Segments = 40,
Opacity = 0.4,
Texture = textures .. "/eso0932a_blend.png",
UseAdditiveBlending = true,
Orientation = "Inside",
MirrorTexture = true,
FadeOutThreshold = 0.01,
Background = true
},
GUI = {
Name = "Milky Way (ESO)",
Path = "/Milky Way/Milky Way"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })

View File

@@ -4,50 +4,50 @@ local assetHelper = asset.require("util/asset_helper")
local transforms = asset.require("scene/solarsystem/sun/transforms")
local data = asset.syncedResource({
Name = "Milkyway Volume Data",
Type = "HttpSynchronization",
Identifier = "milkyway_volume_data",
Version = 1
Name = "Milkyway Volume Data",
Type = "HttpSynchronization",
Identifier = "milkyway_volume_data",
Version = 1
})
local kiloparsec = 3.086E19
local MilkyWayVolumeGalaxy = {
Identifier = "MilkyWayVolume",
Parent = transforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "StaticTranslation",
-- The center of the Milky Way is approximately 8 kiloparsec from the Sun.
-- The x-axis of galactic coordinates points from the sun towards the center
-- of the galaxy.
Position = { 8 * kiloparsec, 0, 0 }
}
},
Renderable = {
Type = "RenderableGalaxy",
StepSize = 0.01,
AbsorptionMultiply = 200,
EmissionMultiply = 250,
Rotation = { 3.1415926, 3.1248, 4.45741 },
Volume = {
Type = "Volume",
Filename = data .. "/MilkyWayRGBAVolume1024x1024x128.raw",
Dimensions = { 1024, 1024, 128 },
Size = { 1.2E21, 1.2E21, 0.15E21 },
Downscale = 0.4,
},
Points = {
Type = "Points",
Filename = data .. "/MilkyWayPoints.off",
EnabledPointsRatio = 0.3,
Texture = data .. "/halo.png"
}
},
GUI = {
Path = "/Milky Way",
Name = "Milky Way Volume"
Identifier = "MilkyWayVolume",
Parent = transforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "StaticTranslation",
-- The center of the Milky Way is approximately 8 kiloparsec from the Sun.
-- The x-axis of galactic coordinates points from the sun towards the center
-- of the galaxy.
Position = { 8 * kiloparsec, 0, 0 }
}
},
Renderable = {
Type = "RenderableGalaxy",
StepSize = 0.01,
AbsorptionMultiply = 200,
EmissionMultiply = 250,
Rotation = { 3.1415926, 3.1248, 4.45741 },
Volume = {
Type = "Volume",
Filename = data .. "/MilkyWayRGBAVolume1024x1024x128.raw",
Dimensions = { 1024, 1024, 128 },
Size = { 1.2E21, 1.2E21, 0.15E21 },
Downscale = 0.4,
},
Points = {
Type = "Points",
Filename = data .. "/MilkyWayPoints.off",
EnabledPointsRatio = 0.3,
Texture = data .. "/halo.png"
}
},
GUI = {
Path = "/Milky Way",
Name = "Milky Way Volume"
}
}
local objects = { MilkyWayVolumeGalaxy }
@@ -55,12 +55,12 @@ assetHelper.registerSceneGraphNodesAndExport(asset, objects)
asset.meta = {
Name = "Milky Way Volume",
Version = "1.0",
Description = [[Volumetric rendering of Milky Way galaxy based on simulation from
NAOJ.]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT License",
Identifiers = {"MilkyWayVolume"}
Name = "Milky Way Volume",
Version = "1.0",
Description = [[Volumetric rendering of Milky Way galaxy based on simulation from
NAOJ.]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT License",
Identifiers = {"MilkyWayVolume"}
}

View File

@@ -3,53 +3,53 @@ local assetHelper = asset.require('util/asset_helper')
local transforms = asset.require("./transforms")
local sync = asset.syncedResource({
Name = "Orion Nebula Star Cluster",
Type = "HttpSynchronization",
Identifier = "orion_nebula_star_cluster",
Version = 1
Name = "Orion Nebula Star Cluster",
Type = "HttpSynchronization",
Identifier = "orion_nebula_star_cluster",
Version = 1
})
local OrionClusterStars = {
Identifier = "OrionClusterStars",
Parent = transforms.NebulaPosition.Identifier,
Renderable = {
Type = "RenderableStars",
File = sync .. "/oricluster.speck",
Texture = sync .. "/halo.png",
ColorMap = sync .. "/colorbv.cmap",
MagnitudeExponent = 5.02,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based"
},
GUI = {
Name = "Orion Nebula Star Cluster",
Path = "/Milky Way/Orion",
Description = [[ In order to have an accurate depiction of the Orion nebula, we
need to include the star cluster that was birthed from it. We turned to a study of the
cluster's stellar population by Lynne Hillenbrand, who was working at the University of
California, Berkeley at the time. The catalog from her paper contains more than 1500
stars, about half the stars in the actual cluster. The cluster is very crowded, with a
peak density of 10000 stars per cubic parsec over a wide range of masses from a tenth the
sun's mass up to 50 times its mass. We were presented with one problem: there are no
distances. For the stellar distances, we needed to deduce them by statistical methods.
Knowing the size of the cluster and approximating the shape to be roughly spherical, we
placed each star along a line of sight through this imaginary sphere centered on the
cluster. In this sense, these data are observed data and the view from Earth is accurate.
But the distance of each star has been derived from this educated-guess approach for the
cluster distribution. ]]
}
Identifier = "OrionClusterStars",
Parent = transforms.NebulaPosition.Identifier,
Renderable = {
Type = "RenderableStars",
File = sync .. "/oricluster.speck",
Texture = sync .. "/halo.png",
ColorMap = sync .. "/colorbv.cmap",
MagnitudeExponent = 5.02,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based"
},
GUI = {
Name = "Orion Nebula Star Cluster",
Path = "/Milky Way/Orion",
Description = [[ In order to have an accurate depiction of the Orion nebula, we
need to include the star cluster that was birthed from it. We turned to a study of the
cluster's stellar population by Lynne Hillenbrand, who was working at the University of
California, Berkeley at the time. The catalog from her paper contains more than 1500
stars, about half the stars in the actual cluster. The cluster is very crowded, with a
peak density of 10000 stars per cubic parsec over a wide range of masses from a tenth the
sun's mass up to 50 times its mass. We were presented with one problem: there are no
distances. For the stellar distances, we needed to deduce them by statistical methods.
Knowing the size of the cluster and approximating the shape to be roughly spherical, we
placed each star along a line of sight through this imaginary sphere centered on the
cluster. In this sense, these data are observed data and the view from Earth is accurate.
But the distance of each star has been derived from this educated-guess approach for the
cluster distribution. ]]
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { OrionClusterStars })
asset.meta = {
Name = "Orion Nebula Star Cluster",
Version = "1.0",
Description = [[ Digital Universe asset for the Orion star cluster. To be used in
conjunction with nebula model. Use orionnebula.asset to include both.]],
Author = "AMNH Digital Universe",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"OrionClusterStars"}
Name = "Orion Nebula Star Cluster",
Version = "1.0",
Description = [[ Digital Universe asset for the Orion star cluster. To be used in
conjunction with nebula model. Use orionnebula.asset to include both.]],
Author = "AMNH Digital Universe",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"OrionClusterStars"}
}

View File

@@ -6,152 +6,152 @@ local center = sunTransforms.SolarSystemBarycenter.Identifier;
local LIGHTS = assetHelper.getDefaultLightSources(center);
local sync = asset.syncedResource({
Name = "Orion Nebula Model",
Type = "HttpSynchronization",
Identifier = "orion_nebula_model",
Version = 2
Name = "Orion Nebula Model",
Type = "HttpSynchronization",
Identifier = "orion_nebula_model",
Version = 2
})
local NebulaHolder = {
Identifier = "OrionNebulaHolder",
Parent = transforms.NebulaPosition.Identifier,
Transform = {
Scale = {
Type = "StaticScale",
Scale = 35999998699110400.000000
},
Rotation = {
Type = "FixedRotation",
Attached = "OrionNebulaHolder",
XAxis = {1.000000,1.000000,0.510000},
XAxisOrthogonal = true,
YAxis = "Sun",
YAxisInverted = false
}
Identifier = "OrionNebulaHolder",
Parent = transforms.NebulaPosition.Identifier,
Transform = {
Scale = {
Type = "StaticScale",
Scale = 35999998699110400.000000
},
GUI = {
Name = "Orion Nebula",
Path = "/Milky Way/Orion",
Description = [[ In the Digital Universe model of the Orion Nebula, we depict the
ionization front effectively as a terrain, with a flat Hubble image of the nebula mapped
on the undulating surface. In reality, the ionization front has a slight thickness to
it - about a third of a light year - but is quite thin compared to the overall size of
the nebula, which stretches about ten light years from side to side.<br><br>Close into
the center, we see small teardrop-shaped structures with their narrow ends pointing away
from the bright star: these are protoplanetary disks, or proplyds, of dense gas and dust
surrounding young stars. The larger formations that one sees farther away from the center
of the nebula take on a cup-like shape, with the narrow end pointing away from the
nebulas center. These enormous structures are bow shocks that delineate the region where
highspeed winds from the central star slow from supersonic to subsonic speeds. You can
think of an HII region as a sort of tremendous explosion, taking place over millennia,
and the bow shocks are part of the outward rush of material. ]]
Rotation = {
Type = "FixedRotation",
Attached = "OrionNebulaHolder",
XAxis = {1.000000,1.000000,0.510000},
XAxisOrthogonal = true,
YAxis = "Sun",
YAxisInverted = false
}
},
GUI = {
Name = "Orion Nebula",
Path = "/Milky Way/Orion",
Description = [[ In the Digital Universe model of the Orion Nebula, we depict the
ionization front effectively as a terrain, with a flat Hubble image of the nebula mapped
on the undulating surface. In reality, the ionization front has a slight thickness to
it - about a third of a light year - but is quite thin compared to the overall size of
the nebula, which stretches about ten light years from side to side.<br><br>Close into
the center, we see small teardrop-shaped structures with their narrow ends pointing away
from the bright star: these are protoplanetary disks, or proplyds, of dense gas and dust
surrounding young stars. The larger formations that one sees farther away from the center
of the nebula take on a cup-like shape, with the narrow end pointing away from the
nebulas center. These enormous structures are bow shocks that delineate the region where
highspeed winds from the central star slow from supersonic to subsonic speeds. You can
think of an HII region as a sort of tremendous explosion, taking place over millennia,
and the bow shocks are part of the outward rush of material. ]]
}
}
local OrionNebulaModel = {
Identifier = "OrionNebulaModel",
Parent = NebulaHolder.Identifier,
Transform = {
Scale = {
Type = "StaticScale",
Scale = 0.67500000
}
},
Renderable = {
Type = "RenderableModel",
GeometryFile = sync .. "/orion_nebula.obj",
Opacity = 1.0,
DisableFaceCulling = false,
SpecularIntensity = 0.0,
AmbientIntensity = 0.0,
DiffuseIntensity = 1.0,
--PerformShading = false,
RotationVector = { 0.000000, 22.300000, 0.000000 },
LightSources = LIGHTS;
},
GUI = {
Name = "Orion Nebula Model",
Path = "/Milky Way/Orion",
Hidden = true,
Description = "Orion Nebula 3D model. See Orion Nebula for description."
Identifier = "OrionNebulaModel",
Parent = NebulaHolder.Identifier,
Transform = {
Scale = {
Type = "StaticScale",
Scale = 0.67500000
}
},
Renderable = {
Type = "RenderableModel",
GeometryFile = sync .. "/orion_nebula.obj",
Opacity = 1.0,
DisableFaceCulling = false,
SpecularIntensity = 0.0,
AmbientIntensity = 0.0,
DiffuseIntensity = 1.0,
--PerformShading = false,
RotationVector = { 0.000000, 22.300000, 0.000000 },
LightSources = LIGHTS;
},
GUI = {
Name = "Orion Nebula Model",
Path = "/Milky Way/Orion",
Hidden = true,
Description = "Orion Nebula 3D model. See Orion Nebula for description."
}
}
local OrionNebulaShocksModel = {
Identifier = "OrionNebulaShocksModel",
Parent = NebulaHolder.Identifier,
Transform = {
Scale = {
Type = "StaticScale",
Scale = 0.67500000
}
},
Renderable = {
Type = "RenderableModel",
GeometryFile = sync .. "/orishocks.obj",
Opacity = 1.0,
DisableFaceCulling = false,
SpecularIntensity = 0.0,
AmbientIntensity = 0.0,
DiffuseIntensity = 1.0,
--PerformShading = false,
RotationVector = { 0.000000, 22.300000, 0.000000 },
LightSources = LIGHTS;
},
GUI = {
Name = "Orion Nebula Shocks",
Path = "/Milky Way/Orion",
Hidden = false,
Description = "Orion Nebula Shocks 3D model. See Orion Nebula for description."
Identifier = "OrionNebulaShocksModel",
Parent = NebulaHolder.Identifier,
Transform = {
Scale = {
Type = "StaticScale",
Scale = 0.67500000
}
},
Renderable = {
Type = "RenderableModel",
GeometryFile = sync .. "/orishocks.obj",
Opacity = 1.0,
DisableFaceCulling = false,
SpecularIntensity = 0.0,
AmbientIntensity = 0.0,
DiffuseIntensity = 1.0,
--PerformShading = false,
RotationVector = { 0.000000, 22.300000, 0.000000 },
LightSources = LIGHTS;
},
GUI = {
Name = "Orion Nebula Shocks",
Path = "/Milky Way/Orion",
Hidden = false,
Description = "Orion Nebula Shocks 3D model. See Orion Nebula for description."
}
}
local OrionNebulaProplydsModel = {
Identifier = "OrionNebulaProplydsModel",
Parent = NebulaHolder.Identifier,
Transform = {
Scale = {
Type = "StaticScale",
Scale = 0.67500000
}
},
Renderable = {
Type = "RenderableModel",
GeometryFile = sync .. "/proplyds.obj",
Opacity = 1.0,
DisableFaceCulling = false,
SpecularIntensity = 0.0,
AmbientIntensity = 0.0,
DiffuseIntensity = 1.0,
--PerformShading = false,
RotationVector = { 0.000000, 22.300000, 0.000000 },
LightSources = LIGHTS;
},
GUI = {
Name = "Orion Nebula Proplyds",
Path = "/Milky Way/Orion",
Hidden = false,
Description = "Orion Nebula Proplyds 3D model. See Orion Nebula for description."
Identifier = "OrionNebulaProplydsModel",
Parent = NebulaHolder.Identifier,
Transform = {
Scale = {
Type = "StaticScale",
Scale = 0.67500000
}
},
Renderable = {
Type = "RenderableModel",
GeometryFile = sync .. "/proplyds.obj",
Opacity = 1.0,
DisableFaceCulling = false,
SpecularIntensity = 0.0,
AmbientIntensity = 0.0,
DiffuseIntensity = 1.0,
--PerformShading = false,
RotationVector = { 0.000000, 22.300000, 0.000000 },
LightSources = LIGHTS;
},
GUI = {
Name = "Orion Nebula Proplyds",
Path = "/Milky Way/Orion",
Hidden = false,
Description = "Orion Nebula Proplyds 3D model. See Orion Nebula for description."
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, {
NebulaHolder,
OrionNebulaModel,
OrionNebulaShocksModel,
OrionNebulaProplydsModel
NebulaHolder,
OrionNebulaModel,
OrionNebulaShocksModel,
OrionNebulaProplydsModel
})
asset.meta = {
Name = "Orion Nebula Model",
Version = "1.0",
Description = [[ Digital Universe asset for the Orion nebula 3D model. This asset
contains seperate models for the nebula, proplyds and shocks. To be used in
conjunction with orion star cluster. Use orionnebula.asset to include both.]],
Author = "AMNH Digital Universe",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"OrionNebulaHolder", "OrionNebulaModel", "OrionNebulaProplydsModel",
"OrionNebulaShocksModel"}
Name = "Orion Nebula Model",
Version = "1.0",
Description = [[ Digital Universe asset for the Orion nebula 3D model. This asset
contains seperate models for the nebula, proplyds and shocks. To be used in
conjunction with orion star cluster. Use orionnebula.asset to include both.]],
Author = "AMNH Digital Universe",
URL = "https://www.amnh.org/research/hayden-planetarium/digital-universe",
License = "AMNH Digital Universe",
Identifiers = {"OrionNebulaHolder", "OrionNebulaModel", "OrionNebulaProplydsModel",
"OrionNebulaShocksModel"}
}

View File

@@ -4,24 +4,24 @@ local sunTransforms = asset.require('scene/solarsystem/sun/transforms')
local PARSEC_CONSTANT = 3.0856776E16;
local NebulaPosition = {
Identifier = "NebulaPosition",
Parent = sunTransforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "StaticTranslation",
Position = {
-329.915 * PARSEC_CONSTANT,
-183.153 * PARSEC_CONSTANT,
-132.706 * PARSEC_CONSTANT
}
},
Identifier = "NebulaPosition",
Parent = sunTransforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "StaticTranslation",
Position = {
-329.915 * PARSEC_CONSTANT,
-183.153 * PARSEC_CONSTANT,
-132.706 * PARSEC_CONSTANT
}
},
GUI = {
Name = "Orion Nebula Position",
Path = "/Milky Way/Orion",
Hidden = true,
Description = "Static position for Orion Nebula"
}
},
GUI = {
Name = "Orion Nebula Position",
Path = "/Milky Way/Orion",
Hidden = true,
Description = "Static position for Orion Nebula"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { NebulaPosition })

View File

@@ -3,52 +3,52 @@ local assetHelper = asset.require('util/asset_helper')
local textures = asset.syncedResource({
Name = "Stars Textures",
Type = "HttpSynchronization",
Identifier = "stars-denver_textures",
Version = 1
Name = "Stars Textures",
Type = "HttpSynchronization",
Identifier = "stars-denver_textures",
Version = 1
})
local speck = asset.syncedResource({
Name = "Stars Speck Files",
Type = "HttpSynchronization",
Identifier = "stars-denver_speck",
Version = 1
Name = "Stars Speck Files",
Type = "HttpSynchronization",
Identifier = "stars-denver_speck",
Version = 1
})
local colorLUT = asset.syncedResource({
Name = "Stars Color Table",
Type = "HttpSynchronization",
Identifier = "stars-denver_colormap",
Version = 2
Name = "Stars Color Table",
Type = "HttpSynchronization",
Identifier = "stars-denver_colormap",
Version = 2
})
local object = {
Identifier = "Stars-Denver",
Renderable = {
Type = "RenderableStars",
File = speck .. "/denver_stars.speck",
Texture = textures .. "/halo.png",
ColorMap = colorLUT .. "/denver_colorbv.cmap",
MagnitudeExponent = 6.2,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based" -- or PSF
},
GUI = {
Name = "Stars (Denver)",
Path = "/Milky Way/Stars"
}
Identifier = "Stars-Denver",
Renderable = {
Type = "RenderableStars",
File = speck .. "/denver_stars.speck",
Texture = textures .. "/halo.png",
ColorMap = colorLUT .. "/denver_colorbv.cmap",
MagnitudeExponent = 6.2,
SizeComposition = "Distance Modulus",
RenderMethod = "Texture Based" -- or PSF
},
GUI = {
Name = "Stars (Denver)",
Path = "/Milky Way/Stars"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { object })
asset.meta = {
Name = "Stars Denver",
Version = "1.0",
Description = [[Alternative Milky Way Atlas: based on HIPPARCOS and Yale Bright
Name = "Stars Denver",
Version = "1.0",
Description = [[Alternative Milky Way Atlas: based on HIPPARCOS and Yale Bright
Star catalogs]],
Author = "Ka chun Yu",
URL = "http://openspaceproject.com",
License = "Creative Commons Attribution-Share Alike 3.0 Unported"
Author = "Ka chun Yu",
URL = "http://openspaceproject.com",
License = "Creative Commons Attribution-Share Alike 3.0 Unported"
}

View File

@@ -7,57 +7,57 @@ local labelsPath = asset.require('./../pluto_globelabels').LabelsPath
local Charon = {
Identifier = "Charon",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "CHARON",
Observer = "PLUTO BARYCENTER"
},
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_CHARON",
DestinationFrame = "GALACTIC"
}
Identifier = "Charon",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "CHARON",
Observer = "PLUTO BARYCENTER"
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 6.035E5, 6.035E5, 6.035E5 },
SegmentsPerPatch = 64,
Layers = {},
Labels = {
Enable = false,
FileName = labelsPath .. "/charon.labels",
LabelAlignmentOption = "Horizontally", -- or Circularly
LabelsFontSize = 40.0,
LabelsSize = 8.0,
LabelsMinSize = 1.0,
LabelsMaxSize = 1500.0,
ProximityEnabled = false,
LabelsFadeInEnabled = true,
LabelsFadeOutEnabled = true,
FadeInStartingDistance = 2000000.0,
FadeOutStartingDistance = 800000.0,
LabelsForceDomeRendering = true,
LabelsDistanceEPS = 250000.0,
LabelsColor = { 1.0, 1.0, 0.0 }
}
},
Tag = { "planet_solarSystem", "planet_terrestrial" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_CHARON",
DestinationFrame = "GALACTIC"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 6.035E5, 6.035E5, 6.035E5 },
SegmentsPerPatch = 64,
Layers = {},
Labels = {
Enable = false,
FileName = labelsPath .. "/charon.labels",
LabelAlignmentOption = "Horizontally", -- or Circularly
LabelsFontSize = 40.0,
LabelsSize = 8.0,
LabelsMinSize = 1.0,
LabelsMaxSize = 1500.0,
ProximityEnabled = false,
LabelsFadeInEnabled = true,
LabelsFadeOutEnabled = true,
FadeInStartingDistance = 2000000.0,
FadeOutStartingDistance = 800000.0,
LabelsForceDomeRendering = true,
LabelsDistanceEPS = 250000.0,
LabelsColor = { 1.0, 1.0, 0.0 }
}
},
Tag = { "planet_solarSystem", "planet_terrestrial" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Charon })
asset.meta = {
Name = "Charon",
Version = "1.0",
Description = [[ Charon globe with labels.]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Name = "Charon",
Version = "1.0",
Description = [[ Charon globe with labels.]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -4,39 +4,40 @@ asset.require("spice/base")
local CharonTrailBarycentric = {
Identifier = "CharonBarycentricTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "CHARON",
Observer = "PLUTO BARYCENTER"
},
Color = { 0.00, 0.62, 1.00 },
Period = 6.38723,
Resolution = 1000
Identifier = "CharonBarycentricTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "CHARON",
Observer = "PLUTO BARYCENTER"
},
Tag = {
"moonTrail_solarSystem",
"moonTrail_dwarf",
"moonTrail_pluto",
"moonTrail_minor" },
GUI = {
Name = "Charon Barycentric Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
Color = { 0.00, 0.62, 1.00 },
Period = 6.38723,
Resolution = 1000
},
Tag = {
"moonTrail_solarSystem",
"moonTrail_dwarf",
"moonTrail_pluto",
"moonTrail_minor"
},
GUI = {
Name = "Charon Barycentric Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { CharonTrailBarycentric })
asset.meta = {
Name = "Charon Barycentric Trail",
Version = "1.0",
Description = [[ Trail of Charon as observed by Pluto Barycenter. Data from
Name = "Charon Barycentric Trail",
Version = "1.0",
Description = [[ Trail of Charon as observed by Pluto Barycenter. Data from
NASA Spice (see base spice asset)]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/greyscale_usgs")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
openspace.setPropertyValueSingle("Scene.Charon.Renderable.Layers.ColorLayers." ..
colorLayer.layer.Identifier .. ".Enabled", true)
openspace.setPropertyValueSingle("Scene.Charon.Renderable.Layers.ColorLayers." ..
colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
Name = "Default Charon Layers",
Version = "1.0",
Description = [[ Default Charon layers are: Black & White USGS]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Name = "Default Charon Layers",
Version = "1.0",
Description = [[ Default Charon layers are: Black & White USGS]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -1,22 +1,22 @@
local globeIdentifier = asset.require("./../../charon").Charon.Identifier
local layer = {
Identifier = "Greyscale_USGS",
Name = "Black & White [USGS]",
FilePath = "WMS:https://planetarymaps.usgs.gov/cgi-bin/mapserv?map=/maps/pluto/charon_simp_cyl.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NEWHORIZONS_CHARON_MOSAIC&SRS=EPSG:4326&BBOX=-180,-90.0003,359.972,90",
Identifier = "Greyscale_USGS",
Name = "Black & White [USGS]",
FilePath = "WMS:https://planetarymaps.usgs.gov/cgi-bin/mapserv?map=/maps/pluto/charon_simp_cyl.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NEWHORIZONS_CHARON_MOSAIC&SRS=EPSG:4326&BBOX=-180,-90.0003,359.972,90",
}
asset.onInitialize(function ()
openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
Name = "Charon Black & White & White [USGS]",
Version = "1.0",
Description = [[ Charon New Horizons LORRI MVIC Global Mosaic 300m v1. This detailed,
Name = "Charon Black & White & White [USGS]",
Version = "1.0",
Description = [[ Charon New Horizons LORRI MVIC Global Mosaic 300m v1. This detailed,
high-quality global mosaic of Plutos largest moon, Charon, was assembled from nearly
all of the highest-resolution images obtained by the Long-Range Reconnaissance Imager
(LORRI) and the Multispectral Visible Imaging Camera (MVIC) on New Horizons. The
@@ -25,8 +25,8 @@ asset.meta = {
kilometers long, and reaching 14 kilometers deep more than seven times as deep as the
Grand Canyon. This mosaic is available in equirectangular projection at an equatorial
pixel scale of 300 meters per pixel (m). (Description from URL)]],
Author = "USGS",
URL = "https://astrogeology.usgs.gov/search/map/Charon/NewHorizons/" ..
"Charon_NewHorizons_Global_Mosaic_300m_Jul2017",
License = "NASA/PDS"
Author = "USGS",
URL = "https://astrogeology.usgs.gov/search/map/Charon/NewHorizons/" ..
"Charon_NewHorizons_Global_Mosaic_300m_Jul2017",
License = "NASA/PDS"
}

View File

@@ -5,16 +5,16 @@ local colorLayer = asset.require(colorLayersPath .. "/greyscale_usgs")
-- Set enabled layers (temporary solution)
-- @TODO: do this using a boolean that's passed to the 'asset.require' instead
asset.onInitialize(function ()
openspace.setPropertyValueSingle("Scene.Pluto.Renderable.Layers.ColorLayers." ..
colorLayer.layer.Identifier .. ".Enabled", true)
openspace.setPropertyValueSingle("Scene.Pluto.Renderable.Layers.ColorLayers." ..
colorLayer.layer.Identifier .. ".Enabled", true)
end)
asset.meta = {
Name = "Default Pluto Layers",
Version = "1.0",
Description = [[ Default Pluto layers are: Black & White USGS]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Name = "Default Pluto Layers",
Version = "1.0",
Description = [[ Default Pluto layers are: Black & White USGS]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -1,24 +1,24 @@
local Kernels = asset.syncedResource({
Name = "Pluto Kernels",
Type = "HttpSynchronization",
Identifier = "pluto_kernels",
Version = 1
Name = "Pluto Kernels",
Type = "HttpSynchronization",
Identifier = "pluto_kernels",
Version = 1
})
local PlutoKernels = {
Kernels .. "/NavPE_de433_od122.bsp",
Kernels .. "/NavSE_plu047_od122.bsp",
Kernels .. "/ssd_jpl_nasa_gov_plu043.bsp"
Kernels .. "/NavPE_de433_od122.bsp",
Kernels .. "/NavSE_plu047_od122.bsp",
Kernels .. "/ssd_jpl_nasa_gov_plu043.bsp"
}
asset.export("PlutoKernels", PlutoKernels)
asset.meta = {
Name = "Pluto Spice Kernels",
Version = "1.0",
Description = [[ Generic SPICE kernels for Pluto.]],
Author = "OpenSpace Team",
URL = "https://naif.jpl.nasa.gov/pub/naif/pds/wgc/kernels/spk/",
License = "NASA"
Name = "Pluto Spice Kernels",
Version = "1.0",
Description = [[ Generic SPICE kernels for Pluto.]],
Author = "OpenSpace Team",
URL = "https://naif.jpl.nasa.gov/pub/naif/pds/wgc/kernels/spk/",
License = "NASA"
}

View File

@@ -1,35 +1,35 @@
local globeIdentifier = asset.require("./../../pluto").Pluto.Identifier
local layer = {
Identifier = "Greyscale_USGS",
Name = "Black & White [USGS]",
FilePath = "WMS:https://planetarymaps.usgs.gov/cgi-bin/mapserv?map=/maps/pluto/pluto_simp_cyl.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NEWHORIZONS_PLUTO_MOSAIC&SRS=EPSG:4326&BBOX=-180,-90,360,90",
Identifier = "Greyscale_USGS",
Name = "Black & White [USGS]",
FilePath = "WMS:https://planetarymaps.usgs.gov/cgi-bin/mapserv?map=/maps/pluto/pluto_simp_cyl.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NEWHORIZONS_PLUTO_MOSAIC&SRS=EPSG:4326&BBOX=-180,-90,360,90",
}
asset.onInitialize(function ()
openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.export("layer", layer)
asset.meta = {
Name = "Pluto Black & White & White [USGS]",
Version = "1.0",
Description = [[ This detailed, high-quality global mosaic of Pluto was assembled from
nearly all of the highest-resolution images obtained by the Long-Range
Reconnaissance Imager (LORRI) and the Multispectral Visible Imaging Camera (MVIC)
on New Horizons.The mosaic is the most detailed and comprehensive global view yet
of Plutos surface using New Horizons data. It includes topography data of the
hemisphere visible to New Horizons during the spacecrafts closest approach. The
topography is derived from digital stereo-image mapping tools that measure the
parallax or the difference in the apparent relative positions of features on
the surface obtained at different viewing angles during the encounter. Scientists
use these parallax displacements of high and low terrain to estimate landform
heights.The mosaic is available in Equirectangular projection at an equatorial
pixel scale of 300 meters per pixel (m). (Description from URL)]],
Author = "USGS",
URL = "https://astrogeology.usgs.gov/search/map/Pluto/NewHorizons/" ..
"Pluto_NewHorizons_Global_Mosaic_300m_Jul2017",
License = "NASA/PDS"
Name = "Pluto Black & White & White [USGS]",
Version = "1.0",
Description = [[ This detailed, high-quality global mosaic of Pluto was assembled from
nearly all of the highest-resolution images obtained by the Long-Range
Reconnaissance Imager (LORRI) and the Multispectral Visible Imaging Camera (MVIC)
on New Horizons.The mosaic is the most detailed and comprehensive global view yet
of Plutos surface using New Horizons data. It includes topography data of the
hemisphere visible to New Horizons during the spacecrafts closest approach. The
topography is derived from digital stereo-image mapping tools that measure the
parallax or the difference in the apparent relative positions of features on
the surface obtained at different viewing angles during the encounter. Scientists
use these parallax displacements of high and low terrain to estimate landform
heights.The mosaic is available in Equirectangular projection at an equatorial
pixel scale of 300 meters per pixel (m). (Description from URL)]],
Author = "USGS",
URL = "https://astrogeology.usgs.gov/search/map/Pluto/NewHorizons/" ..
"Pluto_NewHorizons_Global_Mosaic_300m_Jul2017",
License = "NASA/PDS"
}

View File

@@ -5,62 +5,63 @@ local kernels = asset.require('../kernels').PlutoKernels
local Hydra = {
Identifier = "Hydra",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "HYDRA",
Observer = "PLUTO BARYCENTER",
Kernels = kernels
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 0.53E5, 0.53E5, 0.53E5 },
SegmentsPerPatch = 64,
Layers = {}
},
Tag = { "moon_solarSystem", "moon_dwarf", "moon_pluto" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
Identifier = "Hydra",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "HYDRA",
Observer = "PLUTO BARYCENTER",
Kernels = kernels
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 0.53E5, 0.53E5, 0.53E5 },
SegmentsPerPatch = 64,
Layers = {}
},
Tag = { "moon_solarSystem", "moon_dwarf", "moon_pluto" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
local HydraTrail = {
Identifier = "HydraTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "HYDRA",
Observer = "PLUTO BARYCENTER",
},
Color = { 0.00, 0.62, 1.00 },
Period = 38.20177,
Resolution = 1000
Identifier = "HydraTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "HYDRA",
Observer = "PLUTO BARYCENTER",
},
Tag = {
"moonTrail_solarSystem",
"moonTrail_dwarf",
"moonTrail_pluto",
"moonTrail_minor" },
GUI = {
Name = "Hydra Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
Color = { 0.00, 0.62, 1.00 },
Period = 38.20177,
Resolution = 1000
},
Tag = {
"moonTrail_solarSystem",
"moonTrail_dwarf",
"moonTrail_pluto",
"moonTrail_minor"
},
GUI = {
Name = "Hydra Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Hydra, HydraTrail })
asset.meta = {
Name = "Hydra",
Version = "1.0",
Description = [[ Globe and trail for Pluto's moon Hydra. Data from
Name = "Hydra",
Version = "1.0",
Description = [[ Globe and trail for Pluto's moon Hydra. Data from
NASA Spice (see base spice asset)]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -5,61 +5,62 @@ local kernels = asset.require('../kernels').PlutoKernels
local Kerberos = {
Identifier = "Kerberos",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "KERBEROS",
Observer = "PLUTO BARYCENTER"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 0.1E5, 0.1E5, 0.1E5 },
SegmentsPerPatch = 64,
Layers = {}
},
Tag = { "moon_solarSystem", "moon_dwarf", "moon_pluto" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
Identifier = "Kerberos",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "KERBEROS",
Observer = "PLUTO BARYCENTER"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 0.1E5, 0.1E5, 0.1E5 },
SegmentsPerPatch = 64,
Layers = {}
},
Tag = { "moon_solarSystem", "moon_dwarf", "moon_pluto" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
local KerberosTrail = {
Identifier = "KerberosTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "KERBEROS",
Observer = "PLUTO BARYCENTER",
},
Color = { 0.00, 0.62, 1.00 },
Period = 32.16756,
Resolution = 1000
Identifier = "KerberosTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "KERBEROS",
Observer = "PLUTO BARYCENTER",
},
Tag = {
"moonTrail_solarSystem",
"moonTrail_dwarf",
"moonTrail_pluto",
"moonTrail_minor" },
GUI = {
Name = "Kerberos Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
Color = { 0.00, 0.62, 1.00 },
Period = 32.16756,
Resolution = 1000
},
Tag = {
"moonTrail_solarSystem",
"moonTrail_dwarf",
"moonTrail_pluto",
"moonTrail_minor"
},
GUI = {
Name = "Kerberos Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Kerberos, KerberosTrail })
asset.meta = {
Name = "Kerberos",
Version = "1.0",
Description = [[ Globe and trail for Pluto's moon Kerberos. Data from
Name = "Kerberos",
Version = "1.0",
Description = [[ Globe and trail for Pluto's moon Kerberos. Data from
NASA Spice (see base spice asset)]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -5,61 +5,62 @@ local kernels = asset.require('../kernels').PlutoKernels
local Nix = {
Identifier = "Nix",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "NIX",
Observer = "PLUTO BARYCENTER"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 0.45E5, 0.45E5, 0.45E5 },
SegmentsPerPatch = 64,
Layers = {}
},
Tag = { "moon_solarSystem", "moon_dwarf", "moon_pluto" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
Identifier = "Nix",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "NIX",
Observer = "PLUTO BARYCENTER"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 0.45E5, 0.45E5, 0.45E5 },
SegmentsPerPatch = 64,
Layers = {}
},
Tag = { "moon_solarSystem", "moon_dwarf", "moon_pluto" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
local NixTrail = {
Identifier = "NixTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "NIX",
Observer = "PLUTO BARYCENTER",
},
Color = { 0.00, 0.62, 1.00 },
Period = 24.85463,
Resolution = 1000
Identifier = "NixTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "NIX",
Observer = "PLUTO BARYCENTER",
},
Tag = {
"moonTrail_solarSystem",
"moonTrail_dwarf",
"moonTrail_pluto",
"moonTrail_minor" },
GUI = {
Name = "Nix Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
Color = { 0.00, 0.62, 1.00 },
Period = 24.85463,
Resolution = 1000
},
Tag = {
"moonTrail_solarSystem",
"moonTrail_dwarf",
"moonTrail_pluto",
"moonTrail_minor"
},
GUI = {
Name = "Nix Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Nix, NixTrail })
asset.meta = {
Name = "Nix",
Version = "1.0",
Description = [[ Globe and trail for Pluto's moon Nix. Data from
Name = "Nix",
Version = "1.0",
Description = [[ Globe and trail for Pluto's moon Nix. Data from
NASA Spice (see base spice asset)]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -4,61 +4,62 @@ local kernels = asset.require('../kernels').PlutoKernels
local Styx = {
Identifier = "Styx",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "STYX",
Observer = "PLUTO BARYCENTER"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 0.45E5, 0.45E5, 0.45E5 },
SegmentsPerPatch = 64,
Layers = {}
},
Tag = { "moon_solarSystem", "moon_dwarf", "moon_pluto" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
Identifier = "Styx",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "STYX",
Observer = "PLUTO BARYCENTER"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 0.45E5, 0.45E5, 0.45E5 },
SegmentsPerPatch = 64,
Layers = {}
},
Tag = { "moon_solarSystem", "moon_dwarf", "moon_pluto" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
local StyxTrail = {
Identifier = "StyxTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "STYX",
Observer = "PLUTO BARYCENTER",
},
Color = { 0.00, 0.62, 1.00 },
Period = 20.16155,
Resolution = 1000
Identifier = "StyxTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "STYX",
Observer = "PLUTO BARYCENTER",
},
Tag = {
"moonTrail_solarSystem",
"moonTrail_dwarf",
"moonTrail_pluto",
"moonTrail_minor" },
GUI = {
Name = "Styx Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
Color = { 0.00, 0.62, 1.00 },
Period = 20.16155,
Resolution = 1000
},
Tag = {
"moonTrail_solarSystem",
"moonTrail_dwarf",
"moonTrail_pluto",
"moonTrail_minor"
},
GUI = {
Name = "Styx Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Styx, StyxTrail })
asset.meta = {
Name = "Styx",
Version = "1.0",
Description = [[ Globe and trail for Pluto's moon Styx. Data from
Name = "Styx",
Version = "1.0",
Description = [[ Globe and trail for Pluto's moon Styx. Data from
NASA Spice (see base spice asset)]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -7,78 +7,78 @@ local labelsPath = asset.require('./pluto_globelabels').LabelsPath
local Pluto = {
Identifier = "Pluto",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "PLUTO",
Observer = "PLUTO BARYCENTER"
},
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_PLUTO",
DestinationFrame = "GALACTIC"
}
Identifier = "Pluto",
Parent = transforms.PlutoBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "PLUTO",
Observer = "PLUTO BARYCENTER"
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 1.173E6, 1.173E6, 1.173E6 },
SegmentsPerPatch = 64,
Layers = {},
Labels = {
Enable = false,
FileName = labelsPath .. "/pluto.labels",
LabelAlignmentOption = "Horizontally", -- or Circularly
LabelsFontSize = 28.0,
LabelsSize = 8.0,
LabelsMinSize = 1.0,
LabelsMaxSize = 1500.0,
ProximityEnabled = false,
LabelsFadeInEnabled = true,
LabelsFadeOutEnabled = true,
FadeInStartingDistance = 4000000.0,
FadeOutStartingDistance = 650000.0,
LabelsForceDomeRendering = true,
LabelsDistanceEPS = 500000.0,
LabelsColor = { 1.0, 1.0, 0.0 }
}
},
Tag = { "planet_solarSystem", "planet_terrestrial" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_PLUTO",
DestinationFrame = "GALACTIC"
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 1.173E6, 1.173E6, 1.173E6 },
SegmentsPerPatch = 64,
Layers = {},
Labels = {
Enable = false,
FileName = labelsPath .. "/pluto.labels",
LabelAlignmentOption = "Horizontally", -- or Circularly
LabelsFontSize = 28.0,
LabelsSize = 8.0,
LabelsMinSize = 1.0,
LabelsMaxSize = 1500.0,
ProximityEnabled = false,
LabelsFadeInEnabled = true,
LabelsFadeOutEnabled = true,
FadeInStartingDistance = 4000000.0,
FadeOutStartingDistance = 650000.0,
LabelsForceDomeRendering = true,
LabelsDistanceEPS = 500000.0,
LabelsColor = { 1.0, 1.0, 0.0 }
}
},
Tag = { "planet_solarSystem", "planet_terrestrial" },
GUI = {
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
local PlutoLabel = {
Identifier = "PlutoLabel",
Parent = Pluto.Identifier,
Renderable = {
Enabled = false,
Type = "RenderableLabels",
LabelText = "Pluto",
FontSize = 100.0,
LabelSize = 8.9,
LabelMaxSize = 100.0,
LabelMinSize = 1.0,
BlendMode = "Additive",
LabelOrientationOption = "Camera View Direction"
},
Tag = { "solarsystem_labels" },
GUI = {
Name = "Pluto Label",
Path = "/Solar System/Dwarf Planets/Pluto"
}
Identifier = "PlutoLabel",
Parent = Pluto.Identifier,
Renderable = {
Enabled = false,
Type = "RenderableLabels",
LabelText = "Pluto",
FontSize = 100.0,
LabelSize = 8.9,
LabelMaxSize = 100.0,
LabelMinSize = 1.0,
BlendMode = "Additive",
LabelOrientationOption = "Camera View Direction"
},
Tag = { "solarsystem_labels" },
GUI = {
Name = "Pluto Label",
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { Pluto, PlutoLabel })
asset.meta = {
Name = "Pluto",
Version = "1.0",
Description = [[ Pluto globe, and main planet label.]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Name = "Pluto",
Version = "1.0",
Description = [[ Pluto globe, and main planet label.]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -1,7 +1,7 @@
local LabelsPath = asset.syncedResource({
Name = "Pluto Labels",
Type = "HttpSynchronization",
Identifier = "pluto_labels",
Version = 1
Name = "Pluto Labels",
Type = "HttpSynchronization",
Identifier = "pluto_labels",
Version = 1
})
asset.export("LabelsPath", LabelsPath)

View File

@@ -4,35 +4,35 @@ asset.require("spice/base")
local PlutoTrailBarycentric = {
Identifier = "PlutoBarycentricTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "PLUTO",
Observer = "PLUTO BARYCENTER"
},
Color = { 0.00, 0.62, 1.00 },
Period = 6.38723,
Resolution = 1000
Identifier = "PlutoBarycentricTrail",
Parent = transforms.PlutoBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "PLUTO",
Observer = "PLUTO BARYCENTER"
},
Tag = { "planetTrail_solarSystem", "planetTrail_dwarf" },
GUI = {
Name = "Pluto Barycentric Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
Color = { 0.00, 0.62, 1.00 },
Period = 6.38723,
Resolution = 1000
},
Tag = { "planetTrail_solarSystem", "planetTrail_dwarf" },
GUI = {
Name = "Pluto Barycentric Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { PlutoTrailBarycentric })
asset.meta = {
Name = "Pluto Barycentric Trail",
Version = "1.0",
Description = [[ Trail of Pluto as observed by it's Barrycenter. Data from
Name = "Pluto Barycentric Trail",
Version = "1.0",
Description = [[ Trail of Pluto as observed by it's Barrycenter. Data from
NASA Spice (see base spice asset)]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -10,11 +10,11 @@ asset.require('./minor/styx')
asset.meta = {
Name = "Pluto System",
Version = "1.0",
Description = [[ Meta asset for the Pluto system, containing : Pluto, Pluto Trail,
Charon, Charon Trail, Hydra, Kerberos, Nix, and Styx]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Name = "Pluto System",
Version = "1.0",
Description = [[ Meta asset for the Pluto system, containing : Pluto, Pluto Trail,
Charon, Charon Trail, Hydra, Kerberos, Nix, and Styx]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -6,36 +6,36 @@ local kernels = asset.require('./kernels').PlutoKernels
local PlutoBarycenterTrail = {
Identifier = "PlutoBarycenterTrail",
Parent = transforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "PLUTO BARYCENTER",
Observer = "SUN",
Kernels = kernels
},
Color = { 0.3, 0.7, 0.3 },
Period = 365.25,
Resolution = 1000
Identifier = "PlutoBarycenterTrail",
Parent = transforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Target = "PLUTO BARYCENTER",
Observer = "SUN",
Kernels = kernels
},
Tag = { "planetTrail_solarSystem", "planetTrail_dwarf" },
GUI = {
Name = "Pluto Barycenter Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
Color = { 0.3, 0.7, 0.3 },
Period = 365.25,
Resolution = 1000
},
Tag = { "planetTrail_solarSystem", "planetTrail_dwarf" },
GUI = {
Name = "Pluto Barycenter Trail",
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { PlutoBarycenterTrail })
asset.meta = {
Name = "Pluto Barycenter Trail",
Version = "1.0",
Description = [[ Trail of Pluto as observed by the Sun. Data from
Name = "Pluto Barycenter Trail",
Version = "1.0",
Description = [[ Trail of Pluto as observed by the Sun. Data from
NASA Spice (see base spice asset)]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -6,30 +6,30 @@ asset.require("spice/base")
local PlutoBarycenter = {
Identifier = "PlutoBarycenter",
Parent = transforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "PLUTO BARYCENTER",
Observer = "SUN",
Kernels = kernels
}
},
GUI = {
Name = "Pluto Barycenter",
Path = "/Solar System/Dwarf Planets/Pluto"
Identifier = "PlutoBarycenter",
Parent = transforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "SpiceTranslation",
Target = "PLUTO BARYCENTER",
Observer = "SUN",
Kernels = kernels
}
},
GUI = {
Name = "Pluto Barycenter",
Path = "/Solar System/Dwarf Planets/Pluto"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { PlutoBarycenter })
asset.meta = {
Name = "Pluto Transforms",
Version = "1.0",
Description = [[ Pluto Barycenter transform]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
Name = "Pluto Transforms",
Version = "1.0",
Description = [[ Pluto Barycenter transform]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}

View File

@@ -2,59 +2,59 @@ local assetHelper = asset.require('util/asset_helper')
local sunTransforms = asset.require('scene/solarsystem/sun/transforms')
local trajectory = asset.syncedResource({
Name = "C-2019 Q4 Borisov Trajectory",
Type = "HttpSynchronization",
Identifier = "borisov_horizons",
Version = 1
Name = "C-2019 Q4 Borisov Trajectory",
Type = "HttpSynchronization",
Identifier = "borisov_horizons",
Version = 1
})
local C2019Q4BorisovTrail = {
Identifier = "C2019Q4BorisovTrail",
Parent = sunTransforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailTrajectory",
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "/horizons_c2019q4borisov.dat"
},
Color = { 0.9, 0.9, 0.0 },
StartTime = "2015 JAN 01 00:00:00",
EndTime = "2024 JAN 01 00:00:00",
SampleInterval = 60 * 60 * 24 * 7
Identifier = "C2019Q4BorisovTrail",
Parent = sunTransforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailTrajectory",
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "/horizons_c2019q4borisov.dat"
},
GUI = {
Name = "C/2019 Q4 Borisov Trail",
Path = "/Solar System/Interstellar"
}
Color = { 0.9, 0.9, 0.0 },
StartTime = "2015 JAN 01 00:00:00",
EndTime = "2024 JAN 01 00:00:00",
SampleInterval = 60 * 60 * 24 * 7
},
GUI = {
Name = "C/2019 Q4 Borisov Trail",
Path = "/Solar System/Interstellar"
}
}
local C2019Q4BorisovPosition = {
Identifier = "C2019Q4BorisovPosition",
Parent = sunTransforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "/horizons_c2019q4borisov.dat"
},
},
GUI = {
Name = "C/2019 Q4 Borisov",
Path = "/Solar System/Interstellar"
Identifier = "C2019Q4BorisovPosition",
Parent = sunTransforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "/horizons_c2019q4borisov.dat"
}
},
GUI = {
Name = "C/2019 Q4 Borisov",
Path = "/Solar System/Interstellar"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { C2019Q4BorisovPosition, C2019Q4BorisovTrail })
asset.meta = {
Name = "C/2019 Q4 Borisov",
Version = "1.0",
Description = [[ This asset contains the trail
and position of C-2019 Q4 Borisov from 2015 JAN 01 00:00:00
to 2024 JAN 01 00:00:00. Data from JPL Horizons']],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = [[ JPL-authored documents are sponsored by NASA under Contract
NAS7-030010. All documents available from this server may be protected
under the U.S. and Foreign Copyright Laws."]]
Name = "C/2019 Q4 Borisov",
Version = "1.0",
Description = [[ This asset contains the trail
and position of C-2019 Q4 Borisov from 2015 JAN 01 00:00:00
to 2024 JAN 01 00:00:00. Data from JPL Horizons']],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = [[ JPL-authored documents are sponsored by NASA under Contract
NAS7-030010. All documents available from this server may be protected
under the U.S. and Foreign Copyright Laws."]]
}

View File

@@ -2,57 +2,57 @@ local assetHelper = asset.require('util/asset_helper')
local sunTransforms = asset.require('scene/solarsystem/sun/transforms')
local trajectory = asset.syncedResource({
Name = "'Oumuamua Trajectory",
Type = "HttpSynchronization",
Identifier = "oumuamua_horizons",
Version = 1
Name = "'Oumuamua Trajectory",
Type = "HttpSynchronization",
Identifier = "oumuamua_horizons",
Version = 1
})
local OumuamuaTrail = {
Identifier = "OumuamuaTrail",
Parent = sunTransforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailTrajectory",
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "/horizons_oumuamua.dat"
},
Color = { 0.9, 0.9, 0.0 },
StartTime = "2014 JAN 01 00:00:00",
EndTime = "2023 JAN 01 00:00:00",
SampleInterval = 7000,
TimeStampSubsampleFactor = 1
Identifier = "OumuamuaTrail",
Parent = sunTransforms.SolarSystemBarycenter.Identifier,
Renderable = {
Type = "RenderableTrailTrajectory",
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "/horizons_oumuamua.dat"
},
GUI = {
Name = "'Oumuamua Trail",
Path = "/Solar System/Interstellar"
}
Color = { 0.9, 0.9, 0.0 },
StartTime = "2014 JAN 01 00:00:00",
EndTime = "2023 JAN 01 00:00:00",
SampleInterval = 7000,
TimeStampSubsampleFactor = 1
},
GUI = {
Name = "'Oumuamua Trail",
Path = "/Solar System/Interstellar"
}
}
local OumuamuaPosition = {
Identifier = "OumuamuaPosition",
Parent = sunTransforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "/horizons_oumuamua.dat"
},
Identifier = "OumuamuaPosition",
Parent = sunTransforms.SolarSystemBarycenter.Identifier,
Transform = {
Translation = {
Type = "HorizonsTranslation",
HorizonsTextFile = trajectory .. "/horizons_oumuamua.dat"
},
GUI = {
Name = "'Oumuamua",
Path = "/Solar System/Interstellar"
}
},
GUI = {
Name = "'Oumuamua",
Path = "/Solar System/Interstellar"
}
}
assetHelper.registerSceneGraphNodesAndExport(asset, { OumuamuaPosition, OumuamuaTrail })
asset.meta = {
Name = "'Oumuamua",
Version = "1.0",
Description = [[ This asset contains the trail and position of 'Oumuamua from 2014
JAN 01 00:00:00 to 2023 JAN 01 00:00:00. Data from JPL Horizons']],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = "NASA"
Name = "'Oumuamua",
Version = "1.0",
Description = [[ This asset contains the trail and position of 'Oumuamua from 2014
JAN 01 00:00:00 to 2023 JAN 01 00:00:00. Data from JPL Horizons']],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/horizons.cgi",
License = "NASA"
}

Some files were not shown because too many files have changed in this diff Show More