ehofman 7113c10f4b Frederic Bouvier:
This is a new patch that allow to define a different
texture for top and bottom of clouds. It uses the
overcast_top.rgb you made for me last time.

What the patch do is to install a ssgStateSelector
instead of a ssgSimpleState for each layer.
The SGCloudLayer::draw method is modified to accept
a boolean that will select the proper state: 0/false
for bottom, 1/true for top.

Then, in SGSky::drawUpperClouds and SGSky::drawLowerClouds,
SGCloudLayer::draw is called with false and true because
we see the bottom of upper clouds and the top of
lower clouds.

Only overcast has 2 textures, the other types share the
same state for top and bottom, but that could be modified
in SGCloudLayer::rebuild.
2004-04-04 13:41:53 +00:00
2004-04-04 13:41:53 +00:00
2004-03-23 19:03:40 +00:00
2002-09-03 02:52:39 +00:00
2000-02-09 19:27:02 +00:00
2004-03-26 21:07:15 +00:00
2003-06-11 18:55:36 +00:00
2003-06-03 18:48:49 +00:00
2004-03-26 21:07:15 +00:00
2001-12-17 16:52:20 +00:00
2002-09-02 22:18:31 +00:00
2004-03-22 19:12:23 +00:00
2002-05-10 13:31:44 +00:00
2000-03-29 00:00:46 +00:00
2000-07-07 22:03:45 +00:00
2002-09-07 02:58:19 +00:00

[ Nothing here at this time. ]
Description
No description provided
Readme 14 MiB
Languages
C++ 85.5%
C 13.1%
CMake 1.4%