Code To Add To solarsys.ssc

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Code To Add To solarsys.ssc

Post #1by billybob884 » 19.12.2002, 21:04

Hello all, I have been searching the forumfor a while, and I have compiled a list of code that should be added to the solarsys.ssc file to increase the accuracy of Celestia. It is a fairly large list and before I show it I must thank everyone for improving, modifying, and sharing their code. Here it is:
(you should wither add or replace the existing code with this)
Jupiter:
RotationPeriod 9.924920 #revised value: System III - magnetic field
Obliquity 2.22 #revised value
EquatorAscendingNode 337.77 #revised value
RotationOffset 305.40 #correct orientation for map with central prime meridian

Rings {
Inner 92000
Outer 221000
Texture "jupiter-rings.png"
}

Mars:
BumpHeight 55.0
SpecularTexture "mars4k-spec.dds"
SpecularColor [ 0.14 0.12 0.10 ]
SpecularPower 25.5
Color [ 1 0.75 0.7 ]
HazeColor [ 0.28 0.24 0.2 ]
HazeDensity 0.90
Radius 3394
RotationPeriod 24.622962
RotationOffset -43.995
Obliquity 26.72
EquatorAscendingNode 82.91


"Phobos" "Sol/Mars"
{
Mesh "phobos.3ds"
Texture "phobos.jpg"
# BumpMap "phobosbump.jpg"
# BumpHeight 5
Radius 11

EllipticalOrbit
{
Period 0.318910
SemiMajorAxis 9377.2
Inclination 1.075
Eccentricity 0.0151
AscendingNode 164.931
ArgOfPericenter 150.247
MeanAnomaly 92.474
Epoch 2433282.5 #1950 Jan 1.00
}

Obliquity 1.075 #= Inclination
LongOfRotationAxis 164.931 # = AscendingNode
RotationOffset 16.886 # = MeanAnomaly+ArgOfPericenter+[360*FRAC({2451545-Epoch}/Period)]

Albedo 0.07
}

"Deimos" "Sol/Mars"
{
Mesh "deimos.3ds"
Texture "deimos.jpg"
Radius 6

EllipticalOrbit
{
Period 1.262441
SemiMajorAxis 23463.2
Eccentricity 0.00033
Inclination 1.793
AscendingNode 339.600
ArgOfPericenter 290.496
MeanAnomaly 296.230
Epoch 2433282.5 #1950 Jan 1.00
}

Obliquity 1.793 # = Inclination
LongOfRotationAxis 339.600 # = Ascending Node
RotationOffset 234.851 # = MeanAnomaly+ArgOfPericenter+[360*FRAC({2451545-Epoch}/Period)]

Albedo 0.08
}

#...

"Amalthea" "Sol/Jupiter"
{
Texture "asteroid.jpg"
BlendTexture true
Color [ 0.5 0.12 0.16 ]
Mesh "amalthea.3ds"
Radius 124

EllipticalOrbit
{
Epoch 2452583.763194445
Period 0.501637511
SemiMajorAxis 181994.98
Eccentricity 0.0046637841
Inclination 0.39217201
AscendingNode 203.9604966
ArgOfPericenter 293.4707817
MeanAnomaly 319.3794140
}

Obliquity 0.392
EquatorAscendingNode 203.960
RotationOffset 344.914 # = MeanAnomaly+ArgOfPericenter+[360*FRAC({2451545-Epoch}/Period)]

Albedo 0.06
}

#...

"Proteus" "Sol/Neptune"
{
Mesh "proteus.3ds"
Texture "asteroid.jpg"
Radius 218

EllipticalOrbit
{
Period 1.122315
SemiMajorAxis 117647
Eccentricity 0.0004
Inclination 0.039
AscendingNode 150.334
ArgOfPericenter 309.480
MeanAnomaly 114.186
Epoch 2447757 # 1989 Aug 18.50
}

Obliquity 0.039 # = Inclination
LongOfRotationAxis 150.334 # = AscendingNode
RotationOffset 123.609 # = MeanAnomaly+ArgOfPericenter+[360*FRAC({2451545-Epoch}/Period)]

Albedo 0.2
}

"Triton" "Sol/Neptune"
{
Texture "triton.jpg"
Radius 1353
# SpecularColor [ 0.4 0.35 0.55 ]
# SpecularPower 25.0
HazeColor [ 0 0 1 ]
HazeDensity 0.25
Color [ 0.4 0.2 0.4 ]
BumpMap "triton-bump.jpg"
BumpHeight 1.2

Atmosphere {
Height 1
Lower [ 0 0 0.5 ]
Upper [ 0 0 0.5 ]
CloudHeight 0.5
CloudSpeed 0.5
CloudMap "triton-clouds.png"
}

EllipticalOrbit
{
Epoch 2452583.763194445
Period 5.877099455
SemiMajorAxis 354767.045
Eccentricity 0.000036128
Inclination 156.825624
AscendingNode 179.3321840
ArgOfPericenter 340.33983157
MeanAnomaly 351.5204821
}

Obliquity 23.174 # = 180-Inclination
EquatorAscendingNode 359.332 # = 180+AscendingNode
RotationOffset -62.726 # = 180-MeanAnomaly-ArgOfPericenter-[360*FRAC({2451545-Epoch}/Period)]-edge meridian
#for map with 180?W edge meridian

RotationPeriod -141.05038692 # = Period*-24

Albedo 0.7
}

Mercury:
RotationPeriod 1407.509405
Obliquity 7.01
EquatorAscendingNode 48.42

RotationOffset 291.20

Europa:
RotationPeriod 85.22834590

Titan:
RotationPeriod 382.69074184

Miranda:
RotationPeriod 33.92350159

Ariel:
RotationPeriod 60.48909292

Umbriel:
RotationPeriod 99.46022991

Titania:
RotationPeriod 208.94077099

Oberon:
RotationPeriod 323.117567539
Mike M.

TacoTopia!

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 11 months
Location: People's Republic Of Cork, Ireland

Post #2by JackHiggins » 20.12.2002, 22:15

BRILLIANT :D
That's great thanks i've been looking for a list like this for ages- i'm sure there are a lot of other people like me that have been looking for a complete list of all the corrections for orbits etc for ages but haven't been able to find one!!

There are some others that should be mentioned also though- e.g. the orbits for eros & ida are way off according to the XYZ coordinates of NEAR and galileo!!

If anyone wants it i'll put up my elements for the asteroids & comets i've corrected... 8)

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #3by billybob884 » 21.12.2002, 00:13

be my guest...
Mike M.



TacoTopia!

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 11 months
Location: People's Republic Of Cork, Ireland

Post #4by JackHiggins » 21.12.2002, 00:54

"Gaspra" "Sol" # 951 Gaspra
{
Class "asteroid"
Mesh "gaspra.3ds"
Texture "asteroid.jpg" # texture for gaspra available from phil stooke's site
Color [ 0.52 0.47 0.42 ]
BlendTexture true

Radius 9.5

EllipticalOrbit
{
Epoch 2448180.5
Period 3.28373
SemiMajorAxis 2.209222398352902
Eccentricity 0.173985422261432
Inclination 4.098085719644423
AscendingNode 253.4448568381975
ArgOfPericenter 129.1175137043066
MeanAnomaly 167.0917383835226
}

RotationPeriod 7.042
Albedo 0.1
}


"Ida" "Sol"
{
Class "asteroid"
Mesh "ida.3ds"
Texture "asteroid.jpg" # texture for ida available from phil stooke's site
Radius 45

EllipticalOrbit
{
Epoch 2448561.5
Period 4.83915
SemiMajorAxis 2.860928539936562
Eccentricity 0.04194285678501715
Inclination 1.141067841949939
AscendingNode 324.7261856426275
ArgOfPericenter 111.3457380352988
MeanAnomaly -2.433059429054076
}

RotationPeriod 4.634
#RotationOffset 0
Albedo 0.238
}


"Eros" "Sol" # 433 Eros
{
Class "asteroid"
Mesh "eros.3ds"
Texture "asteroid.jpg" # texture for eros available from phil stooke's site
Color [ 0.51 0.47 0.42 ]
BlendTexture true
Radius 9.69
EllipticalOrbit
{
Period 1.76099
SemiMajorAxis 1.458251586534427
Eccentricity 0.222907295513559
Inclination 10.82944457217828
AscendingNode 304.4109300841531
ArgOfPericenter 178.6283717849054
MeanAnomaly -69.72982531065838
Epoch 2451960.5
}
Albedo 0.12
RotationPeriod 5.270
}



# Comets
"Halley" "Sol"
{
Class "comet"
Mesh "asteroid.cms"
Texture "asteroid.jpg" # texture for halley available from phil stooke's site
Radius 5.6

EllipticalOrbit
{
Period 75.31589
SemiMajorAxis 17.83414429255367
Eccentricity 0.9671429084623043
Inclination 162.2626905791606
AscendingNode 58.42008097656843
ArgOfPericenter 111.3324851045177
MeanAnomaly 38.384264476437
Epoch 2449400.5
}

RotationPeriod 170 # Guess; see http://www.lpi.usra.edu/meetings/dps97/ ... H2918.html
Albedo 0.04
}


"Borrelly" "Sol"
{
Class "comet"
Mesh "borrelly.cms"
Texture "asteroid.jpg"
Radius 5.2

EllipticalOrbit
{
Period 6.86302
SemiMajorAxis 3.611363508168788
Eccentricity 0.6239084847276573
Inclination 30.32461189447627
AscendingNode 75.42486936382598
ArgOfPericenter 353.3753852064419
MeanAnomaly -1.0439095869805
Epoch 2452174.5
}

RotationPeriod 170 #
Albedo 0.04
}


#Centaurs

"Chiron" "Sol" # 2060 Chiron
{
Class "asteroid"
Radius 144

EllipticalOrbit
{
Period 50.90359
SemiMajorAxis 13.73494124902007
Eccentricity 0.3844236207961915
Inclination 6.927770773236274
AscendingNode 209.3951883676552
ArgOfPericenter 339.4321516460992
MeanAnomaly -10.01633159124354
Epoch 2449608.5
}

RotationPeriod 5.918
Albedo 0.048
}


# TNO's



"Varuna" "Sol" # 20000 Varuna
{
Class "asteroid"
Texture "asteroid.jpg"
Radius 100

EllipticalOrbit
{
Period 284.83446
SemiMajorAxis 43.290196
Eccentricity 0.053794
Inclination 17.12557
AscendingNode 97.2843
ArgOfPericenter 275.5744
MeanAnomaly 82.67171
Epoch 2452400.5
}

RotationPeriod 6.34
Albedo 0.4
}


"Ixion" "Sol" # 28978 Ixion- in solarsys.ssc this is called 2001 KX76- it has been named since I guess..
{
Class "asteroid"
Texture "asteroid.jpg"
Radius 100

EllipticalOrbit
{
Period 246.50564
SemiMajorAxis 39.3138672
Eccentricity 0.2447032
Inclination 19.68326
AscendingNode 71.0155
ArgOfPericenter 300.9234
MeanAnomaly 259.585
Epoch 2452400.5
}

Albedo 0.07

RotationPeriod 30.0
}

Bear in mind these are only the ones that had some special interest- i haven't even looked at most of the other ones in solarsys.ssc so many of the other ones could be incorrect also...

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #5by billybob884 » 21.12.2002, 01:13

WOW!
Mike M.



TacoTopia!

Darkmiss
Posts: 1059
Joined: 20.08.2002
With us: 22 years 3 months
Location: London, England

Post #6by Darkmiss » 21.12.2002, 02:38

Where might I find this "phil stooke's site"
for some of the asteriod textures ?
CPU- Intel Pentium Core 2 Quad ,2.40GHz
RAM- 2Gb 1066MHz DDR2
Motherboard- Gigabyte P35 DQ6
Video Card- Nvidia GeForce 8800 GTS + 640Mb
Hard Drives- 2 SATA Raptor 10000rpm 150GB
OS- Windows Vista Home Premium 32

Guest

Post #7by Guest » 21.12.2002, 04:09


Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #8by billybob884 » 18.01.2003, 20:56

finished a new list of code to add for the new 1.2.5 version. kinda small, but its something. But first, one suggestion I have: instead of putting so many asteroids in the solarsys.ssc file, why not make a seperate file in the extras directory to use? Anyway, here it is:
Jupiter:
RotationPeriod 9.927953 # System II (for GRS)
# RotationPeriod 9.924920 # System III (radio emissions)
Obliquity 2.222461
EquatorAscendingNode -22.203
RotationOffset 16 #jupiter.jpg
# RotationOffset 305.40 # System III

Rings {
Inner 92000
Outer 221000
Texture "jupiter-rings.png"
}

Mars:
BumpHeight 55.0
SpecularTexture "mars4k-spec.dds"
SpecularColor [ 0.14 0.12 0.10 ]
SpecularPower 25.5

Triton:
# SpecularColor [ 0.4 0.35 0.55 ]
# SpecularPower 25.0
HazeColor [ 0 0 1 ]
HazeDensity 0.25
Color [ 0.4 0.2 0.4 ]
BumpMap "triton-bump.jpg"
BumpHeight 1.2

CloudHeight 0.5
CloudSpeed 0.5
CloudMap "triton-clouds.png"

Europa:
RotationPeriod 85.22834590

Titan:
RotationPeriod 382.69074184

"Ixion" "Sol" # 28978 Ixion- in solarsys.ssc this is called 2001 KX76- it has been named since I guess..
{
Class "asteroid"
Texture "asteroid.jpg"
Radius 100

EllipticalOrbit
{
Period 246.50564
SemiMajorAxis 39.3138672
Eccentricity 0.2447032
Inclination 19.68326
AscendingNode 71.0155
ArgOfPericenter 300.9234
MeanAnomaly 259.585
Epoch 2452400.5
}

Albedo 0.07

RotationPeriod 30.0
}

Neptune:
Rings
{
Inner 41900
Outer 62983
Texture "neptune-rings.png"
}
Mike M.



TacoTopia!


Return to “Development”