star textures

Report bugs, bug fixes and workarounds here.
Topic author
BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

star textures

Post #1by BobHegwood » 25.11.2008, 18:38

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?
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Topic author
BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: star textures

Post #2by BobHegwood » 28.11.2008, 20:39

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
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: star textures

Post #3by selden » 28.11.2008, 20:57

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:
Selden

Topic author
BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: star textures

Post #4by BobHegwood » 28.11.2008, 22:03

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.
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN


Return to “Bugs”