mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-08 04:20:14 -05:00
Add a RenderableGlobe at OsirisRex position
This commit is contained in:
@@ -1,27 +1,13 @@
|
||||
local BENNU_BODY = "2101955"
|
||||
local OSIRIS_REX_BODY = "OSIRIS-REX"
|
||||
|
||||
return {
|
||||
------------------------
|
||||
-- Bennu --
|
||||
------------------------
|
||||
{
|
||||
Name = "Bennu2",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Renderable = {
|
||||
Type = "RenderablePlanet",
|
||||
Frame = "IAU_BENNU",
|
||||
Body = BENNU_BODY,
|
||||
Geometry = {
|
||||
Type = "SimpleSphere",
|
||||
Radius = { 6.371, 6 },
|
||||
Segments = 100
|
||||
},
|
||||
Textures = {
|
||||
Type = "simple",
|
||||
Color = "textures/earth_bluemarble.jpg",
|
||||
Night = "textures/earth_night.jpg",
|
||||
--Height = "textures/earth_bluemarble_height.jpg",
|
||||
-- Depth = "textures/earth_depth.png",
|
||||
Reflectance = "textures/earth_reflectance.png",
|
||||
Clouds = "textures/earth_clouds.jpg"
|
||||
}
|
||||
},
|
||||
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
@@ -30,6 +16,30 @@ return {
|
||||
Reference = "GALACTIC",
|
||||
Observer = "SUN",
|
||||
},
|
||||
|
||||
Renderable = {
|
||||
Frame = "IAU_BENNU",
|
||||
Body = BENNU_BODY,
|
||||
|
||||
Type = "RenderableGlobe",
|
||||
Radii = {275.0, 275.0, 246.0},
|
||||
SegmentsPerPatch = 64,
|
||||
TextureInitData = {
|
||||
ColorTextureMinimumSize = 1024,
|
||||
OverlayMinimumSize = 1024,
|
||||
HeightMapMinimumSize = 64,
|
||||
},
|
||||
Textures = {
|
||||
ColorTextures = {
|
||||
{
|
||||
Type = "SingleImage",
|
||||
Name = "Basic",
|
||||
FilePath = "../debugglobe/map_service_configs/ESRI_Imagery_World_2D.wms",
|
||||
Enabled = true,
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
GuiName = "/Solar/Bennu"
|
||||
},
|
||||
@@ -37,7 +47,7 @@ return {
|
||||
{
|
||||
Name = "BennuTrail",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Renderable = {
|
||||
Renderable = {
|
||||
Type = "RenderableTrail",
|
||||
Body = BENNU_BODY,
|
||||
Frame = "GALACTIC",
|
||||
@@ -49,4 +59,70 @@ return {
|
||||
},
|
||||
GuiName = "/Solar/BennuTrail"
|
||||
},
|
||||
|
||||
|
||||
------------------------
|
||||
-- Osiris Rex --
|
||||
------------------------
|
||||
{
|
||||
Name = "OsirisRex",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Renderable = {
|
||||
Type = "RenderablePlanet",
|
||||
Frame = "GALACTIC",
|
||||
Body = OSIRIS_REX_BODY,
|
||||
|
||||
Type = "RenderableGlobe",
|
||||
Radii = {15.0, 15.0, 15.0},
|
||||
SegmentsPerPatch = 64,
|
||||
TextureInitData = {
|
||||
ColorTextureMinimumSize = 1024,
|
||||
OverlayMinimumSize = 1024,
|
||||
HeightMapMinimumSize = 64,
|
||||
},
|
||||
Textures = {
|
||||
ColorTextures = {
|
||||
{
|
||||
Type = "SingleImage",
|
||||
Name = "Basic",
|
||||
FilePath = "../debugglobe/map_service_configs/ESRI_Imagery_World_2D.wms",
|
||||
Enabled = true,
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Ephemeris = {
|
||||
Type = "Spice",
|
||||
Body = OSIRIS_REX_BODY,
|
||||
-- Reference = "ECLIPJ2000",
|
||||
Reference = "GALACTIC",
|
||||
Observer = "SUN",
|
||||
},
|
||||
|
||||
GuiName = "/Solar/OsirisRex"
|
||||
},
|
||||
|
||||
{
|
||||
Name = "OsirisRexPath",
|
||||
Parent = "SolarSystemBarycenter",
|
||||
Renderable = {
|
||||
Type = "RenderablePath",
|
||||
Body = OSIRIS_REX_BODY,
|
||||
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"
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user