Files
OpenSpace/data/scene/examples/fixedrotation/fixedrotation.mod
T
Alexander Bock f29b15a37f Add a rotation method that follows a fixed scene graph node
Add missing file for ImGui
2017-11-10 17:15:00 -05:00

36 lines
1.0 KiB
Modula-2

return {
-- Earth barycenter module
{
Name = "Fixed Rotation",
Parent = "EarthBarycenter",
Transform = {
Rotation = {
Type = "FixedRotation",
Attached = "Fixed Rotation",
XAxis = { 0.0, 1.0, 0.0 },
XAxisOrthogonal = true,
YAxis = "EarthBarycenter"
},
Translation = {
Type = "SpiceTranslation",
Target = "MOON",
Observer = "EARTH BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
Scale = {
Type = "StaticScale",
Scale = 10000000
}
},
Renderable = {
Type = "RenderableModel",
Geometry = {
Type = "MultiModelGeometry",
GeometryFile = "teapot.obj",
-- Magnification = 4,
},
ColorTexture = "placeholder.png",
}
}
}