Jon Stockill wrote:
Shame on me.
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!
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.
Harald.
cvs diff -u -- cloudfield.cxx (in directory F:\dvlp\SG\source\simgear\scene\sky\) 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 Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d