Cloud shadows won't show

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Avatar
Topic author
PlutonianEmpire M
Posts: 1348
Joined: 09.09.2004
Age: 34
With us: 14 years 11 months
Location: MinneSNOWta

Cloud shadows won't show

Post #1by PlutonianEmpire » 19.10.2012, 02:01

Hmm, I'm using Don E's 2k earth cloud map, and I set the ssc modifying earth to include the cloudshadowdepth 1, but cloud shadows are not showing at all on the surface, even when under 100% opaque clouds. The same is true for every single other planet. :?

How do I get them to show? Changing render paths and using non-vt textures don't work (I never use VT clouds; I gotta have that cloud rotation). :|
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
selden
Developer
Posts: 10063
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Re: Cloud shadows won't show

Post #2by selden » 22.10.2012, 12:34

The clouds have to be quite high for the shadows to be obvious. Here's the Earth, using Celestia v1.6.1 and Earth's default cloud texture, but raised to an altitude of 700 km (default is 7 km). You must select the OpenGL 2.0 render path for them to be drawn.
Selden

Avatar
Topic author
PlutonianEmpire M
Posts: 1348
Joined: 09.09.2004
Age: 34
With us: 14 years 11 months
Location: MinneSNOWta

Re: Cloud shadows won't show

Post #3by PlutonianEmpire » 23.10.2012, 00:22

selden wrote:The clouds have to be quite high for the shadows to be obvious. Here's the Earth, using Celestia v1.6.1 and Earth's default cloud texture, but raised to an altitude of 700 km (default is 7 km). You must select the OpenGL 2.0 render path for them to be drawn.
Umm, I know they can be visible, and have noticed them myself; the problem is, they're simply *not* drawn at all.

I go down to the surface and turn the cloud shading on or off, in OGL2.0 of course, and they're just not being drawn, even on cloud maps that are quite heavy on the clouds.
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
selden
Developer
Posts: 10063
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Re: Cloud shadows won't show

Post #4by selden » 23.10.2012, 11:08

Unfortunately, I don't know what to suggest. Obviously something is different between your configuration when you saw the shadows and when you didn't. Have your graphics drivers been updated, for example?
Selden

Avatar
Topic author
PlutonianEmpire M
Posts: 1348
Joined: 09.09.2004
Age: 34
With us: 14 years 11 months
Location: MinneSNOWta

Re: Cloud shadows won't show

Post #5by PlutonianEmpire » 24.10.2012, 00:28

Not for a while, but I probably should have been more clear.

What I have been noticing is that Celestia does indeed draw cloud shadows, and does them just fine, the problem is, it only draws cloud shadows for one cloud map, and not another, even if they are very similar.

Here's a zip containing the cloud maps. the one used on Belle Hades has cloud shadows shown, but the one for Earth doesn't.

https://dl.dropbox.com/u/3610210/Celest ... hadows.zip
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 12
With us: 12 years 4 months
Location: Thyrrenian sea

Re: Cloud shadows won't show

Post #6by Fenerit » 24.10.2012, 00:42

The transparent parts of the canvas must be completely transparents; they could be not transparents even if looks as such. Is enough a bit of opacity of the full canvas for not showing the shadows.
Never at rest.
Massimo

Avatar
Topic author
PlutonianEmpire M
Posts: 1348
Joined: 09.09.2004
Age: 34
With us: 14 years 11 months
Location: MinneSNOWta

Re: Cloud shadows won't show

Post #7by PlutonianEmpire » 24.10.2012, 00:58

Fenerit wrote:The transparent parts of the canvas must be completely transparents; they could be not transparents even if looks as such. Is enough a bit of opacity of the full canvas for not showing the shadows.
Umm. What?

The belle hades clouds I provided cast their cloud shadows, and yet do not have a single pixel of complete transparency. :?:
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
selden
Developer
Posts: 10063
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Re: Cloud shadows won't show

Post #8by selden » 24.10.2012, 12:06

Unfortunately, I see shadows with both texture files, so I'm not sure what to suggest.

You probably should use a different name for the one which doesn't cast shadows, not earth-clouds.png. My system used the image in Celestia's own textures directory until I renamed it to no_shadows.png.

Here's the SSC I used for testing:

Code: Select all

"no_shadows" "Sol" {

   Texture "neptune.*"

   # SpecularTexture "earth-spec.*"
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.8 0.8 0.85 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Radius 6378.140  # equatorial
     EllipticalOrbit { Period 1 SemiMajorAxis 1 }

   Atmosphere {
      Height 60
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]

      CloudHeight 700
      CloudSpeed 65
      CloudMap "no_shadows-clouds.png"
      CloudShadowDepth 1.0

      Mie 0.001
      MieAsymmetry -0.25
      Rayleigh [ 0.001 0.0025 0.006 ]
      MieScaleHeight 12
   }
    UniformRotation
    {
       Period         23.93447117
       Inclination   -23.4392911
       MeridianAngle 280.147
    }

}

"yes_shadows" "Sol" {

   Texture "saturn.*"
   
   # SpecularTexture "earth-spec.*"
   Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.8 0.8 0.85 ]
   SpecularPower 25.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   Radius 6378.140  # equatorial
     EllipticalOrbit { Period 2 SemiMajorAxis 2 }
   Atmosphere {
      Height 60
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]

      CloudHeight 700
      CloudSpeed 65
      CloudMap "yes_shadows-clouds.png"
      CloudShadowDepth 1.0

      Mie 0.001
      MieAsymmetry -0.25
      Rayleigh [ 0.001 0.0025 0.006 ]
      MieScaleHeight 12
   }
    UniformRotation
    {
       Period         23.93447117
       Inclination   -23.4392911
       MeridianAngle 280.147
    }

}
Selden

Avatar
Topic author
PlutonianEmpire M
Posts: 1348
Joined: 09.09.2004
Age: 34
With us: 14 years 11 months
Location: MinneSNOWta

Re: Cloud shadows won't show

Post #9by PlutonianEmpire » 25.10.2012, 02:25

Hmm... Still didn't work. :|

So it might be a graphics or driver issue. :/
Terraformed Pluto: Now with New Horizons maps! :D


Return to “Help Central”

Who is online

Users browsing this forum: 2 guests