Add size reference for LodEarth

This commit is contained in:
Erik Broberg
2016-08-31 16:43:15 -04:00
parent b8fb3dcbe6
commit 134ece1293
+8 -1
View File
@@ -1,3 +1,4 @@
earthEllipsoid = {6378137.0, 6378137.0, 6356752.314245} -- Earth's radii
return {
-- Earth barycenter module
{
@@ -48,7 +49,7 @@ return {
},
Renderable = {
Type = "RenderableGlobe",
Radii = {6378137.0, 6378137.0, 6356752.314245}, -- Earth's radii
Radii = earthEllipsoid,
CameraMinHeight = 300,
InteractionDepthBelowEllipsoid = 0, -- Useful when having negative height map values
SegmentsPerPatch = 64,
@@ -112,6 +113,12 @@ return {
Name = "Reference_Labels",
FilePath = "map_service_configs/Reference_Labels.xml",
},
{
Type = "SizeReference",
Name = "Size Reference",
Radii = earthEllipsoid,
BackgroundImagePath = "../debugglobe/textures/arrows.png",
},
},
HeightMaps = {
{