Double Planets
Posted: 07.08.2004, 19:23
I'm trying to be clever and build a double planet system as shown on Grant Hutchison's site http://www.lns.cornell.edu/~seb/celestia/hutchison/invisible-130.html
Though the orbits show up as does the barycenter my worlds don't
here is the code I've been working on and to my eyes it all seems correct, but obviously it isn't
"barycenter" "EPS Ind"
{
Class "invisible"
EllipticalOrbit
{
Period 0.01
SemiMajorAxis 0.0981275
Eccentricity 6.959035E-02
Inclination-5.262652
AscendingNode 38.5663
LongOfPericenter 357.849
MeanLongitude 185.1059
}
RotationPeriod 608.667
Obliquity 0.8478401
RotationOffset 100.781
Albedo 0.0
}
"GHANDI" "EPS Ind/barycenter"
{
Texture "negsoa.jpg"
# Texture "earth8k.dds"
NightTexture "negsoanight.jpg"
# SpecularTexture "earthspec2k.jpg"
Color [ 0.85 0.85 1.0 ]
SpecularColor [ 0.5 0.5 0.55 ]
SpecularPower 25.0
HazeColor [ 1 1 1 ]
HazeDensity 0.3
Radius 6378
# Oblateness 0.003
Atmosphere {
Height 60
Lower [ 0.30 0.52 0.65 ]
Upper [ 0.26 0.47 0.84 ]
Sky [ 0.30 0.48 0.82 ]
CloudHeight 7
CloudSpeed 65
CloudMap "earth-clouds.png"
}
EllipticalOrbit {
Period 20.5
SemiMajorAxis 45000
Eccentricity 0.5
ArgOfPericenter 180
MeanLongitude 90
}
RotationPeriod 23.9344694 # 23.93419
Obliquity -23.45
RotationOffset 280.5 # offset at default epoch J2000
Albedo 0.30
}
"Shiantiag Xing " "EPS Ind/barycenter"
{
Texture "blee2.jpg"
NightTexture "blee2night.jpg"
Mass 1520
Radius 8249
EllipticalOrbit
{
Period 20.5 # Periods must be the same
SemiMajorAxis 360000
Eccentricity 0.5 # Eccentricities must be the same
ArgOfPericenter 0 # Pericenters opposite each other
MeanLongitude 270 # Longitudes opposite each other
}
RotationPeriod 20.65622
Obliquity 0.0
RotationOffset 322.9
Albedo 0.99
}
Here's a pic of what else I've been doing. I made the space habitat myself it Anim8tor....aren't I clever
Though the orbits show up as does the barycenter my worlds don't
here is the code I've been working on and to my eyes it all seems correct, but obviously it isn't
"barycenter" "EPS Ind"
{
Class "invisible"
EllipticalOrbit
{
Period 0.01
SemiMajorAxis 0.0981275
Eccentricity 6.959035E-02
Inclination-5.262652
AscendingNode 38.5663
LongOfPericenter 357.849
MeanLongitude 185.1059
}
RotationPeriod 608.667
Obliquity 0.8478401
RotationOffset 100.781
Albedo 0.0
}
"GHANDI" "EPS Ind/barycenter"
{
Texture "negsoa.jpg"
# Texture "earth8k.dds"
NightTexture "negsoanight.jpg"
# SpecularTexture "earthspec2k.jpg"
Color [ 0.85 0.85 1.0 ]
SpecularColor [ 0.5 0.5 0.55 ]
SpecularPower 25.0
HazeColor [ 1 1 1 ]
HazeDensity 0.3
Radius 6378
# Oblateness 0.003
Atmosphere {
Height 60
Lower [ 0.30 0.52 0.65 ]
Upper [ 0.26 0.47 0.84 ]
Sky [ 0.30 0.48 0.82 ]
CloudHeight 7
CloudSpeed 65
CloudMap "earth-clouds.png"
}
EllipticalOrbit {
Period 20.5
SemiMajorAxis 45000
Eccentricity 0.5
ArgOfPericenter 180
MeanLongitude 90
}
RotationPeriod 23.9344694 # 23.93419
Obliquity -23.45
RotationOffset 280.5 # offset at default epoch J2000
Albedo 0.30
}
"Shiantiag Xing " "EPS Ind/barycenter"
{
Texture "blee2.jpg"
NightTexture "blee2night.jpg"
Mass 1520
Radius 8249
EllipticalOrbit
{
Period 20.5 # Periods must be the same
SemiMajorAxis 360000
Eccentricity 0.5 # Eccentricities must be the same
ArgOfPericenter 0 # Pericenters opposite each other
MeanLongitude 270 # Longitudes opposite each other
}
RotationPeriod 20.65622
Obliquity 0.0
RotationOffset 322.9
Albedo 0.99
}
Here's a pic of what else I've been doing. I made the space habitat myself it Anim8tor....aren't I clever