Just nocied this on the simgear-cvslogs list.  If I read this
correctly, this is still a "terrible" bug, and even worse because it
will be much harder to detect and correct in the future.  The FOV is a
dynamically settable property.  Hardcoding a particular value is going
to cause very odd behavior with zoom and/or multi-monitor
configurations.

Andy
--- Begin Message ---
Update of /var/cvs/SimGear-0.3/SimGear/simgear/scene/sky
In directory baron:/tmp/cvs-serv30082

Modified Files:
        cloudfield.cxx 
Log Message:
Harald Johnsen: Fix a 'terrible' bug with culling of the clouds.

Index: cloudfield.cxx
===================================================================
RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/scene/sky/cloudfield.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** cloudfield.cxx      26 Apr 2005 09:08:58 -0000      1.4
--- cloudfield.cxx      26 Apr 2005 20:14:37 -0000      1.5
***************
*** 181,184 ****
--- 181,185 ----
        ssgContext *context = ssgGetCurrentContext();
        frustum = *context->getFrustum();
+       frustum.setFOV(55.0,0);
        frustum.setNearFar(1.0, CloudVis);
  }


_______________________________________________
Simgear-cvslogs mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/simgear-cvslogs
2f585eeea02e2c79d7b1d8c4963bae2d


--- End Message ---
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to