Add osirisrex.mod and bennu.mod

This commit is contained in:
Erik Broberg
2016-08-09 13:16:17 -04:00
parent df1afdad36
commit b02409eb6d
2 changed files with 189 additions and 0 deletions

View File

@@ -0,0 +1,124 @@
local BENNU_BODY = "2101955"
return {
------------------------
-- Bennu --
------------------------
{
Name = "Bennu2",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableModelProjection",
Body = BENNU_BODY,
Geometry = {
Type = "MultiModelGeometry",
GeometryFile = "models/BennuUntextured.obj",
Magnification = 4,
},
Shading = {
PerformShading = true,
Fadeable = false,
Ghosting = false,
},
Textures = {
Type = "simple",
Color = "textures/osirisTex.png",
Project = "textures/defaultProj.png",
Default = "textures/defaultProj.png"
},
Rotation = {
Source = "IAU_BENNU",
Destination = "GALACTIC"
},
Projection = {
Sequence = "InstrumentTimes",
SequenceType = "instrument-times",
Observer = "OSIRIS-REX",
Target = BENNU_BODY,
Aberration = "NONE",
},
DataInputTranslation = {
Instruments = {
POLY_CAM = {
DetectorType = "Camera",
Spice = {"ORX_OCAMS_POLYCAM"},
Files = {
"BaseballDiamond_PolyCam.txt",
"OrbitalB_Site08_PolyCamImages.txt",
"Recon_225m_Equatorial_PolyCam",
},
},
SPECTOMETER = {
DetectorType = "Camera",
Spice = {"ORX_REXIS"},
Files = {
"DetailedSurvey_EquatorialStations_Spectrometers.txt",
"Recon_225m_Equatorial_spectrometers.txt",
"Recon_525m_Equatorial_spectrometers.txt",
},
},
},
Target = {
Body = BENNU_BODY,
--[[
Read = {
"TARGET_NAME",
"INSTRUMENT_HOST_NAME",
"INSTRUMENT_ID",
"START_TIME",
"STOP_TIME",
},
Convert = {
CHURYUMOV = {"CHURYUMOV-GERASIMENKO"},
ROSETTA = {"ROSETTA" },
--NAVCAM = {"NAVCAM"},
["ROSETTA-ORBITER"] = {"ROSETTA" },
CHURYUMOVGERASIMENKO11969R1 = {"CHURYUMOV-GERASIMENKO"},
CHURYUMOVGERASIMENKO = {"CHURYUMOV-GERASIMENKO"},
["CHURYUMOV-GERASIMENKO1(1969R1)"] = {"CHURYUMOV-GERASIMENKO"},
--NAVIGATIONCAMERA = {"NAVCAM" },
},
]]
},
},
Instrument = { -- INVALID DATA - JUST FOR TESTING
Name = "ORX_OCAMS_POLYCAM",
Method = "ELLIPSOID",
Aberration = "NONE",
Fovy = 5.00,
Aspect = 1,
Near = 0.01,
Far = 1000000,
},
},
Ephemeris = {
Type = "Spice",
Body = BENNU_BODY,
-- Reference = "ECLIPJ2000",
Reference = "GALACTIC",
Observer = "SUN",
},
GuiName = "/Solar/Bennu"
},
{
Name = "BennuTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = BENNU_BODY,
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.4, 0.0, 0.7},
TropicalOrbitPeriod = 436.649,
EarthOrbitRatio = 1.3559, -- worst parameter I've ever seen
DayLength = 4.288 -- why this for a path??
},
GuiName = "/Solar/BennuTrail"
},
}

View File

@@ -0,0 +1,65 @@
return {
------------------------
-- Osiris Rex --
------------------------
{
Name = "OsirisRex",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableModel",
Body = "OSIRIS-REX",
Geometry = {
Type = "MultiModelGeometry",
GeometryFile = "models/osiris.obj",
Magnification = 0.5,
},
Textures = {
Type = "simple",
Color = "textures/osirisTex.png",
},
Rotation = {
Source = "ORX_SPACECRAFT",
Destination = "GALACTIC"
},
Shading = {
PerformShading = true,
Fadeable = false,
Ghosting = false,
},
},
Ephemeris = {
Type = "Spice",
Body = "OSIRIS-REX",
-- Reference = "ECLIPJ2000",
Reference = "GALACTIC",
Observer = "SUN",
},
GuiName = "/Solar/OsirisRex"
},
{
Name = "OsirisRexPath",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderablePath",
Body = "OSIRIS-REX",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.8, 0.8, 0.2},
TimeSteps = 900,
Textures = {
Type = "simple",
Color = "textures/glare_blue.png",
-- need to add different texture
},
DrawLine = true,
StartTime = "2016 SEP 8 12:00:00",
EndTime = "2022 OCT 17 12:00:00"
},
GuiName = "/Solar/OsirisRexTrail"
},
}