Page 1 of 1

New documentation for 1.6.0

Posted: 20.06.2008, 18:20
by chris
I've updated the documentation on some of the new features coming in version 1.6.0. This page is targeted at add-on creators who are making and modifying ssc, stc, and dsc files:

http://en.wikibooks.org/wiki/Celestia/160Files

The newly written section explains position+velocity trajectories:

http://en.wikibooks.org/wiki/Celestia/1 ... v_files.29

If you notice mistakes or see items that need more clarification, please feel free to edit the Wiki page yourself. Or if you'd prefer, just respond to this thread.

--Chris

Re: New documentation for 1.6.0

Posted: 21.06.2008, 00:06
by symaski62
TY :mrgreen: r4367-celestia.exe

http://ssd.jpl.nasa.gov/horizons.cgi

Ephemeris Type [change] : VECTORS
Target Body [change] : Deep Impact Flyby - EPOXI Spacecraft (EPOXI) [-140]
Coordinate Origin [change] : Sun (body center) [500@10]
Time Span [change] : Start=2008-06-20, Stop=2008-07-20, Step=1 d
Table Settings [change] : output units=KM-S; quantities code=2
Display/Output [change] : default (formatted HTML)


TEST.SSC

Code: Select all

"test" "Sol"
{
    Class "spacecraft"
    Radius 0.04

    Beginning "2008 6 20 00:00"
    Ending    "2008 7 20 00:00"

    SampledTrajectory { Source "test.xyzv" }

}


test.xyzv

Code: Select all

2454637.500000000
   4.812650549880315E+07 -1.440310894768810E+08 -1.807814307603605E+06
   2.844420700414104E+01  6.822449996650315E+00 -2.146097812111427E+00
2454638.500000000
   5.057717330610424E+07 -1.434213202912410E+08 -1.992973145485781E+06
   2.828299779209273E+01  7.291903427999650E+00 -2.139890113681603E+00
.
.
.
.
.
.
2454666.500000000
   1.113648440460375E+08 -1.114142953870678E+08 -6.783602141769439E+06
   2.122113355185340E+01  1.850474891674625E+01 -1.758331374706610E+00
2454667.500000000
   1.131842156474496E+08 -1.098014900299781E+08 -6.934659255175412E+06
   2.089324159697111E+01  1.882774875101050E+01 -1.738298366459309E+00

Re: New documentation for 1.6.0

Posted: 21.06.2008, 00:35
by BobHegwood
Well, obviously I haven't been keeping up with all of the pre-releases, but I am especially delighted to see some of the new classes of objects, and their associated parameters. minormoon, surfacefeature and dwarfplanet are all very interesting to me personally. Thanks very much for this preview of things to come. :wink:

Re: New documentation for 1.6.0

Posted: 21.06.2008, 13:50
by symaski62
:idea: ROSETTA (Spacecraft)

test.xyzv 01/11/2009 & 30/11/2009 (1 heure)

test.ssc

Code: Select all

"ROSETTA" "Sol"
{
    Class "spacecraft"
    Radius 0.04

    SampledTrajectory { Source "test.xyzv" }

}



------------------------------------------------------


earth.xyzv 01/11/2009 & 30/11/2009 (6 heures)


solarsys.ssc
"Earth" "Sol"
{
Texture "earth.*"
NightTexture "earthnight.*"

# SpecularTexture "earth-spec.*"
Color [ 0.85 0.85 1.0 ]
SpecularColor [ 0.8 0.8 0.85 ]
SpecularPower 25.0
HazeColor [ 1 1 1 ]
HazeDensity 0.3
Radius 6378.140 # equatorial
# Oblateness 0.0034

Atmosphere {
Height 60
Lower [ 0.43 0.52 0.65 ]
Upper [ 0.26 0.47 0.84 ]
Sky [ 0.40 0.6 1.0 ]
Sunset [ 1.0 0.6 0.2 ]
CloudHeight 7
CloudSpeed 65
CloudMap "earth-clouds.*"

Mie 0.001
MieAsymmetry -0.25
Rayleigh [ 0.001 0.0025 0.006 ]
MieScaleHeight 12
}

SampledTrajectory { Source "earth.xyzv" }

#CustomOrbit "vsop87-earth"
#EllipticalOrbit {
# Period 1.0000
# SemiMajorAxis 1.0000
# Eccentricity 0.0167
# Inclination 0.0001
# AscendingNode 348.739
# LongOfPericenter 102.947
# MeanLongitude 100.464
#}

# Very approximate precession for Earth
# PrecessingRotation
# {
# Period 23.9344694
# Inclination -23.4392911
# Offset 280.5 # offset at default epoch J2000
# PrecessionPeriod 26000
# }

UniformRotation
{
Period 23.9344694
Inclination -23.4392911
MeridianAngle 280.5 # offset at default epoch J2000
}

Albedo 0.30
}


(YES XYZV) EARTH <= 1413.4 km => ROSETTA (YES XYZV)

------------------------------------------------------------------

(NO XYZV) EARTH <= 1413.4 km => ROSETTA (YES XYZV)


:)