Disable labels on default

Some small code cleanup
This commit is contained in:
Alexander Bock
2019-12-16 10:26:42 +01:00
parent 87b79c1d8c
commit dfa25b28e6
12 changed files with 129 additions and 268 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",

View File

@@ -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,

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",

View File

@@ -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",