mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-09 06:48:35 -05:00
Disable labels on default
Some small code cleanup
This commit is contained in:
@@ -62,18 +62,6 @@ local Pluto = {
|
||||
local PlutoLabel = {
|
||||
Identifier = "PlutoLabel",
|
||||
Parent = Pluto.Identifier,
|
||||
-- Transform = {
|
||||
-- Translation = {
|
||||
-- Type = "SpiceTranslation",
|
||||
-- Target = "EARTH",
|
||||
-- Observer = "EARTH BARYCENTER"
|
||||
-- },
|
||||
-- -- Rotation = {
|
||||
-- -- Type = "SpiceRotation",
|
||||
-- -- SourceFrame = "IAU_MOON",
|
||||
-- -- DestinationFrame = "GALACTIC"
|
||||
-- -- }
|
||||
-- },
|
||||
Renderable = {
|
||||
Enabled = true,
|
||||
Type = "RenderableLabels",
|
||||
@@ -83,13 +71,7 @@ local PlutoLabel = {
|
||||
LabelMaxSize = 100.0,
|
||||
LabelMinSize = 1.0,
|
||||
BlendMode = "Additive",
|
||||
LabelOrientationOption = "Camera View Direction",
|
||||
TransformationMatrix = {
|
||||
1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
0.0, 0.0, 0.0, 1.0
|
||||
},
|
||||
LabelOrientationOption = "Camera View Direction"
|
||||
},
|
||||
GUI = {
|
||||
Name = "Pluto Label",
|
||||
|
||||
@@ -303,7 +303,7 @@ local EarthLabel = {
|
||||
-- -- }
|
||||
-- },
|
||||
Renderable = {
|
||||
Enabled = true,
|
||||
Enabled = false,
|
||||
Type = "RenderableLabels",
|
||||
LabelText = "Earth",
|
||||
FontSize = 100.0,
|
||||
@@ -318,13 +318,7 @@ local EarthLabel = {
|
||||
FadeStartSpeed = 1.0,
|
||||
FadeEndUnit = "au",
|
||||
FadeEndDistance = 15.0,
|
||||
FadeEndSpeed = 25.0,
|
||||
TransformationMatrix = {
|
||||
1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
0.0, 0.0, 0.0, 1.0
|
||||
},
|
||||
FadeEndSpeed = 25.0
|
||||
},
|
||||
GUI = {
|
||||
Name = "Earth Label",
|
||||
|
||||
@@ -45,20 +45,8 @@ local Jupiter = {
|
||||
local JupiterLabel = {
|
||||
Identifier = "JupiterLabel",
|
||||
Parent = Jupiter.Identifier,
|
||||
-- Transform = {
|
||||
-- Translation = {
|
||||
-- Type = "SpiceTranslation",
|
||||
-- Target = "EARTH",
|
||||
-- Observer = "EARTH BARYCENTER"
|
||||
-- },
|
||||
-- -- Rotation = {
|
||||
-- -- Type = "SpiceRotation",
|
||||
-- -- SourceFrame = "IAU_MOON",
|
||||
-- -- DestinationFrame = "GALACTIC"
|
||||
-- -- }
|
||||
-- },
|
||||
Renderable = {
|
||||
Enabled = true,
|
||||
Enabled = false,
|
||||
Type = "RenderableLabels",
|
||||
LabelText = "Jupiter",
|
||||
FontSize = 100.0,
|
||||
@@ -66,13 +54,7 @@ local JupiterLabel = {
|
||||
LabelMaxSize = 100.0,
|
||||
LabelMinSize = 1.0,
|
||||
LabelOrientationOption = "Camera View Direction",
|
||||
BlendMode = "Additive",
|
||||
TransformationMatrix = {
|
||||
1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
0.0, 0.0, 0.0, 1.0
|
||||
},
|
||||
BlendMode = "Additive"
|
||||
},
|
||||
GUI = {
|
||||
Name = "Jupiter Label",
|
||||
|
||||
@@ -190,20 +190,8 @@ local Mars = {
|
||||
local MarsLabel = {
|
||||
Identifier = "MarsLabel",
|
||||
Parent = Mars.Identifier,
|
||||
-- Transform = {
|
||||
-- Translation = {
|
||||
-- Type = "SpiceTranslation",
|
||||
-- Target = "EARTH",
|
||||
-- Observer = "EARTH BARYCENTER"
|
||||
-- },
|
||||
-- -- Rotation = {
|
||||
-- -- Type = "SpiceRotation",
|
||||
-- -- SourceFrame = "IAU_MOON",
|
||||
-- -- DestinationFrame = "GALACTIC"
|
||||
-- -- }
|
||||
-- },
|
||||
Renderable = {
|
||||
Enabled = true,
|
||||
Enabled = false,
|
||||
Type = "RenderableLabels",
|
||||
LabelText = "Mars",
|
||||
FontSize = 100.0,
|
||||
|
||||
@@ -226,20 +226,8 @@ local Mercury = {
|
||||
local MercuryLabel = {
|
||||
Identifier = "MercuryLabel",
|
||||
Parent = Mercury.Identifier,
|
||||
-- Transform = {
|
||||
-- Translation = {
|
||||
-- Type = "SpiceTranslation",
|
||||
-- Target = "EARTH",
|
||||
-- Observer = "EARTH BARYCENTER"
|
||||
-- },
|
||||
-- -- Rotation = {
|
||||
-- -- Type = "SpiceRotation",
|
||||
-- -- SourceFrame = "IAU_MOON",
|
||||
-- -- DestinationFrame = "GALACTIC"
|
||||
-- -- }
|
||||
-- },
|
||||
Renderable = {
|
||||
Enabled = true,
|
||||
Enabled = false,
|
||||
Type = "RenderableLabels",
|
||||
LabelText = "Mercury",
|
||||
FontSize = 100.0,
|
||||
@@ -247,13 +235,7 @@ local MercuryLabel = {
|
||||
LabelMaxSize = 100.0,
|
||||
LabelMinSize = 1.0,
|
||||
LabelOrientationOption = "Camera View Direction",
|
||||
BlendMode = "Additive",
|
||||
TransformationMatrix = {
|
||||
1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
0.0, 0.0, 0.0, 1.0
|
||||
},
|
||||
BlendMode = "Additive"
|
||||
},
|
||||
GUI = {
|
||||
Name = "Mercury Label",
|
||||
|
||||
@@ -43,20 +43,8 @@ local Neptune = {
|
||||
local NeptuneLabel = {
|
||||
Identifier = "NeptuneLabel",
|
||||
Parent = Neptune.Identifier,
|
||||
-- Transform = {
|
||||
-- Translation = {
|
||||
-- Type = "SpiceTranslation",
|
||||
-- Target = "EARTH",
|
||||
-- Observer = "EARTH BARYCENTER"
|
||||
-- },
|
||||
-- -- Rotation = {
|
||||
-- -- Type = "SpiceRotation",
|
||||
-- -- SourceFrame = "IAU_MOON",
|
||||
-- -- DestinationFrame = "GALACTIC"
|
||||
-- -- }
|
||||
-- },
|
||||
Renderable = {
|
||||
Enabled = true,
|
||||
Enabled = false,
|
||||
Type = "RenderableLabels",
|
||||
LabelText = "Neptune",
|
||||
FontSize = 100.0,
|
||||
@@ -64,13 +52,7 @@ local NeptuneLabel = {
|
||||
LabelMaxSize = 100.0,
|
||||
LabelMinSize = 1.0,
|
||||
LabelOrientationOption = "Camera View Direction",
|
||||
BlendMode = "Additive",
|
||||
TransformationMatrix = {
|
||||
1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
0.0, 0.0, 0.0, 1.0
|
||||
},
|
||||
BlendMode = "Additive"
|
||||
},
|
||||
GUI = {
|
||||
Name = "Neptune Label",
|
||||
|
||||
@@ -60,20 +60,8 @@ local SaturnRings = {
|
||||
local SaturnLabel = {
|
||||
Identifier = "SaturnLabel",
|
||||
Parent = Saturn.Identifier,
|
||||
-- Transform = {
|
||||
-- Translation = {
|
||||
-- Type = "SpiceTranslation",
|
||||
-- Target = "EARTH",
|
||||
-- Observer = "EARTH BARYCENTER"
|
||||
-- },
|
||||
-- -- Rotation = {
|
||||
-- -- Type = "SpiceRotation",
|
||||
-- -- SourceFrame = "IAU_MOON",
|
||||
-- -- DestinationFrame = "GALACTIC"
|
||||
-- -- }
|
||||
-- },
|
||||
Renderable = {
|
||||
Enabled = true,
|
||||
Enabled = false,
|
||||
Type = "RenderableLabels",
|
||||
LabelText = "Saturn",
|
||||
FontSize = 100.0,
|
||||
@@ -81,13 +69,7 @@ local SaturnLabel = {
|
||||
LabelMaxSize = 100.0,
|
||||
LabelMinSize = 1.0,
|
||||
BlendMode = "Additive",
|
||||
LabelOrientationOption = "Camera View Direction",
|
||||
TransformationMatrix = {
|
||||
1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
0.0, 0.0, 0.0, 1.0
|
||||
},
|
||||
LabelOrientationOption = "Camera View Direction"
|
||||
},
|
||||
GUI = {
|
||||
Name = "Saturn Label",
|
||||
|
||||
@@ -45,20 +45,8 @@ local Uranus = {
|
||||
local UranusLabel = {
|
||||
Identifier = "UranusLabel",
|
||||
Parent = Uranus.Identifier,
|
||||
-- Transform = {
|
||||
-- Translation = {
|
||||
-- Type = "SpiceTranslation",
|
||||
-- Target = "EARTH",
|
||||
-- Observer = "EARTH BARYCENTER"
|
||||
-- },
|
||||
-- -- Rotation = {
|
||||
-- -- Type = "SpiceRotation",
|
||||
-- -- SourceFrame = "IAU_MOON",
|
||||
-- -- DestinationFrame = "GALACTIC"
|
||||
-- -- }
|
||||
-- },
|
||||
Renderable = {
|
||||
Enabled = true,
|
||||
Enabled = false,
|
||||
Type = "RenderableLabels",
|
||||
LabelText = "Uranus",
|
||||
FontSize = 100.0,
|
||||
@@ -66,13 +54,7 @@ local UranusLabel = {
|
||||
LabelMaxSize = 100.0,
|
||||
LabelMinSize = 1.0,
|
||||
LabelOrientationOption = "Camera View Direction",
|
||||
BlendMode = "Additive",
|
||||
TransformationMatrix = {
|
||||
1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
0.0, 0.0, 0.0, 1.0
|
||||
},
|
||||
BlendMode = "Additive"
|
||||
},
|
||||
GUI = {
|
||||
Name = "Neptune Label",
|
||||
|
||||
@@ -67,20 +67,8 @@ local Venus = {
|
||||
local VenusLabel = {
|
||||
Identifier = "VenusLabel",
|
||||
Parent = Venus.Identifier,
|
||||
-- Transform = {
|
||||
-- Translation = {
|
||||
-- Type = "SpiceTranslation",
|
||||
-- Target = "EARTH",
|
||||
-- Observer = "EARTH BARYCENTER"
|
||||
-- },
|
||||
-- -- Rotation = {
|
||||
-- -- Type = "SpiceRotation",
|
||||
-- -- SourceFrame = "IAU_MOON",
|
||||
-- -- DestinationFrame = "GALACTIC"
|
||||
-- -- }
|
||||
-- },
|
||||
Renderable = {
|
||||
Enabled = true,
|
||||
Enabled = false,
|
||||
Type = "RenderableLabels",
|
||||
LabelText = "Venus",
|
||||
FontSize = 100.0,
|
||||
@@ -88,13 +76,7 @@ local VenusLabel = {
|
||||
LabelMaxSize = 100.0,
|
||||
LabelMinSize = 1.0,
|
||||
LabelOrientationOption = "Camera View Direction",
|
||||
BlendMode = "Additive",
|
||||
TransformationMatrix = {
|
||||
1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
0.0, 0.0, 0.0, 1.0
|
||||
},
|
||||
BlendMode = "Additive"
|
||||
},
|
||||
GUI = {
|
||||
Name = "Venus Label",
|
||||
|
||||
@@ -31,7 +31,7 @@ local SunLabel = {
|
||||
Identifier = "SunLabel",
|
||||
Parent = Sun.Identifier,
|
||||
Renderable = {
|
||||
Enabled = true,
|
||||
Enabled = false,
|
||||
Type = "RenderableLabels",
|
||||
LabelText = "Sun",
|
||||
FontSize = 100.0,
|
||||
@@ -46,13 +46,7 @@ local SunLabel = {
|
||||
FadeStartSpeed = 1.375,
|
||||
FadeEndUnit = "pc",
|
||||
FadeEndDistance = 1.326,
|
||||
FadeEndSpeed = 1.0,
|
||||
TransformationMatrix = {
|
||||
1.0, 0.0, 0.0, 0.0,
|
||||
0.0, 1.0, 0.0, 0.0,
|
||||
0.0, 0.0, 1.0, 0.0,
|
||||
0.0, 0.0, 0.0, 1.0
|
||||
},
|
||||
FadeEndSpeed = 1.0
|
||||
},
|
||||
GUI = {
|
||||
Name = "Sun Label",
|
||||
|
||||
Reference in New Issue
Block a user