However, I can't get it to precess properly, where the poles of the planet would rotate around the polar axis of the planet's orbit.
I've tried using reference frames, such as TwoVector, and other techniques, but none of them work.
Here's the full, unmodified code for the planet, before my attempts to implement precession:
Code: Select all
"Belle Hades" "DEL Tri" {
Texture "bellehades21b.png"
NightTexture "bellehades21-night.png"
BumpMap "bellehades21b-bump.png"
BumpHeight 0.5
Color [ 0.85 0.85 1.00 ]
HazeColor [ 0.40 0.60 1.00 ]
HazeDensity 0.750
Radius 5672.6753
Mass 0.71
SpecularTexture "bellehades21-spec.png"
SpecularColor [ 0.80 0.80 0.85 ]
SpecularPower 25
Atmosphere {
Height 67
Lower [ 0.40 0.60 1.00 ]
Upper [ 0.00 0.00 0.50 ]
Sky [ 0.20 0.40 1.00 ]
CloudHeight 7
CloudSpeed 45.000
CloudMap "bellehades-clouds.png"
Mie 0.0012
MieAsymmetry -0.26
Rayleigh [ 0.001 0.0025 0.006 ]
MieScaleHeight 13.5
}
EllipticalOrbit {
Period 0.90862422997946611909650924024641
SemiMajorAxis 1.1395600028081014
Eccentricity 0.0127
Inclination 57.2232
AscendingNode 123.5636
ArgOfPericenter 26.8286
MeanAnomaly 286.4439
}
RotationPeriod 26.0431
EquatorAscendingNode 123.0612
Obliquity 76.6284
#Obliquity 58.8232
Albedo 0.32
}
And here's the TwoVector reference frame I tried:
Code: Select all
BodyFrame {
TwoVector {
Center "DEL Tri/Belle Hades"
Primary {
Axis "y"
RelativePosition { Target "DEL Tri" }
}
Secondary {
Axis "-x"
RelativeVelocity { Target "DEL Tri" }
}
}
}
And the precession model:
Code: Select all
PrecessingRotation {
Period 26.0431
PrecessionPeriod 21000
Inclination 19.4052
AscendingNode 123.0612
MeridianAngle 328.2107
Epoch "2012 12 21 17:00:00"
}
The problem with this setup should be obvious once displayed in Celestia. There's a few other reference frames I tried, but none of them worked. I'm using Celestia 1.6.0 .