Page 1 of 1

How do you add more stellar classes in Celestia?

Posted: 17.05.2019, 22:28
by Joey P.
How do you add more stellar classes in Celestia? I want to add other Wolf-Rayet subtypes and have separate textures for type B and late K-type stars. Thanks!

Posted: 18.05.2019, 01:20
by SpaceFanatic64
You can't, as far as I know.

Posted: 18.05.2019, 08:10
by onetwothree
Indeed, stellar classes are hardcoded

Posted: 18.05.2019, 11:12
by pirogronian
onetwothree wrote:Indeed, stellar classes are hardcoded

What obviously should be changed, but not until we are finish our current tasks or someone else come to help.

Posted: 18.05.2019, 16:32
by Sirius_Alpha
My understanding is that you can't as well. It would be nice to see this improved though, especially with spectral type Y objects being a thing now, as well as free-floating planetary-mass objects.

Posted: 20.05.2019, 23:34
by Joey P.
If you try to assign a star a class in an .stc file that is not O, B, A, F, G, K, M, R, N, S, W, white dwarf, neutron star, or black hole, it will be assigned the class ? and will be given the default A-class texture.

Posted: 21.05.2019, 18:03
by onetwothree
It will be a "Normal star with unknown parameters", dunno about texture, I'm too lazy to check the source code.

Posted: 27.05.2019, 15:46
by Kilo_SSK
Yes, that's what I wanted to ask, if you can't create a whole new class, isn't it possible to weasel through the preexisting categories and create something appropriate for your needs going from something that's already present?

Posted: 08.06.2019, 06:30
by Joey P.
I would also like to add hypothetical stars, such as H-type (frozen stars), Planck stars, and quark stars.

As for the Quasi-star, it can simply be made by renaming X Cygni (HIP 102276).

Thorne-Zytkow object

Posted: 08.06.2019, 21:15
by Joey P.
you can, however, without modifying any of the stellar classes, add a Thorne-Zytkow object (a star, usually a red giant, with a neutron star as a core):

Code: Select all

"Thorne-Zytkow object:TZO"
{
   RA 107.7430367
   Dec -77.7775654
   Distance 772
   SpectralType "M1III"
   AppMag 2.18
   Radius 13924000
}

"Thorne-Zytkow core"
{
   RA 107.7430367
   Dec -77.7775654
   Distance 772
   SpectralType "Q"
   AppMag 20
   Radius 12
   Texture "bstar.*"
}

Posted: 12.07.2021, 12:05
by Droopy Angora
Also looking forward to this. The DarkerStarTextures mod is one good step to having O, F and K class stars look more realistic, that is if you run Celestia on Windows or at least desktop/laptop OSs. But about adding new star classes, only the dev team could do so...

The big advantage of Celestia as a scientific tool is the possibility of simulating an astronomically realistic universe, so I totally agree with adding those new types of stars into the source code of the app. Adding other hypothetical bodies could be great also, who never dreamed of travelling around a quark star ?

Posted: 12.07.2021, 14:37
by SevenSpheres
Droopy Angora, reviving a 2 year old thread is necroposting, which is discouraged here. I'm not sure what star classes you're suggesting should/will be added, but spectral classes Y and WO have already been added, and quark stars (which you mention) can just be defined as neutron stars.