Page 1 of 1

Chrome settings

Posted: 07.06.2005, 01:38
by TourqeGlare
Can anyone create a patch or something that gives Celestia reflective serfaces? A chrome planet with clouds would be cool!

Posted: 07.06.2005, 05:34
by TourqeGlare
This is the best ive gotten and I
like the effect, but i cant see China and such.

Image

Posted: 07.06.2005, 05:36
by TourqeGlare
The texture.

Image

Posted: 07.06.2005, 08:53
by selden
When a surface is shiny, it is said to have "specular reflections" -- that means "mirrorlike reflections". Celestia can sort of simulate that if you use these declarations in an SSC file:

Code: Select all

SpecularTexture "[i]imagefilename[/i]"
SpecularColor [ [i]color[/i] ]
SpecularPower [i]number[/i]


Use your image as the SpecularTexture. White areas are considered reflective. Black are not.
Celestia won't actually draw reflections, but it'll draw a highlight of the specified SpecularColor (3 numeric values: 1 each for red, green and blue) to simulate the sun glinting off the surface with its brightness proportional to the SpecularPower.

This is done for the Earth's oceans in solarsys.ssc, where it's using the Alpha channel of earth.png as the specular texture. You can use your texture to reverse that.