Curtis L. Olson writes:

 > Step 1: the sky dome, the sun, moon, stars, planets.  This forms the
 > back drop.  Everything else is drawn in front of these sky items.
 > 
 > Step 2: draw the terrain.  This needs to go in front of sky back drop
 > so it is drawn next.
 > 
 > Step 3: draw the clouds.  The clouds have alpha so they are drawn
 > last.

I assume that steps 2 and 3 are in this order so that you'll be able
to see a mountain (for example) through gaps in the clouds.  If you
reversed the two, we'd lose that but alpha on trees (etc.) would start
working.  Ouch.

During ordinary flight, you'll see only the ground through the alpha
part of a tree texture, and normally trees should be far from the
plane, so this isn't a major problem.  On the other hand, what about
looking through a dirty or tinted aircraft window at the clouds?

I guess it's time for 3D clouds.


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to