How to Celestia (Documentation)

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Starfighter
Posts: 18
Joined: 08.03.2002
With us: 22 years 6 months
Location: France

How to Celestia (Documentation)

Post #1by Starfighter » 22.07.2002, 07:44

Existe t'il une documentation de l'environement de Celestia, comment ajouter une galaxie, des syst?mes des plan?tes des ?toiles, etc...
si possible avec un schema.
en faite a quoi correspond toutes les infos dans les fichier scc, dat...

car je voudrais en faire un avec les informations que l'on pourrais me donner.

merci

Where i found a documentation for developpement of an galaxie in celestia whith the description of file SCC, DAT... with a schematic.

because i want create this whith informations what i can found.

Thank you.

Topic author
Starfighter
Posts: 18
Joined: 08.03.2002
With us: 22 years 6 months
Location: France

Post #2by Starfighter » 25.07.2002, 06:47

Voici une premi?re recherche, merci MB

Galaxie.dat

Type : Enum?ration
Sba Spirale
...
RA ascension droite entre 0 et 24 heure
Dec d?clinaison entre -90° et +90° ne serais pas de 0 ? 360° ?
Distance distance par rapport ? l'origine en ?
Radius Rayon en ?
Axis [ 0.0 0.0 0.0 ] orientation de l'axe de la spirale entre -1 et 1
Angle angle par rapport ? l'origine entre 0 et 360°

stars.dat Import/Export XML avec CStarsConv.exe (Windows ou Java)
ID Catalogue Hipparcos/Hipparcos catalogue num?rique(entier)
RA Ascension droit/Right Ascension en heure
12h 30m donne 12.5
DE D?clinaison/Declination en ?
LY ? en ?
CL Classe de l’?toile/Stellar class 4 octet
4 3 2 1
Octet 4 :
Normal: 0
White dwarf: 1
Neutron star: 2
Black hole: 3
Octet 3:
O: 0
B: 1
A: 2
F: 3
G: 4
K: 5
M: 6
R: 7
S: 8
N: 9
WC: 10
WN: 11
Unknown: 12
Octet 2: Sous classe/Subclass
De 0 ? 9
Octet 1: luminosit? de la classe/Luminosity class:
Ia-0 (supergiant) : 0
Ia (supergiant) : 1
Ib (supergiant) : 2
II (bright giant) : 3
III (giant) : 4
IV (subgiant) : 5
V (dwarf, main-sequence star) : 6
VI (subdwarf) : 7
Le soleil est G2V ce qui donne 0426
Betelguese est M1 Ia ce qui donne 0611
HD Catalogue "HP"/"HP" catalogue num?rique(entier)
PA Parallaxe/Parallax en seconde
AM Magnitude apparente/Apparent Magnitude en ?
PE Erreur du Parallaxe/Parallax error en ?

Si vous avez des informations, mettez le sur ce post, ca centraliseras la doc.
If you have more information, post it this for centrelized documentation.

[/img]

Topic author
Starfighter
Posts: 18
Joined: 08.03.2002
With us: 22 years 6 months
Location: France

Post #3by Starfighter » 25.07.2002, 11:50

Calcul de la position
Theta= RA / 24.0 * PI * 2 + PI
Phi = (DEC / 90.0 - 1.0) * PI / 2
x = cos(Theta) * sin(Phi) * DISTANCE
y = cos(Phi) * DISTANCE
z = -sin(Theta) * sin(Phi) * DISTANCE

pour stars.dat :
Distance = 3.26167 / (PA > 0 alors PA / 1000 sinon 1e-6)

Guest

Manuel

Post #4by Guest » 25.07.2002, 23:45

Je viens enfin de finir un manuel que j'?tais en train d'?crire d?crivant en d?tail tous les ?l?ments intervenant dans les fichiers ssc. J'ai essay? de mettre tous les renseignements que j'ai pu r?cup?r?, il peut donc paraitre assez touffu mais j'esp?re qu'il pourra t'?tre utile ainsi qu'? tous ceux qui le d?sirent (je n'ai pas encore eu le temps de le mettre sur un site, je ne peut donc que l'envoyer par e-mail pour l'instant).
Et si quelqu'un d'assez bon en anglais voulait le traduire cela m'arrangerait ?norm?ment !

Now the translation. I've just finished a detailed manual describing the ssc file format and anyone interested can receive it by e-mail as I haven't had enough time to put it on a site. The only problem is that you will have to speak french as I haven't done the translation now (if anyone is interested into doing it, all help is accepted !).

My e-mail : t_guilpain@hotmail.com

Topic author
Starfighter
Posts: 18
Joined: 08.03.2002
With us: 22 years 6 months
Location: France

Post #5by Starfighter » 26.07.2002, 07:12

Ca m'interresse, peux tu me l'envoyer?


Return to “Development”