Issue/1712 (#2589)

* added top dwarf planets

* cleanup

* pr cleanup

* update description/link

* disabled labels by default for dwarf planets
This commit is contained in:
Micah Acinapura
2023-04-14 13:02:21 -04:00
committed by GitHub
parent 6ebb0f237b
commit dd8db55166
42 changed files with 1589 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ local CeresTrail = {
Observer = "SSB",
Kernels = kernels
},
Color = { 0.7, 0.8, 0.7 },
Color = { 0.2, 0.8, 0.3 },
Period = 1680,
Resolution = 1000
},

View File

@@ -0,0 +1,12 @@
asset.require("./planet")
asset.require("./trail")
asset.require("./label", false)
asset.meta = {
Name = "Eris meta asset",
Version = "1.0",
Description = [[Trail, Model and Label of Eris.]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,45 @@
local transforms = asset.require("./transforms")
local Label = {
Identifier = "ErisLabel",
Parent = transforms.Position.Identifier,
Renderable = {
Enabled = asset.enabled,
Type = "RenderableLabel",
Text = "Eris",
FontSize = 70.0,
Size = 9.10,
MinMaxSize = { 1, 100 },
BlendMode = "Additive",
OrientationOption = "Camera View Direction",
EnableFading = true,
FadeUnit = "au",
FadeDistances = { 2.0, 120.0 },
FadeWidths = { 1.0, 150.0 }
},
Tag = { "solarsystem_labels" },
GUI = {
Name = "Eris Label",
Path = "/Solar System/Dwarf Planets/Eris",
Description = "Label for Eris, visible at the solarsystem overview zoom level"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Label)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Label)
end)
asset.export("Label", Label)
asset.meta = {
Name = "Eris Label",
Version = "1.0",
Description = [[Label of Eris]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,55 @@
local sun = asset.require("scene/solarsystem/sun/sun")
local transforms = asset.require("./transforms")
local modelFolder = asset.syncedResource({
Name = "Eris Model",
Type = "HttpSynchronization",
Identifier = "eris_model",
Version = 1
})
local Planet = {
Identifier = "ErisGlobe",
Parent = transforms.Position.Identifier,
Transform = {
Rotation = {
Type = "ConstantRotation",
RotationAxis = {0.0, 0.0, 1.0},
RotationRate = 1.0/(25.9*60.0*60.0)
}
},
Renderable = {
Type = "RenderableModel",
GeometryFile = modelFolder .. 'Eris_1_2326.glb',
SpecularIntensity = 0.0,
AmbientIntensity = 0.0,
LightSources = {
sun.LightSource
},
},
GUI = {
Name = "Eris",
Path = "/Solar System/Dwarf Planets/Eris",
Description = [[A 3D model of Eris, Credit: NASA Visualization Technology
Applications and Development (VTAD)."]]
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Planet)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Planet)
end)
asset.export("Planet", Planet)
asset.meta = {
Name = "Eris Globe",
Version = "1.0",
Description = [[Globe of Eris]],
Author = "OpenSpace Team",
URL = "https://solarsystem.nasa.gov/planets/dwarf-planets/haumea/in-depth/",
License = "JPL/NASA"
}

View File

@@ -0,0 +1,41 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local translation = asset.require("./transforms").Translation
local Trail = {
Identifier = "ErisTrail",
Parent = transforms.SunECLIPJ2000.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Color = { 0.2, 0.8, 0.3 },
Period = 205472.1258735657,
Resolution = 10000,
Enabled = asset.enabled,
Fade = 1.24,
Translation = translation
},
Tag = { "planetTrail_dwarf" },
GUI = {
Name = "Eris Trail",
Path = "/Solar System/Dwarf Planets/Eris",
Description = "Trail of Eris"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Trail)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Trail)
end)
asset.export("Trail", Trail)
asset.meta = {
Name = "Eris Trail",
Version = "1.0",
Description = [[Trail of Eris]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,50 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local OneAU = 1.496e+8
local Translation = {
Type = "KeplerTranslation",
Eccentricity = 0.4319581224809352,
SemiMajorAxis = 68.14536545526268 * OneAU,
Inclination = 43.76049565740999,
AscendingNode = 36.07068767579804,
ArgumentOfPeriapsis = 150.9970340507818,
MeanAnomaly = 208.7617474668772,
Epoch = "2023 02 08 21:38:05",
Period = 205472.1258735657*60*60*24
}
local Position = {
Identifier = "ErisPosition",
Parent = transforms.SunECLIPJ2000.Identifier,
Transform = {
Translation = Translation
},
GUI = {
Name = "Eris Position",
Path = "/Solar System/Dwarf Planets/Eris",
Hidden = true
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Position)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Position)
end)
asset.export("Translation", Translation)
asset.export("Position", Position)
asset.meta = {
Name = "Eris Position (Keplerian)",
Version = "1.0",
Description = [[Position of Eris. KeplerTranslation Version Data from
JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/sbdb.cgi?sstr=Eris",
License = "JPL/NASA"
}

View File

@@ -0,0 +1,12 @@
asset.require("./planet")
asset.require("./trail")
asset.require("./label", false)
asset.meta = {
Name = "Gonggong meta asset",
Version = "1.0",
Description = [[Trail, Model and Label of Gonggong.]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,45 @@
local transforms = asset.require("./transforms")
local Label = {
Identifier = "GonggongLabel",
Parent = transforms.Position.Identifier,
Renderable = {
Enabled = asset.enabled,
Type = "RenderableLabel",
Text = "Gonggong",
FontSize = 70.0,
Size = 9.10,
MinMaxSize = { 1, 100 },
BlendMode = "Additive",
OrientationOption = "Camera View Direction",
EnableFading = true,
FadeUnit = "au",
FadeDistances = { 2.0, 120.0 },
FadeWidths = { 1.0, 150.0 }
},
Tag = { "solarsystem_labels" },
GUI = {
Name = "Gonggong Label",
Path = "/Solar System/Dwarf Planets/Gonggong",
Description = "Label for Gonggong, visible at the solarsystem overview zoom level"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Label)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Label)
end)
asset.export("Label", Label)
asset.meta = {
Name = "Gonggong Label",
Version = "1.0",
Description = [[Label of Gonggong]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,44 @@
local sun = asset.require("scene/solarsystem/sun/sun")
local transforms = asset.require("./transforms")
local Planet = {
Identifier = "GonggongGlobe",
Parent = transforms.Position.Identifier,
Transform = {
Rotation = {
Type = "ConstantRotation",
RotationAxis = {0.0, 0.0, 1.0},
RotationRate = 1.0/(22.4*60.0*60.0)
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 615.0E3, 615.0E3, 615.0E3 },
SegmentsPerPatch = 64,
Layers = {}
},
GUI = {
Name = "Gonggong",
Path = "/Solar System/Dwarf Planets/Gonggong",
Description = "Globe of Gonggong"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Planet)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Planet)
end)
asset.export("Planet", Planet)
asset.meta = {
Name = "Gonggong Globe",
Version = "1.0",
Description = [[Globe of Gonggong]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,41 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local translation = asset.require("./transforms").Translation
local Trail = {
Identifier = "GonggongTrail",
Parent = transforms.SunECLIPJ2000.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Color = { 0.2, 0.8, 0.3 },
Period = 201582.9642396014,
Resolution = 10000,
Enabled = asset.enabled,
Fade = 1.24,
Translation = translation
},
Tag = { "planetTrail_dwarf" },
GUI = {
Name = "Gonggong Trail",
Path = "/Solar System/Dwarf Planets/Gonggong",
Description = "Trail of Gonggong"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Trail)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Trail)
end)
asset.export("Trail", Trail)
asset.meta = {
Name = "Gonggong Trail",
Version = "1.0",
Description = [[Trail of Gonggong]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,50 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local OneAU = 1.496e+8
local Translation = {
Type = "KeplerTranslation",
Eccentricity = 0.4979719595192342,
SemiMajorAxis = 67.28272930394145 * OneAU,
Inclination = 30.6429146610929,
AscendingNode = 336.8562311756138,
ArgumentOfPeriapsis = 207.244325413599,
MeanAnomaly = 108.9504644269052,
Epoch = "2022 11 25 17:18:20",
Period = 201582.9642396014*60*60*24
}
local Position = {
Identifier = "GonggongPosition",
Parent = transforms.SunECLIPJ2000.Identifier,
Transform = {
Translation = Translation
},
GUI = {
Name = "Gonggong Position",
Path = "/Solar System/Dwarf Planets/Gonggong",
Hidden = true
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Position)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Position)
end)
asset.export("Translation", Translation)
asset.export("Position", Position)
asset.meta = {
Name = "Gonggong Position (Keplerian)",
Version = "1.0",
Description = [[Position of Gonggong. KeplerTranslation Version Data from
JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/sbdb.cgi?sstr=Gonggong",
License = "JPL/NASA"
}

View File

@@ -0,0 +1,12 @@
asset.require("./planet")
asset.require("./trail")
asset.require("./label", false)
asset.meta = {
Name = "Haumea meta asset",
Version = "1.0",
Description = [[Trail, Model and Label of Haumea.]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,45 @@
local transforms = asset.require("./transforms")
local Label = {
Identifier = "HaumeaLabel",
Parent = transforms.Position.Identifier,
Renderable = {
Enabled = asset.enabled,
Type = "RenderableLabel",
Text = "Haumea",
FontSize = 70.0,
Size = 9.10,
MinMaxSize = { 1, 100 },
BlendMode = "Additive",
OrientationOption = "Camera View Direction",
EnableFading = true,
FadeUnit = "au",
FadeDistances = { 2.0, 120.0 },
FadeWidths = { 1.0, 150.0 }
},
Tag = { "solarsystem_labels" },
GUI = {
Name = "Haumea Label",
Path = "/Solar System/Dwarf Planets/Haumea",
Description = "Label for Haumea, visible at the solarsystem overview zoom level"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Label)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Label)
end)
asset.export("Label", Label)
asset.meta = {
Name = "Haumea Label",
Version = "1.0",
Description = [[Label of Haumea]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,55 @@
local sun = asset.require("scene/solarsystem/sun/sun")
local transforms = asset.require("./transforms")
local modelFolder = asset.syncedResource({
Name = "Hamuea Model",
Type = "HttpSynchronization",
Identifier = "hamuea_model",
Version = 1
})
local Planet = {
Identifier = "HamueaModel",
Parent = transforms.Position.Identifier,
Transform = {
Rotation = {
Type = "ConstantRotation",
RotationAxis = {0.0, 0.0, 1.0},
RotationRate = 1.0/(3.9154*60.0*60.0)
}
},
Renderable = {
Type = "RenderableModel",
GeometryFile = modelFolder .. 'Haumea_1_1000.glb',
SpecularIntensity = 0.0,
AmbientIntensity = 0.0,
LightSources = {
sun.LightSource
},
},
GUI = {
Name = "Haumea",
Path = "/Solar System/Dwarf Planets/Haumea",
Description = [[A 3D model of Haumea, Credit: NASA Visualization Technology
Applications and Development (VTAD)."]]
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Planet)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Planet)
end)
asset.export("Planet", Planet)
asset.meta = {
Name = "Haumea Model",
Version = "1.0",
Description = [[Model of Haumea]],
Author = "OpenSpace Team",
URL = "https://solarsystem.nasa.gov/planets/dwarf-planets/haumea/in-depth/",
License = "JPL/NASA"
}

View File

@@ -0,0 +1,41 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local translation = asset.require("./transforms").Translation
local Trail = {
Identifier = "HaumeaTrail",
Parent = transforms.SunECLIPJ2000.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Color = { 0.2, 0.8, 0.3 },
Period = 90487.27692706819,
Resolution = 10000,
Enabled = asset.enabled,
Fade = 1.24,
Translation = translation
},
Tag = { "planetTrail_dwarf" },
GUI = {
Name = "Haumea Trail",
Path = "/Solar System/Dwarf Planets/Haumea",
Description = "Trail of Haumea"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Trail)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Trail)
end)
asset.export("Trail", Trail)
asset.meta = {
Name = "Haumea Trail",
Version = "1.0",
Description = [[Trail of Haumea]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,49 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local OneAU = 1.496e+8
local Translation = {
Type = "KeplerTranslation",
Eccentricity = 0.200029230460531,
SemiMajorAxis = 42.90830758797247 * OneAU,
Inclination = 28.21036755623824,
AscendingNode = 122.031014162472,
ArgumentOfPeriapsis = 240.4219275047551,
MeanAnomaly = 219.4933206849489,
Epoch = "2023 02 25 00:00",
Period = 102662.1853273871*60*60*24
}
local Position = {
Identifier = "HaumeaPosition",
Parent = transforms.SunECLIPJ2000.Identifier,
Transform = {
Translation = Translation
},
GUI = {
Name = "Haumea Position",
Path = "/Solar System/Dwarf Planets/Haumea",
Hidden = true
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Position)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Position)
end)
asset.export("Translation", Translation)
asset.export("Position", Position)
asset.meta = {
Name = "Haumea Position (Keplerian)",
Version = "1.0",
Description = [[Position of Haumea. KeplerTranslation Version Data from
JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/sbdb.cgi?sstr=Haumea",
License = "JPL/NASA"
}

View File

@@ -0,0 +1,45 @@
local transforms = asset.require("./transforms")
local Label = {
Identifier = "MakemakeLabel",
Parent = transforms.Position.Identifier,
Renderable = {
Enabled = asset.enabled,
Type = "RenderableLabel",
Text = "Makemake",
FontSize = 70.0,
Size = 9.10,
MinMaxSize = { 1, 100 },
BlendMode = "Additive",
OrientationOption = "Camera View Direction",
EnableFading = true,
FadeUnit = "au",
FadeDistances = { 2.0, 120.0 },
FadeWidths = { 1.0, 150.0 }
},
Tag = { "solarsystem_labels" },
GUI = {
Name = "Makemake Label",
Path = "/Solar System/Dwarf Planets/Makemake",
Description = "Label for Makemake, visible at the solarsystem overview zoom level"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Label)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Label)
end)
asset.export("Label", Label)
asset.meta = {
Name = "Makemake Label",
Version = "1.0",
Description = [[Label of Makemake]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,12 @@
asset.require("./planet")
asset.require("./trail")
asset.require("./label", false)
asset.meta = {
Name = "Makemake meta asset",
Version = "1.0",
Description = [[Trail, Model and Label of Makemake.]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,55 @@
local sun = asset.require("scene/solarsystem/sun/sun")
local transforms = asset.require("./transforms")
local modelFolder = asset.syncedResource({
Name = "Makemake Model",
Type = "HttpSynchronization",
Identifier = "makemake_model",
Version = 1
})
local Planet = {
Identifier = "MakemakeGlobe",
Parent = transforms.Position.Identifier,
Transform = {
Rotation = {
Type = "ConstantRotation",
RotationAxis = {0.0, 0.0, 1.0},
RotationRate = 1.0/(10.273*60.0*60.0)
}
},
Renderable = {
Type = "RenderableModel",
GeometryFile = modelFolder .. 'Makemake_1_1430.glb',
SpecularIntensity = 0.0,
AmbientIntensity = 0.0,
LightSources = {
sun.LightSource
},
},
GUI = {
Name = "Makemake",
Path = "/Solar System/Dwarf Planets/Makemake",
Description = [[A 3D model of Makemake, Credit: NASA Visualization Technology
Applications and Development (VTAD)."]]
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Planet)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Planet)
end)
asset.export("Planet", Planet)
asset.meta = {
Name = "Makemake Globe",
Version = "1.0",
Description = [[Globe of Makemake]],
Author = "OpenSpace Team",
URL = "https://solarsystem.nasa.gov/planets/dwarf-planets/makemake/in-depth/",
License = "MIT"
}

View File

@@ -0,0 +1,41 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local translation = asset.require("./transforms").Translation
local Trail = {
Identifier = "MakemakeTrail",
Parent = transforms.SunECLIPJ2000.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Color = { 0.2, 0.8, 0.3 },
Period = 111233.3435553189,
Resolution = 10000,
Enabled = asset.enabled,
Fade = 1.24,
Translation = translation
},
Tag = { "planetTrail_dwarf" },
GUI = {
Name = "Makemake Trail",
Path = "/Solar System/Dwarf Planets/Makemake",
Description = "Trail of Makemake"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Trail)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Trail)
end)
asset.export("Trail", Trail)
asset.meta = {
Name = "Makemake Trail",
Version = "1.0",
Description = [[Trail of Makemake]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,49 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local OneAU = 1.496e+8
local Translation = {
Type = "KeplerTranslation",
Eccentricity = 0.1661360684291203,
SemiMajorAxis = 45.26449818092681 * OneAU,
Inclination = 29.01842946746389,
AscendingNode = 79.36123402529158,
ArgumentOfPeriapsis = 295.8223003368652,
MeanAnomaly = 167.5755900333624,
Epoch = "2023 02 08 21:38:43",
Period = 111233.3435553189*60*60*24
}
local Position = {
Identifier = "MakemakePosition",
Parent = transforms.SunECLIPJ2000.Identifier,
Transform = {
Translation = Translation
},
GUI = {
Name = "Makemake Position",
Path = "/Solar System/Dwarf Planets/Makemake",
Hidden = true
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Position)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Position)
end)
asset.export("Translation", Translation)
asset.export("Position", Position)
asset.meta = {
Name = "Makemake Position (Keplerian)",
Version = "1.0",
Description = [[Position of Makemake. KeplerTranslation Version Data from
JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/sbdb.cgi?sstr=Makemake",
License = "JPL/NASA"
}

View File

@@ -0,0 +1,45 @@
local transforms = asset.require("./transforms")
local Label = {
Identifier = "OrcusLabel",
Parent = transforms.Position.Identifier,
Renderable = {
Enabled = asset.enabled,
Type = "RenderableLabel",
Text = "Orcus",
FontSize = 70.0,
Size = 9.10,
MinMaxSize = { 1.0, 100.0 },
BlendMode = "Additive",
OrientationOption = "Camera View Direction",
EnableFading = true,
FadeUnit = "au",
FadeDistances = { 2.0, 120.0 },
FadeWidths = { 1.0, 150.0 }
},
Tag = { "solarsystem_labels" },
GUI = {
Name = "Orcus Label",
Path = "/Solar System/Dwarf Planets/Orcus",
Description = "Label for Orcus, visible at the solarsystem overview zoom level"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Label)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Label)
end)
asset.export("Label", Label)
asset.meta = {
Name = "Orcus Label",
Version = "1.0",
Description = [[Label of Orcus]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,12 @@
asset.require("./planet")
asset.require("./trail")
asset.require("./label", false)
asset.meta = {
Name = "Orcus meta asset",
Version = "1.0",
Description = [[Trail, Model and Label of Orcus.]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,44 @@
local sun = asset.require("scene/solarsystem/sun/sun")
local transforms = asset.require("./transforms")
local Planet = {
Identifier = "OrcusGlobe",
Parent = transforms.Position.Identifier,
Transform = {
Rotation = {
Type = "ConstantRotation",
RotationAxis = {0.0, 0.0, 1.0},
RotationRate = 1.0/(13.188*60.0*60.0)
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 910.0E3, 910.0E3, 917.0E3 },
SegmentsPerPatch = 64,
Layers = {}
},
GUI = {
Name = "Orcus",
Path = "/Solar System/Dwarf Planets/Orcus",
Description = "Globe of Orcus"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Planet)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Planet)
end)
asset.export("Planet", Planet)
asset.meta = {
Name = "Orcus Globe",
Version = "1.0",
Description = [[Globe of Orcus]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,41 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local translation = asset.require("./transforms").Translation
local Trail = {
Identifier = "OrcusTrail",
Parent = transforms.SunECLIPJ2000.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Color = { 0.2, 0.8, 0.3 },
Period = 89359.12208173508,
Resolution = 10000,
Enabled = asset.enabled,
Fade = 1.24,
Translation = translation
},
Tag = { "planetTrail_dwarf" },
GUI = {
Name = "Orcus Trail",
Path = "/Solar System/Dwarf Planets/Orcus",
Description = "Trail of Orcus"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Trail)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Trail)
end)
asset.export("Trail", Trail)
asset.meta = {
Name = "Orcus Trail",
Version = "1.0",
Description = [[Trail of Orcus]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,49 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local OneAU = 1.496e+8
local Translation = {
Type = "KeplerTranslation",
Eccentricity = 0.2286250262659888,
SemiMajorAxis = 39.11652902051571 * OneAU,
Inclination = 20.56757017337535,
AscendingNode = 268.5357792998585,
ArgumentOfPeriapsis = 73.46005226906388,
MeanAnomaly = 184.3682302120697,
Epoch = "2023 02 08 18:00:50",
Period = 89359.12208173508*60*60*24
}
local Position = {
Identifier = "OrcusPosition",
Parent = transforms.SunECLIPJ2000.Identifier,
Transform = {
Translation = Translation
},
GUI = {
Name = "Orcus Position",
Path = "/Solar System/Dwarf Planets/Orcus",
Hidden = true
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Position)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Position)
end)
asset.export("Translation", Translation)
asset.export("Position", Position)
asset.meta = {
Name = "Orcus Position (Keplerian)",
Version = "1.0",
Description = [[Position of Orcus. KeplerTranslation Version Data from
JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/sbdb.cgi?sstr=Orcus",
License = "JPL/NASA"
}

View File

@@ -0,0 +1,45 @@
local transforms = asset.require("./transforms")
local Label = {
Identifier = "QuaoarLabel",
Parent = transforms.Position.Identifier,
Renderable = {
Enabled = asset.enabled,
Type = "RenderableLabel",
Text = "Quaoar",
FontSize = 70.0,
Size = 9.10,
MinMaxSize = { 1.0, 100.0 },
BlendMode = "Additive",
OrientationOption = "Camera View Direction",
EnableFading = true,
FadeUnit = "au",
FadeDistances = { 2.0, 120.0 },
FadeWidths = { 1.0, 150.0 }
},
Tag = { "solarsystem_labels" },
GUI = {
Name = "Quaoar Label",
Path = "/Solar System/Dwarf Planets/Quaoar",
Description = "Label for Quaoar, visible at the solarsystem overview zoom level"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Label)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Label)
end)
asset.export("Label", Label)
asset.meta = {
Name = "Quaoar Label",
Version = "1.0",
Description = [[Label of Quaoar]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,44 @@
local sun = asset.require("scene/solarsystem/sun/sun")
local transforms = asset.require("./transforms")
local Planet = {
Identifier = "QuaoarGlobe",
Parent = transforms.Position.Identifier,
Transform = {
Rotation = {
Type = "ConstantRotation",
RotationAxis = {0.0, 0.0, 1.0},
RotationRate = 1.0/(8.84*60.0*60.0)
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 1138.0E3, 1138.0E3, 1036.0E3 },
SegmentsPerPatch = 64,
Layers = {}
},
GUI = {
Name = "Quaoar",
Path = "/Solar System/Dwarf Planets/Quaoar",
Description = "Globe of Quaoar"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Planet)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Planet)
end)
asset.export("Planet", Planet)
asset.meta = {
Name = "Quaoar Globe",
Version = "1.0",
Description = [[Globe of Quaoar]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,12 @@
asset.require("./planet")
asset.require("./trail")
asset.require("./label", false)
asset.meta = {
Name = "Quaoar meta asset",
Version = "1.0",
Description = [[Trail, Model and Label of Quaoar.]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,41 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local translation = asset.require("./transforms").Translation
local Trail = {
Identifier = "QuaoarTrail",
Parent = transforms.SunECLIPJ2000.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Color = { 0.2, 0.8, 0.3 },
Period = 104691.8599963541,
Resolution = 10000,
Enabled = asset.enabled,
Fade = 1.24,
Translation = translation
},
Tag = { "planetTrail_dwarf" },
GUI = {
Name = "Quaoar Trail",
Path = "/Solar System/Dwarf Planets/Quaoar",
Description = "Trail of Quaoar"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Trail)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Trail)
end)
asset.export("Trail", Trail)
asset.meta = {
Name = "Quaoar Trail",
Version = "1.0",
Description = [[Trail of Quaoar]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,49 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local OneAU = 1.496e+8
local Translation = {
Type = "KeplerTranslation",
Eccentricity = 0.04098702510897952,
SemiMajorAxis = 43.47200381956696 * OneAU,
Inclination = 7.991232171849933,
AscendingNode = 189.0902949942479,
ArgumentOfPeriapsis = 155.214428533145,
MeanAnomaly = 296.22300217209,
Epoch = "2022 08 09 03:34:28",
Period = 104691.8599963541*60*60*24
}
local Position = {
Identifier = "QuaoarPosition",
Parent = transforms.SunECLIPJ2000.Identifier,
Transform = {
Translation = Translation
},
GUI = {
Name = "Quaoar Position",
Path = "/Solar System/Dwarf Planets/Quaoar",
Hidden = true
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Position)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Position)
end)
asset.export("Translation", Translation)
asset.export("Position", Position)
asset.meta = {
Name = "Quaoar Position (Keplerian)",
Version = "1.0",
Description = [[Position of Quaoar. KeplerTranslation Version Data from
JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/sbdb.cgi?sstr=Quaoar",
License = "JPL/NASA"
}

View File

@@ -0,0 +1,45 @@
local transforms = asset.require("./transforms")
local Label = {
Identifier = "SednaLabel",
Parent = transforms.Position.Identifier,
Renderable = {
Enabled = asset.enabled,
Type = "RenderableLabel",
Text = "Sedna",
FontSize = 70.0,
Size = 9.10,
MinMaxSize = { 1.0, 100.0 },
BlendMode = "Additive",
OrientationOption = "Camera View Direction",
EnableFading = true,
FadeUnit = "au",
FadeDistances = { 2.0, 120.0 },
FadeWidths = { 1.0, 150.0 }
},
Tag = { "solarsystem_labels" },
GUI = {
Name = "Sedna Label",
Path = "/Solar System/Dwarf Planets/Sedna",
Description = "Label for Sedna, visible at the solarsystem overview zoom level"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Label)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Label)
end)
asset.export("Label", Label)
asset.meta = {
Name = "Sedna Label",
Version = "1.0",
Description = [[Label of Sedna]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,44 @@
local sun = asset.require("scene/solarsystem/sun/sun")
local transforms = asset.require("./transforms")
local Planet = {
Identifier = "SednaGlobe",
Parent = transforms.Position.Identifier,
Transform = {
Rotation = {
Type = "ConstantRotation",
RotationAxis = {0.0, 0.0, 1.0},
RotationRate = 1.0/(10.273*60.0*60.0)
}
},
Renderable = {
Type = "RenderableGlobe",
Radii = { 995.0E3, 1060.0E3, 1025.0E3 },
SegmentsPerPatch = 64,
Layers = {}
},
GUI = {
Name = "Sedna",
Path = "/Solar System/Dwarf Planets/Sedna",
Description = "Globe of Sedna"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Planet)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Planet)
end)
asset.export("Planet", Planet)
asset.meta = {
Name = "Sedna Globe",
Version = "1.0",
Description = [[Globe of Sedna]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,12 @@
asset.require("./planet")
asset.require("./trail")
asset.require("./label", false)
asset.meta = {
Name = "Sedna meta asset",
Version = "1.0",
Description = [[Trail, Model and Label of Sedna.]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,41 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local translation = asset.require("./transforms").Translation
local Trail = {
Identifier = "SednaTrail",
Parent = transforms.SunECLIPJ2000.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Color = { 0.2, 0.8, 0.3 },
Period = 4485811.755507208,
Resolution = 10000,
Enabled = asset.enabled,
Fade = 1.24,
Translation = translation
},
Tag = { "planetTrail_dwarf" },
GUI = {
Name = "Sedna Trail",
Path = "/Solar System/Dwarf Planets/Sedna",
Description = "Trail of Sedna"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Trail)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Trail)
end)
asset.export("Trail", Trail)
asset.meta = {
Name = "Sedna Trail",
Version = "1.0",
Description = [[Trail of Sedna]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,49 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local OneAU = 1.496e+8
local Translation = {
Type = "KeplerTranslation",
Eccentricity = 0.8565069519144183,
SemiMajorAxis = 532.3064703980097 * OneAU,
Inclination = 11.93034000375754,
AscendingNode = 144.2584776398181,
ArgumentOfPeriapsis = 310.8687900929183,
MeanAnomaly = 358.4694078785378,
Epoch = "2023 02 10 13:48:38",
Period = 4485811.755507208*60*60*24
}
local Position = {
Identifier = "SednaPosition",
Parent = transforms.SunECLIPJ2000.Identifier,
Transform = {
Translation = Translation
},
GUI = {
Name = "Sedna Position",
Path = "/Solar System/Dwarf Planets/Sedna",
Hidden = true
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Position)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Position)
end)
asset.export("Translation", Translation)
asset.export("Position", Position)
asset.meta = {
Name = "Sedna Position (Keplerian)",
Version = "1.0",
Description = [[Position of Sedna. KeplerTranslation Version Data from
JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/sbdb.cgi?sstr=Sedna",
License = "JPL/NASA"
}

View File

@@ -0,0 +1,45 @@
local transforms = asset.require("./transforms")
local Label = {
Identifier = "VestaLabel",
Parent = transforms.Position.Identifier,
Renderable = {
Enabled = asset.enabled,
Type = "RenderableLabel",
Text = "Vesta",
FontSize = 50.0,
Size = 8.5,
MinMaxSize = { 1.0, 100.0 },
BlendMode = "Additive",
OrientationOption = "Camera View Direction",
EnableFading = true,
FadeUnit = "au",
FadeDistances = { 2.0, 120.0 },
FadeWidths = { 1.0, 150.0 }
},
Tag = { "solarsystem_labels" },
GUI = {
Name = "Vesta Label",
Path = "/Solar System/Dwarf Planets/Vesta",
Description = "Label for Vesta, visible at the solarsystem overview zoom level"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Label)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Label)
end)
asset.export("Label", Label)
asset.meta = {
Name = "Vesta Label",
Version = "1.0",
Description = [[Label of Vesta]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,54 @@
local sun = asset.require("scene/solarsystem/sun/sun")
local transforms = asset.require("./transforms")
local models = asset.syncedResource({
Name = "Vesta Models",
Type = "HttpSynchronization",
Identifier = "vesta_model",
Version = 1
})
local Planet = {
Identifier = "VestaModel",
Parent = transforms.Position.Identifier,
Transform = {
Rotation = {
Type = "ConstantRotation",
RotationAxis = {0.0, 0.0, 1.0},
RotationRate = 1.0/(5.34212766*60.0*60.0)
}
},
Renderable = {
Type = "RenderableModel",
GeometryFile = models .. "VestaComet_5000.obj",
SpecularIntensity = 0.0,
AmbientIntensity = 0.0,
LightSources = {
sun.LightSource
},
},
GUI = {
Name = "Vesta",
Path = "/Solar System/Dwarf Planets/Vesta",
Description = "Model of Vesta"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Planet)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Planet)
end)
asset.export("Planet", Planet)
asset.meta = {
Name = "Vesta Model",
Version = "1.0",
Description = [[Model of Vesta]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,41 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local translation = asset.require("./transforms").Translation
local Trail = {
Identifier = "VestaTrail",
Parent = transforms.SunECLIPJ2000.Identifier,
Renderable = {
Type = "RenderableTrailOrbit",
Color = { 0.2, 0.8, 0.3 },
Period = 1326.797192349944,
Resolution = 10000,
Enabled = asset.enabled,
Fade = 1.24,
Translation = translation
},
Tag = { "planetTrail_dwarf" },
GUI = {
Name = "Vesta Trail",
Path = "/Solar System/Dwarf Planets/Vesta",
Description = "Trail of Vesta"
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Trail)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Trail)
end)
asset.export("Trail", Trail)
asset.meta = {
Name = "Vesta Trail",
Version = "1.0",
Description = [[Trail of Vesta]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -0,0 +1,49 @@
local transforms = asset.require("scene/solarsystem/sun/transforms")
local OneAU = 1.496e+8
local Translation = {
Type = "KeplerTranslation",
Eccentricity = 0.08875750498598881,
SemiMajorAxis = 2.363038212561438 * OneAU,
Inclination = 7.139257981928672,
AscendingNode = 103.7573001493549,
ArgumentOfPeriapsis = 151.5991639880173,
MeanAnomaly = 115.1329895974862,
Epoch = "2021 04 13 11:15:57",
Period = 1326.797192349944*60*60*24
}
local Position = {
Identifier = "VestaPosition",
Parent = transforms.SunECLIPJ2000.Identifier,
Transform = {
Translation = Translation
},
GUI = {
Name = "Vesta Position",
Path = "/Solar System/Dwarf Planets/Vesta",
Hidden = true
}
}
asset.onInitialize(function()
openspace.addSceneGraphNode(Position)
end)
asset.onDeinitialize(function()
openspace.removeSceneGraphNode(Position)
end)
asset.export("Translation", Translation)
asset.export("Position", Position)
asset.meta = {
Name = "Vesta Position (Keplerian)",
Version = "1.0",
Description = [[Position of Vesta. KeplerTranslation Version Data from
JPL Horizons]],
Author = "OpenSpace Team",
URL = "https://ssd.jpl.nasa.gov/sbdb.cgi?sstr=vesta",
License = "JPL/NASA"
}

View File

@@ -0,0 +1,12 @@
asset.require("./planet")
asset.require("./trail")
asset.require("./label", false)
asset.meta = {
Name = "Vesta meta asset",
Version = "1.0",
Description = [[Trail, Model and Label of Vesta.]],
Author = "OpenSpace Team",
URL = "https://www.openspaceproject.com",
License = "MIT"
}

View File

@@ -3,6 +3,18 @@
"base",
"base_keybindings",
"events/toggle_sun",
"scene/milkyway/objects/orionnebula/orionnebula",
"scene/solarsystem/dwarf_planets/ceres/ceres",
"scene/solarsystem/dwarf_planets/ceres/default_layers",
"scene/solarsystem/dwarf_planets/ceres/trail",
"scene/solarsystem/dwarf_planets/eris/eris",
"scene/solarsystem/dwarf_planets/gonggong/gonggong",
"scene/solarsystem/dwarf_planets/haumea/haumea",
"scene/solarsystem/dwarf_planets/makemake/makemake",
"scene/solarsystem/dwarf_planets/orcus/orcus",
"scene/solarsystem/dwarf_planets/quaoar/quaoar",
"scene/solarsystem/dwarf_planets/sedna/sedna",
"scene/solarsystem/dwarf_planets/vesta/vesta",
"scene/solarsystem/planets/earth/earth",
"scene/solarsystem/planets/earth/satellites/satellites",
"scene/solarsystem/planets/jupiter/major_moons",
@@ -12,8 +24,7 @@
"scene/solarsystem/planets/saturn/major_moons",
"scene/solarsystem/planets/saturn/minor_moons",
"scene/solarsystem/planets/uranus/major_moons",
"scene/solarsystem/planets/uranus/minor_moons",
"scene/milkyway/objects/orionnebula/orionnebula"
"scene/solarsystem/planets/uranus/minor_moons"
],
"camera": {
"altitude": 17000000.0,
@@ -92,11 +103,12 @@
}
],
"time": {
"is_paused": false,
"type": "relative",
"value": "-1d"
},
"version": {
"major": 1,
"minor": 1
"minor": 2
}
}