Files
OpenSpace/data/scene/pluto/pluto.mod
Emil Axelsson a614f1ffda Remove some power scaled coordinates. Remove spice dependency from sphere
geometry. Remove dead code. Clean up bounding sphere code.
2017-04-13 21:27:49 +02:00

141 lines
4.0 KiB
Modula-2

return {
-- Pluto barycenter module
{
Name = "PlutoBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "PLUTO BARYCENTER",
Observer = "SUN",
Kernels = {
"${OPENSPACE_DATA}/spice/de430_1850-2150.bsp",
"${OPENSPACE_DATA}/spice/plu055.bsp",
}
}
}
},
-- Pluto module
{
Name = "Pluto",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderablePlanet",
Frame = "IAU_PLUTO",
Body = "PLUTO",
Geometry = {
Type = "SimpleSphere",
Radius = 1.173E6,
Segments = 100
},
Textures = {
Type = "simple",
Color = "textures/pluto.jpg",
},
Atmosphere = {
Type = "Nishita", -- for example, values missing etc etc
MieFactor = 1.0,
MieColor = {1.0, 1.0, 1.0}
}
},
Transformation = {
Translation = {
Type = "SpiceTranslation",
Body = "PLUTO",
Observer = "PLUTO BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/plu055.bsp",
},
Rotation = {
Type = "Spice",
SourceFrame = "IAU_PLUTO",
DestinationFrame = "GALACTIC"
}
}
},
{
Name = "Charon",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderablePlanet",
Frame = "IAU_CHARON",
Body = "CHARON",
Geometry = {
Type = "SimpleSphere",
Radius = 6.035E5,
Segments = 100
},
Textures = {
Type = "simple",
Color = "textures/gray.jpg",
},
Atmosphere = {
Type = "Nishita", -- for example, values missing etc etc
MieFactor = 1.0,
MieColor = {1.0, 1.0, 1.0}
}
},
Transformation = {
Translation = {
Type = "SpiceTranslation",
Body = "CHARON",
Observer = "PLUTO BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/plu055.bsp",
},
Rotation = {
Type = "Spice",
SourceFrame = "IAU_CHARON",
DestinationFrame = "GALACTIC"
}
}
},
-- CharonTrail module
{
Name = "CharonTrail",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "CHARON",
Observer = "PLUTO BARYCENTER",
},
Color = {0.00,0.62,1.00},
Period = 6.38725,
Resolution = 1000,
},
},
-- PlutoTrail module
{
Name = "PlutoTrailSolarSystem",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "PLUTO BARYCENTER",
Observer = "SUN",
},
Color = {0.58, 0.61, 1.00},
Period = 247.92 * 365.242,
Resolution = 1000
},
GuiName = "/Solar/PlutoTrail"
},
{
Name = "PlutoTrailPluto",
Parent = "PlutoBarycenter",
Renderable = {
Type = "RenderableTrailOrbit",
Translation = {
Type = "SpiceTranslation",
Body = "PLUTO",
Observer = "PLUTO BARYCENTER",
},
Color = {0.58, 0.61, 1.00},
Period = 6.38725,
Resolution = 1000
},
GuiName = "/Solar/PlutoTrail"
}
}