From b5c99604cded40507eda245ee3907b3c92a3ea86 Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Tue, 30 Aug 2016 10:56:41 +0200 Subject: [PATCH] Render Philae separately from Rosetta --- data/scene/rosetta/rosetta/rosetta.mod | 30 +++++++++++++++++--------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/data/scene/rosetta/rosetta/rosetta.mod b/data/scene/rosetta/rosetta/rosetta.mod index fd489a5f23..70572026ac 100644 --- a/data/scene/rosetta/rosetta/rosetta.mod +++ b/data/scene/rosetta/rosetta/rosetta.mod @@ -269,18 +269,28 @@ return { }, { Name = "Philae", - Parent = "RosettaModel", + Parent = "67PBarycenter", -- This should need a transform, but currently the model is intrinsically -- translated - -- Transform = { - -- Translation = { - -- Type = "SpiceEphemeris", - -- Body = "PHILAE", - -- Reference = "GALACTIC", - -- Observer = "ROSETTA", - -- Kernels = RosettaKernels - -- } - -- } + Transform = { + Translation = { + Type = "SpiceEphemeris", + Body = "PHILAE", + Reference = "GALACTIC", + Observer = "CHURYUMOV-GERASIMENKO", + Kernels = RosettaKernels + }, + Rotation = { + Type = "SpiceRotation", + SourceFrame = "ROS_SPACECRAFT", + DestinationFrame = "GALACTIC", + }, + Scale = { + Type = "StaticScale", + -- The scale of the model is in cm; OpenSpace is in m + Scale = 0.01 + } + } }, { Name = "Philae_foil",