Help fixing earth textures

Tips for creating and manipulating planet textures for Celestia.
Topic author
jgrillo2002
Posts: 132
Joined: 26.07.2002
Age: 38
With us: 22 years 4 months
Location: New York, USA

Help fixing earth textures

Post #1by jgrillo2002 » 05.03.2003, 21:04

Hi, I have a 8K I belive & I have reflections but the reflection also shows on the land. here is the code of the earth

note: I put a different name. its called Terra

Code: Select all

"Terra" "Sol"
{
   Texture "earth.png"
   # Texture "earth-spec.dds"
   NightTexture "earthnight.jpg"
   
   # SpecularTexture "earth-spec.dds"
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.5 0.5 0.55 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Radius 6378
   # Oblateness 0.003

   # BumpMap "earthbump.jpg"
   # BumpHeight 4.5

   Atmosphere {
      Height 60
      Lower [ 0.5 0.5 0.65 ]
      Upper [ 0.3 0.3 0.6 ]
      Sky [ 0.3 0.6 0.9 ]
      CloudHeight 7
      CloudSpeed 65
      CloudMap "earth-clouds.dds"
   }

   CustomOrbit "vsop87-earth"
   EllipticalOrbit {   
      Period            1.0000
      SemiMajorAxis     1.0000
      Eccentricity      0.0167
      Inclination       0.0001
      AscendingNode   348.739
      LongOfPericenter 102.947
           MeanLongitude   100.464
   }

   RotationPeriod   23.9344694 # 23.93419
   RotationOffset   280.5    # offset at default epoch J2000
   Obliquity        -23.45
   Albedo            0.30
}

bh
Posts: 1547
Joined: 17.12.2002
With us: 21 years 11 months
Location: Oxford, England

Post #2by bh » 05.03.2003, 21:07

Remove the '#' character before SpecularTexture, that should do it.

Regards...bh.

Topic author
jgrillo2002
Posts: 132
Joined: 26.07.2002
Age: 38
With us: 22 years 4 months
Location: New York, USA

Post #3by jgrillo2002 » 06.03.2003, 00:13

Thank you


Return to “Textures”