mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-21 20:09:00 -05:00
Make new trail default and change the colors
This commit is contained in:
@@ -16,7 +16,6 @@ local toggle_trail = {
|
||||
|
||||
local launchTrail = "JWSTTrailLaunch"
|
||||
local cruiseTrail = "JWSTTrailCruise"
|
||||
local orbitTrail = "JWSTTrailOrbit"
|
||||
local coRotOrbitTrail = "JWSTTrailCoRotOrbit"
|
||||
|
||||
local visibility
|
||||
@@ -32,7 +31,6 @@ local toggle_trail = {
|
||||
visibility = not (
|
||||
openspace.getPropertyValue("Scene." .. launchTrail .. ".Renderable.Enabled") or
|
||||
openspace.getPropertyValue("Scene." .. cruiseTrail .. ".Renderable.Enabled") or
|
||||
openspace.getPropertyValue("Scene." .. orbitTrail .. ".Renderable.Enabled") or
|
||||
openspace.getPropertyValue("Scene." .. coRotOrbitTrail .. ".Renderable.Enabled")
|
||||
)
|
||||
end
|
||||
@@ -45,10 +43,6 @@ local toggle_trail = {
|
||||
"Scene." .. cruiseTrail .. ".Renderable.Enabled",
|
||||
visibility
|
||||
)
|
||||
openspace.setPropertyValueSingle(
|
||||
"Scene." .. orbitTrail .. ".Renderable.Enabled",
|
||||
visibility
|
||||
)
|
||||
openspace.setPropertyValueSingle(
|
||||
"Scene." .. coRotOrbitTrail .. ".Renderable.Enabled",
|
||||
visibility
|
||||
|
||||
@@ -101,7 +101,7 @@ local JWSTTrailOrbit = {
|
||||
Frame = 'GALACTIC',
|
||||
Kernels = { kernels .. "webb.bsp" }
|
||||
},
|
||||
Color = { 0.9, 0.9, 0.0 },
|
||||
Color = { 0.863, 0.0, 0.902 },
|
||||
Period = 182.621099, -- About 6 months
|
||||
Resolution = 183 -- About a sample rate of once per day
|
||||
},
|
||||
@@ -133,7 +133,7 @@ local JWSTTrailCoRotOrbit = {
|
||||
Frame = 'L2_COROT',
|
||||
Kernels = { kernels .. "webb.bsp" }
|
||||
},
|
||||
Color = { 0.9, 0.0, 0.9 },
|
||||
Color = { 1.0, 0.663, 0.157 },
|
||||
Period = 182.621099, -- About 6 months
|
||||
Resolution = 183 -- About a sample rate of once per day
|
||||
},
|
||||
|
||||
@@ -294,6 +294,11 @@
|
||||
"type": "setPropertyValueSingle",
|
||||
"value": "false"
|
||||
},
|
||||
{
|
||||
"name": "Scene.JWSTTrailOrbit.Renderable.Enabled",
|
||||
"type": "setPropertyValueSingle",
|
||||
"value": "false"
|
||||
},
|
||||
{
|
||||
"name": "Scene.JWSTSunTrail.Renderable.Enabled",
|
||||
"type": "setPropertyValueSingle",
|
||||
|
||||
Reference in New Issue
Block a user