mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 02:48:25 -05:00
Add size reference for LodEarth
This commit is contained in:
@@ -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 = {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user