New data folder structure for lodglobes

This commit is contained in:
kalbl
2016-11-07 22:38:14 +01:00
parent 96ccb550d5
commit ef62fdca30
65 changed files with 789 additions and 121 deletions
+2 -5
View File
@@ -70,16 +70,13 @@ return {
ScenePath = ".",
CommonFolder = "common",
Camera = {
Focus = "Mars",
Focus = "Earth",
Position = {138530625167.228241, 42217005217.825005, -46336405755.934372},
Rotation = {0.633883, 0.492158, -0.123913, -0.583625},
},
Modules = {
"lodearth",
"lodmoon",
"lodmars",
--"lodmercury",
"lodglobes",
"sun",
"stars",
"milkyway",
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

@@ -0,0 +1,5 @@
return {
FileRequest = {
{ Identifier = "callisto_textures", Destination = "textures", Version = 1 }
},
}
@@ -0,0 +1,62 @@
return {
-- RenderableGlobe module
{
Name = "Callisto",
Parent = "JupiterBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_CALLISTO",
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "SpiceTranslation",
Body = "CALLISTO",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = {2631000, 2631000, 2631000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Callisto Texture",
FilePath = "textures/callisto.jpg",
Enabled = true,
MinimumPixelSize = 112,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
}
},
-- Trail module
{
Name = "CallistoTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "CALLISTO",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.4, 0.3, 0.01 },
TropicalOrbitPeriod = 60 ,
EarthOrbitRatio = 0.045,
DayLength = 9.9259,
}
},
}
+5
View File
@@ -0,0 +1,5 @@
return {
FileRequest = {
{ Identifier = "earth_textures", Destination = "textures", Version = 2 }
},
}
@@ -63,8 +63,8 @@ return {
},
{
Type = "Temporal",
Name = "Temporal MODIS Aqua CorrectedRecflectance TrueColor",
FilePath = "map_service_configs/GIBS/Temporal_MODIS_Aqua_CorrectedReflectance_TrueColor.xml",
Name = "Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature",
FilePath = "map_service_configs/GIBS/Temporal_GHRSST_L4_MUR_Sea_Surface_Temperature.xml",
},
{
Name = "VIIRS_SNPP_CorrectedReflectance_TrueColor",
@@ -76,12 +76,8 @@ return {
FilePath = "textures/test_tile.png",
},
},
GrayScaleLayers = {
},
GrayScaleColorOverlays = {
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = {
{
Name = "Earth at Night 2012",
@@ -113,7 +109,7 @@ return {
Type = "SizeReference",
Name = "Size Reference",
Radii = earthEllipsoid,
BackgroundImagePath = "../debugglobe/textures/arrows.png",
BackgroundImagePath = "../../debugglobe/textures/arrows.png",
},
},
HeightLayers = {
@@ -13,12 +13,10 @@
<BlockSizeY>512</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>5</MaxConnections>
<!--
<Cache>
<Path>./gdalwmscache</Path>
<Depth>2</Depth>
<Path>./GDAL_Cache_ESRI_Imagery_World_2d</Path>
<Depth>10</Depth>
<Extension>.jpg</Extension>
</Cache>
<OfflineMode>true</OfflineMode>
-->
<OfflineMode>false</OfflineMode>
</GDAL_WMS>
@@ -0,0 +1,25 @@
<OpenSpaceTemporalGDALDataset>
<OpenSpaceTimeStart>2002-06-01</OpenSpaceTimeStart>
<OpenSpaceTimeEnd></OpenSpaceTimeEnd>
<OpenSpaceTimeResolution>1d</OpenSpaceTimeResolution>
<OpenSpaceTimeIdFormat>YYYY-MM-DD</OpenSpaceTimeIdFormat>
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://map1.vis.earthdata.nasa.gov/wmts-geo/GHRSST_L4_MUR_Sea_Surface_Temperature/default/${OpenSpaceTimeId}/EPSG4326_1km/${z}/${y}/${x}.png</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90</UpperLeftY>
<LowerRightX>396.0</LowerRightX>
<LowerRightY>-198</LowerRightY>
<TileLevel>8</TileLevel>
<TileCountX>2</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:4326</Projection>
<BlockSizeX>512</BlockSizeX>
<BlockSizeY>512</BlockSizeY>
<BandsCount>4</BandsCount>
</GDAL_WMS>
</OpenSpaceTemporalGDALDataset>
@@ -0,0 +1,5 @@
return {
FileRequest = {
{ Identifier = "europa_textures", Destination = "textures", Version = 1 }
},
}
@@ -0,0 +1,62 @@
return {
-- RenderableGlobe module
{
Name = "Europa",
Parent = "JupiterBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_EUROPA",
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "SpiceTranslation",
Body = "EUROPA",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = {1561000, 1561000, 1561000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Europa Texture",
FilePath = "textures/europa.jpg",
Enabled = true,
MinimumPixelSize = 256,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
}
},
-- Trail module
{
Name = "EuropaTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "EUROPA",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.5, 0.3, 0.3 },
TropicalOrbitPeriod = 60,
EarthOrbitRatio = 0.01,
DayLength = 9.9259,
}
},
}
@@ -0,0 +1,5 @@
return {
FileRequest = {
{ Identifier = "ganymede_textures", Destination = "textures", Version = 1 }
},
}
@@ -0,0 +1,62 @@
return {
-- RenderableGlobe module
{
Name = "Ganymede",
Parent = "JupiterBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_GANYMEDE",
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "SpiceTranslation",
Body = "GANYMEDE",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = {2631000, 2631000, 2631000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Ganymede Texture",
FilePath = "textures/ganymede.jpg",
Enabled = true,
MinimumPixelSize = 112,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
}
},
-- Trail module
{
Name = "GanymedeTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "GANYMEDE",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.4, 0.3, 0.3 },
TropicalOrbitPeriod = 60 ,
EarthOrbitRatio = 0.019,
DayLength = 9.9259,
}
},
}
+5
View File
@@ -0,0 +1,5 @@
return {
FileRequest = {
{ Identifier = "io_textures", Destination = "textures", Version = 1 }
},
}
+61
View File
@@ -0,0 +1,61 @@
return {
-- RenderableGlobe module
{
Name = "Io",
Parent = "JupiterBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_IO",
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "SpiceTranslation",
Body = "IO",
Observer = "JUPITER BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/jup260.bsp"
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = {1821300, 1821300, 1821300},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Io Texture",
FilePath = "textures/io.jpg",
Enabled = true,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
}
},
-- Trail module
{
Name = "IoTrail",
Parent = "JupiterBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "IO",
Frame = "GALACTIC",
Observer = "JUPITER BARYCENTER",
RGB = { 0.4, 0.4, 0.2 },
TropicalOrbitPeriod = 40 ,
EarthOrbitRatio = 0.0045,
DayLength = 9.9259,
}
},
}
Binary file not shown.
@@ -0,0 +1,8 @@
return {
FileRequest = {
{ Identifier = "jupiter_textures", Destination = "textures", Version = 1 }
},
TorrentFiles = {
{ File = "jup260.bsp.torrent", Destination = "${SPICE}" },
}
}
@@ -0,0 +1,72 @@
return {
-- Barycenter module
{
Name = "JupiterBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "JUPITER BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
},
},
-- RenderableGlobe module
{
Name = "Jupiter",
Parent = "JupiterBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_JUPITER",
DestinationFrame = "GALACTIC",
},
Translation = {
Type = "StaticTranslation",
Position = {0, 0, 0}, -- jupiter is at its barycenter
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = {71492000, 71492000, 71492000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Jupiter Texture",
FilePath = "textures/jupiter.jpg",
Enabled = true,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
}
},
-- Trail module
{
Name = "JupiterTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "JUPITER BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = { 0.8, 0.7, 0.7 },
TropicalOrbitPeriod = 4330.595 ,
EarthOrbitRatio = 11.857,
DayLength = 9.9259,
}
},
}
Binary file not shown.
@@ -1,6 +1,6 @@
local marsEllipsoid = {3396190.0, 3396190.0, 3376200.0}
return {
-- Mars barycenter module
-- Barycenter module
{
Name = "MarsBarycenter",
Parent = "SolarSystemBarycenter",
@@ -39,7 +39,7 @@ return {
{
Type = "SingleImage",
Name = "Debug Tiles",
FilePath = "../debugglobe/textures/test_tile.png",
FilePath = "../../debugglobe/textures/test_tile.png",
},
{
Name = "MARS_Viking",
@@ -58,7 +58,11 @@ return {
},
GrayScaleColorOverlays = {
--[[
{
Name = "Layered Rock Outcrops in Southwest Candor Chasma",
FilePath = "map_datasets/HiRISE/Layered_Rock_Outcrops_in_Southwest_Candor_Chasma_Texture.vrt",
},
--[[
{
Name = "CTX Mosaic",
FilePath = "map_service_configs/CTX_Mosaic.xml",
@@ -69,10 +73,6 @@ return {
FilePath = "map_datasets/CTX/West_Candor_Chasma_longlat_global.vrt",
--Enabled = true,
},
{
Name = "Layered Rock Outcrops in Southwest Candor Chasma",
FilePath = "map_datasets/HiRISE/Layered_Rock_Outcrops_in_Southwest_Candor_Chasma_Texture.vrt",
},
{
Name = "MER_Meridianni_Endeavor_Basemap_25cm",
FilePath = "map_datasets/Basemap/MER_Meridianni_Endeavor_Basemap_25cm.vrt",
@@ -83,12 +83,8 @@ return {
},
]]
},
NightLayers = {
},
WaterMasks = {
},
NightLayers = { },
WaterMasks = { },
ColorOverlays = {
{
Type = "TileIndex",
@@ -98,10 +94,16 @@ return {
Type = "SizeReference",
Name = "Size Reference",
Radii = marsEllipsoid,
BackgroundImagePath = "../debugglobe/textures/arrows.png",
BackgroundImagePath = "../../debugglobe/textures/arrows.png",
},
},
HeightLayers = {
{
Name = "Layered Rock Outcrops in Southwest Candor Chasma",
FilePath = "map_datasets/HiRISE/Layered_Rock_Outcrops_in_Southwest_Candor_Chasma_Heightmap.vrt",
MinimumPixelSize = 90,
DoPreProcessing = true,
},
--[[
{
Name = "Mola Elevation",
@@ -125,12 +127,6 @@ return {
MinimumPixelSize = 90,
DoPreProcessing = true,
},
{
Name = "Layered Rock Outcrops in Southwest Candor Chasma",
FilePath = "map_datasets/HiRISE/Layered_Rock_Outcrops_in_Southwest_Candor_Chasma_Heightmap.vrt",
MinimumPixelSize = 90,
DoPreProcessing = true,
},
{
Name = "Part of Area Traversed by the Mars Exploration Rover",
FilePath = "map_datasets/HiRISE/Part_of_Area_Traversed_by_the_Mars_Exploration_Rover_Heightmap.vrt",
@@ -140,7 +136,7 @@ return {
},
}
},
-- MarsTrail module
-- Trail module
{
Name = "MarsTrail",
Parent = "Sun",
@@ -12,4 +12,10 @@
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
</DataWindow>
<Cache>
<Path>./GDAL_CTX_cache</Path>
<Depth>10</Depth>
<Extension>.png</Extension>
</Cache>
<OfflineMode>true</OfflineMode>
</GDAL_WMS>
@@ -0,0 +1,10 @@
<GDAL_WMTS>
<GetCapabilitiesUrl>http://webgis3.wr.usgs.gov/arcgis/rest/services/Mars_color/MapServer/WMTS/1.0.0/WMTSCapabilities.xml</GetCapabilitiesUrl>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90</LowerRightY>
</DataWindow>
<BandsCount>3</BandsCount>
</GDAL_WMTS>
@@ -0,0 +1,22 @@
<GDAL_WMS>
<Service name="WMS">
<Version>1.3.0</Version>
<ServerUrl>http://planetarymaps.usgs.gov/cgi-bin/mapserv?map=/maps/mars/mars_simp_cyl.map</ServerUrl>
<CRS>EPSG:4326</CRS>
<ImageFormat>image/png</ImageFormat>
<Layers>MDIM21_color</Layers>
<Transparent>TRUE</Transparent>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<SizeX>2048</SizeX>
<SizeY>1024</SizeY>
<YOrigin>bottom</YOrigin>
</DataWindow>
</GDAL_WMS>
<!--
http://planetarymaps.usgs.gov/cgi-bin/mapserv?map=/maps/mars/mars_simp_cyl.map&SERVICE=WMS&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=TRUE&STYLES=&VERSION=1.3.0&LAYERS=MDIM21_color&WIDTH=552&HEIGHT=701&CRS=EPSG:4326&BBOX=-44.04553530613228,-180,79.17712094386772,-82.96875
-->
@@ -0,0 +1,17 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://d1poygwgh8gv6r.cloudfront.net/catalog/Mars_MGS_MOLA_DEM_mosaic_global_463m_8/1.0.0//default/default028mm/${z}/${y}/${x}.png</ServerUrl>
<ImageFormat>image/png</ImageFormat>
</Service>
<DataWindow>
<TileLevel>5</TileLevel>
<TileCountX>2</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<DataType>Byte</DataType>
<Projection>EPSG:4326</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>2</BandsCount>
</GDAL_WMS>
+8
View File
@@ -0,0 +1,8 @@
return {
FileRequest = {
{ Identifier = "mars_textures", Destination = "textures", Version = 1 }
},
TorrentFiles = {
-- { File = "MAR063.BSP.torrent", Destination = "${SPICE}" }
}
}
@@ -1,5 +1,5 @@
return {
-- Mercury barycenter module
-- Barycenter module
{
Name = "MercuryBarycenter",
Parent = "SolarSystemBarycenter",
@@ -12,7 +12,6 @@ return {
},
},
},
-- RenderableGlobe module
{
Name = "Mercury",
@@ -39,6 +38,13 @@ return {
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Simple Texture",
FilePath = "textures/mercury.jpg",
Enabled = true,
MinimumPixelSize = 256,
},
--[[
{
Name = "On Mercury Color",
FilePath = "map_service_configs/OnMercuryColor.xml",
@@ -48,6 +54,7 @@ return {
Name = "On Mercury Image",
FilePath = "map_service_configs/OnMercuryImage.xml",
},
]]
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
@@ -55,17 +62,18 @@ return {
WaterMasks = { },
ColorOverlays = { },
HeightLayers = {
--[[
{
Name = "On Mercury Height",
FilePath = "map_service_configs/OnMercuryElevationGaskell.xml",
Enabled = true,
},
]]
},
},
},
},
-- MercuryTrail module
-- Trail module
{
Name = "MercuryTrail",
Parent = "SolarSystemBarycenter",
@@ -0,0 +1,5 @@
return {
FileRequest = {
{ Identifier = "mercury_textures", Destination = "textures", Version = 1 }
},
}
+5
View File
@@ -0,0 +1,5 @@
return {
FileRequest = {
{ Identifier = "moon_textures", Destination = "textures", Version = 1 }
},
}
@@ -0,0 +1,70 @@
return {
-- Barycenter module
{
Name = "NeptuneBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "NEPTUNE BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
},
},
-- RenderableGlobe module
{
Name = "Neptune",
Parent = "NeptuneBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_NEPTUNE",
DestinationFrame = "GALACTIC",
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
-- No translation, Neptune is in its barycenter
},
Renderable = {
Type = "RenderableGlobe",
Radii = {24622000, 24622000, 24622000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Texture",
FilePath = "textures/neptune.jpg",
Enabled = true,
MinimumPixelSize = 256,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
},
},
-- Trail module
{
Name = "NeptuneTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "NEPTUNE BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {0.2, 0.5, 1.0 },
TropicalOrbitPeriod = 59799.9 ,
EarthOrbitRatio = 163.73,
DayLength = 16.11,
},
}
}
@@ -0,0 +1,5 @@
return {
FileRequest = {
{ Identifier = "neptune_textures", Destination = "textures", Version = 1 }
},
}
@@ -0,0 +1,70 @@
return {
-- Barycenter module
{
Name = "SaturnBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "SATURN BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
},
},
-- RenderableGlobe module
{
Name = "Saturn",
Parent = "SaturnBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_SATURN",
DestinationFrame = "GALACTIC",
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
-- No translation, Saturn is in its barycenter
},
Renderable = {
Type = "RenderableGlobe",
Radii = {58232000, 58232000, 58232000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Saturn Texture",
FilePath = "textures/saturn.jpg",
Enabled = true,
MinimumPixelSize = 256,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
},
},
-- Trail module
{
Name = "SaturnTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "SATURN BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {0.85,0.75,0.51 },
TropicalOrbitPeriod = 10746.94 ,
EarthOrbitRatio = 29.424,
DayLength = 10.656,
},
}
}
@@ -0,0 +1,70 @@
return {
-- Barycenter module
{
Name = "UranusBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "URANUS BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
},
},
-- RenderableGlobe module
{
Name = "Uranus",
Parent = "UranusBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_URANUS",
DestinationFrame = "GALACTIC",
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
-- No translation, Uranus is in its barycenter
},
Renderable = {
Type = "RenderableGlobe",
Radii = {25362000, 25362000, 25362000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Texture",
FilePath = "textures/uranus.jpg",
Enabled = true,
MinimumPixelSize = 256,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
},
},
-- Trail module
{
Name = "UranusTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "URANUS BARYCENTER",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {0.60,0.95,1.00 },
TropicalOrbitPeriod = 30588.740 ,
EarthOrbitRatio = 83.749,
DayLength = 17.24,
},
}
}
@@ -0,0 +1,5 @@
return {
FileRequest = {
{ Identifier = "uranus_textures", Destination = "textures", Version = 1 }
},
}
@@ -0,0 +1,75 @@
return {
-- Barycenter module
{
Name = "VenusBarycenter",
Parent = "SolarSystemBarycenter",
Transform = {
Translation = {
Type = "SpiceTranslation",
Body = "VENUS BARYCENTER",
Observer = "SUN",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
},
},
-- RenderableGlobe module
{
Name = "Venus",
Parent = "VenusBarycenter",
Transform = {
Rotation = {
Type = "SpiceRotation",
SourceFrame = "IAU_VENUS",
DestinationFrame = "GALACTIC",
},
Scale = {
Type = "StaticScale",
Scale = 1,
},
Translation = {
Type = "SpiceTranslation",
Body = "VENUS",
Observer = "VENUS BARYCENTER",
Kernels = "${OPENSPACE_DATA}/spice/de430_1850-2150.bsp"
},
},
Renderable = {
Type = "RenderableGlobe",
Radii = {3760000, 3760000, 3760000},
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Name = "Venus Texture",
FilePath = "textures/venus.jpg",
Enabled = true,
MinimumPixelSize = 256,
},
},
GrayScaleLayers = { },
GrayScaleColorOverlays = { },
NightLayers = { },
WaterMasks = { },
ColorOverlays = { },
HeightLayers = { },
},
},
},
-- Trail module
{
Name = "VenusTrail",
Parent = "SolarSystemBarycenter",
Renderable = {
Type = "RenderableTrail",
Body = "VENUS",
Frame = "GALACTIC",
Observer = "SUN",
RGB = {1, 0.5, 0.2},
TropicalOrbitPeriod = 224.695 ,
EarthOrbitRatio = 0.615,
DayLength = 2802.0,
},
}
}
+5
View File
@@ -0,0 +1,5 @@
return {
FileRequest = {
{ Identifier = "venus_textures", Destination = "textures", Version = 1 }
},
}
@@ -1,28 +0,0 @@
<VRTDataset rasterXSize="163840" rasterYSize="81920">
<SRS>GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]</SRS>
<GeoTransform> -1.8000000000000000e+02, 2.1972656250000000e-03, 0.0000000000000000e+00, 9.0000000000000000e+01, 0.0000000000000000e+00, -2.1972656250000000e-03</GeoTransform>
<VRTRasterBand dataType="Byte" band="1">
<NoDataValue>0</NoDataValue>
<HideNoDataValue>1</HideNoDataValue>
<ColorInterp>Gray</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">OnMoonColor.xml</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="163840" RasterYSize="81920" DataType="Byte" BlockXSize="512" BlockYSize="512" />
<SrcRect xOff="0" yOff="0" xSize="163840" ySize="81920" />
<DstRect xOff="0" yOff="0" xSize="163840" ySize="81920" />
<NODATA>0</NODATA>
</ComplexSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="2">
<ColorInterp>Alpha</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">white_geo.tif</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="163840" RasterYSize="81920" DataType="Byte" BlockXSize="512" BlockYSize="512"/>
<SrcRect xOff="0" yOff="0" xSize="32" ySize="32" />
<DstRect xOff="0" yOff="0" xSize="163840" ySize="81920" />
</ComplexSource>
</VRTRasterBand>
</VRTDataset>
@@ -1,49 +0,0 @@
<VRTDataset rasterXSize="163840" rasterYSize="81920">
<SRS>GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]</SRS>
<GeoTransform> -1.8000000000000000e+02, 2.1972656250000000e-03, 0.0000000000000000e+00, 9.0000000000000000e+01, 0.0000000000000000e+00, -2.1972656250000000e-03</GeoTransform>
<VRTRasterBand dataType="Byte" band="1">
<NoDataValue>0</NoDataValue>
<HideNoDataValue>1</HideNoDataValue>
<ColorInterp>Red</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">OnMoonColor.xml</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="163840" RasterYSize="81920" DataType="Byte" BlockXSize="512" BlockYSize="512" />
<SrcRect xOff="0" yOff="0" xSize="163840" ySize="81920" />
<DstRect xOff="0" yOff="0" xSize="163840" ySize="81920" />
<NODATA>0</NODATA>
<ScaleOffset>16</ScaleOffset>
<ScaleRatio>0</ScaleRatio>
</ComplexSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="2">
<NoDataValue>0</NoDataValue>
<HideNoDataValue>1</HideNoDataValue>
<ColorInterp>Green</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">OnMoonColor.xml</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="163840" RasterYSize="81920" DataType="Byte" BlockXSize="512" BlockYSize="512" />
<SrcRect xOff="0" yOff="0" xSize="163840" ySize="81920" />
<DstRect xOff="0" yOff="0" xSize="163840" ySize="81920" />
<NODATA>0</NODATA>
<ScaleOffset>16</ScaleOffset>
<ScaleRatio>0</ScaleRatio>
</ComplexSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="3">
<NoDataValue>0</NoDataValue>
<HideNoDataValue>1</HideNoDataValue>
<ColorInterp>Blue</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">OnMoonColor.xml</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="163840" RasterYSize="81920" DataType="Byte" BlockXSize="512" BlockYSize="512" />
<SrcRect xOff="0" yOff="0" xSize="163840" ySize="81920" />
<DstRect xOff="0" yOff="0" xSize="163840" ySize="81920" />
<NODATA>0</NODATA>
<ScaleOffset>16</ScaleOffset>
<ScaleRatio>0</ScaleRatio>
</ComplexSource>
</VRTRasterBand>
</VRTDataset>