Page 1 of 1

star textures

Posted: 25.11.2008, 18:38
by BobHegwood
Have created a few star textures for use with Celestia but am
having difficulty using the new star textures.

My celestia.cfg data is as follows:

Code: Select all

StarTextures
{
   # This texture will be used for any spectral type not listed
   # in this block.
   Default "astar.jpg"

   O "ostar.jpg"         # O -> Blue
   B "bstar.jpg"         # B -> White-bluish
   A "astar.jpg"         # A -> White
   D "astar.jpg"         # D -> White
   F "fstar.jpg"         # F -> Yellow-white
   G "gstar.jpg"         # G -> Yellow
   K "kstar.jpg"         # K -> Orange
   M "rdstar.jpg"         # M -> Red-orange

   # carbon stars
   C "mstar.jpg"         
   R "mstar.jpg"           # former subclass of carbon star
   N "mstar.jpg"           # former subclass of carbon star
   S "mstar.jpg"           # roughly between M and C

   # Wolf-Rayet stars
   WC "bstar.jpg"
   WN "bstar.jpg"
   
   # brown dwarfs
   L "lstar.jpg"         # L -> Red
   T "bdstar.jpg"         # T -> Dim red
                  # Y -> Planet-like
   # stellar remnants
   WD "astar.jpg"
   NeutronStar "astar.jpg"
}


The problem is that when I go to a "K" type star, I do not see the
specified kstar.jpg texture. I see, rather, a yellow star texture
which is represented with the fstar.jpg file.

What gives?

Re: star textures

Posted: 28.11.2008, 20:39
by BobHegwood
Okay, let me ask this another way...

Does anyone else have problems displaying the appropriate star textures?
I have an orange jpg file for use with K star, but again I can't get these to
display within Celestia. Looks very much as if K stars are using the F star
texture.

Is there something else going on here that I'm missing?
What am I doing wrong?

Thanks, Brain-Dead

Re: star textures

Posted: 28.11.2008, 20:57
by selden
Bob,

It works fine for me.
Did you remember to save your modified celestia.cfg?

I copied medres\gstar.jpg to medres\kstar.jpg and edited it to be filled with a crosshatch pattern.
I edited celestia.cfg to specify K "kstar.*"

When I goto Rigel Kentaurus, I see this:

Re: star textures

Posted: 28.11.2008, 22:03
by BobHegwood
Thanks Selden...

I did finally figure out what was wrong. Apparently, I had the star texture
painted too brightly. When I went back to each star texture and re-painted
each of them using darker colors, the stars displayed themselves as I thought
they should have.

Was an interesting experience though. Could not for the life of me figure
out why my orange texture showed up as what I thought was an F texture.

Apparently, this all has something to do with the graphics settings and
Nvidia control panel.

At any rate, got it fixed now after repainting the stars using much darker
textures. Was an interesting learning experience. :wink:

Again, though, thanks very much for your sage advice.