Jon Stockill wrote:

Yes, it's slightly odd seeing the clouds appear/disappear (even when stationary - just rotating the view seems to cause the problem). However, the overall effect is fantastic - is there any way to see the precipitation model yet?

Great work Harald!

Shame on me.
I was not using an up to date flightgear cvs, now that I have updated it I see the desastrous effect.
Clouds are not culled correctly. That explains the poping, but it had also an enormous impact on fps.
In attachment is a quick hack.


cvs diff -u -- cloudfield.cxx (in directory 
Index: cloudfield.cxx
RCS file: /var/cvs/SimGear-0.3/source/simgear/scene/sky/cloudfield.cxx,v
retrieving revision 1.4
diff -u -r1.4 cloudfield.cxx
--- cloudfield.cxx      26 Apr 2005 09:08:58 -0000      1.4
+++ cloudfield.cxx      26 Apr 2005 18:28:46 -0000
@@ -180,6 +180,7 @@
        // correct the frustum with the right far plane
        ssgContext *context = ssgGetCurrentContext();
        frustum = *context->getFrustum();
+       frustum.setFOV(55.0,0);
        frustum.setNearFar(1.0, CloudVis);
Flightgear-devel mailing list

Reply via email to