]> git.mxchange.org Git - simgear.git/commit
Further enhancements/bug fixes to the 3D clouds:
authorStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Sun, 21 Aug 2011 18:18:24 +0000 (19:18 +0100)
committerStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Sun, 21 Aug 2011 18:18:24 +0000 (19:18 +0100)
commit2f381c22e33ea29171c90dd29b079e58ea72969e
tree7f15584ec852f31d71ef76b9c85ca17a4506c25a
parentee06c1237495f6a2379dfde0d8113214398b497c
Further enhancements/bug fixes to the 3D clouds:

1) Default values for [min|max]_[cloud|sprite]_[width|height] changed to be
   more logical.

2) Cloud bounding box expanded slightly to ensure they aren't over-culled

3) Cloud location now defines the _base_ of the cloud.

4) Sprites that would extend below the bottom of the cloud are now shifted
   upwards to ensure no cloud appears below the base.
simgear/scene/sky/cloud.cxx
simgear/scene/sky/newcloud.cxx
simgear/scene/sky/newcloud.hxx