I know that timelines were implemented in the ssc codes for the default spacecraft in the default Celestia installations.
My question is, is it possible to use it for planets and moons as well, beyond orbital and rotational mechanics?
I have a planet, and I want to implement changes in the planet itself, such as losing its rings when it gets too close to its sun, and its moons losing their ices (going from an icy appearance to a rocky appearance, possibly shrinking in the process), or a moon being terraformed over time, and so forth....
How do I use the timeline feature?
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
-
Topic authorPlutonianEmpire
- Posts: 1374
- Joined: 09.09.2004
- Age: 40
- With us: 20 years 2 months
- Location: MinneSNOWta
- Contact:
How do I use the timeline feature?
Terraformed Pluto: Now with New Horizons maps! :D
Re: How do I use the timeline feature?
Sorry: a quick test reveals that Timeline works only for orbit and orientation, not for the other SSC parameters.
When apparent shape changes are needed, you'll have to use separate objects with their own Beginning and Ending statements for those different objects.
p.s. I've used ScriptedOrbit to cause periodic changes in appearance. Separate object definitions are still needed, but it reduces the number of objects to just those needed to define the different shapes.
When apparent shape changes are needed, you'll have to use separate objects with their own Beginning and Ending statements for those different objects.
p.s. I've used ScriptedOrbit to cause periodic changes in appearance. Separate object definitions are still needed, but it reduces the number of objects to just those needed to define the different shapes.
Selden
Re: How do I use the timeline feature?
Here's an example using Timeline to change a moon's apparent size.
Code: Select all
"InflatingMoon" "Sol/Earth"
{
Radius 1
Mesh "invisible.cmod"
Color [ 0 0 1 ]
OrbitFrame { EquatorJ2000 { Center "Sol/Earth" } }
EllipticalOrbit { SemiMajorAxis 30000 Period 1 }
FixedRotation { Inclination 270 AscendingNode 90 }
}
"BigMoon" "Sol/Earth"
{
Radius 0.9
Color [ 0 1 0 ]
Timeline [
# Phase 1: small -- invisible inside planet
{
Ending "2010 3 12 15:30"
OrbitFrame { EquatorJ2000 { Center "Sol/Earth" } }
EllipticalOrbit { SemiMajorAxis 0 Period 1 }
FixedRotation { Inclination 90 AscendingNode 90 }
}
# Phase 2: inflated -- on orbit
{
Ending "2010 3 13 15:30"
OrbitFrame { EquatorJ2000 { Center "Sol/Earth" } }
EllipticalOrbit { SemiMajorAxis 30000 Period 1 }
FixedRotation { Inclination 270 AscendingNode 90 }
}
# Phase 3: small
{
OrbitFrame { EquatorJ2000 { Center "Sol/Earth" } }
EllipticalOrbit { SemiMajorAxis 0 Period 1 }
FixedRotation { Inclination 90 AscendingNode 90 }
}
]
}
"SmallMoon" "Sol/Earth"
{
Radius 0.1
Color [ 1 1 0 ]
Timeline [
# Phase 1: small -- on orbit
{
Ending "2010 3 12 15:30"
OrbitFrame { EquatorJ2000 { Center "Sol/Earth" } }
EllipticalOrbit { SemiMajorAxis 30000 Period 1 }
FixedRotation { Inclination 90 AscendingNode 90 }
}
# Phase 2: inflated -- invisible inside planet
{
Ending "2010 3 13 15:30"
OrbitFrame { EquatorJ2000 { Center "Sol/Earth" } }
EllipticalOrbit { SemiMajorAxis 0 Period 1 }
FixedRotation { Inclination 270 AscendingNode 90 }
}
# Phase 3: small
{
OrbitFrame { EquatorJ2000 { Center "Sol/Earth" } }
EllipticalOrbit { SemiMajorAxis 30000 Period 1 }
FixedRotation { Inclination 90 AscendingNode 90 }
}
]
}
Selden
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
Re: How do I use the timeline feature?
--- edit ---