For what it's worth, I don't like this patch. It shouldn't make much difference on 24/32 bit cards, which is probably most everyone now anyway, but I think there is a different problem brewing somewhere.

I haven't had time to look into it, but the AGL reading on the HUD no longer reads correctly. Somewhere along the lines we have introduced some sort of height above ground bugs. I don't know if that is in the ground cache code or elsewhere, but the HUD above ground display isn't working right anymore.

If we get that problem fixed so the system knows the correct AGL, then we wouldn't need to make this particular huge hack 5 times worse.

Somehow the gear still knows where the ground is, but I recall specific patches to the individual FDM's. I've lost track of what is going on with this section of code, but it's important and it really should get fixed before we get too much further!

I'm going out of town on thursday and rushing to get a bunch of other stuff done in the mean time, so I really can't look at this in the near term, but someone really needs to volunteer to step up and track down what is going on here.

Regards,

Curt.


Melchior Franz wrote:

Update of /var/cvs/FlightGear-0.9/FlightGear/src/Main
In directory baron:/tmp/cvs-serv754

Modified Files:
renderer.cxx Log Message:
prevent view through big hole in carrier deck


Index: renderer.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Main/renderer.cxx,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** renderer.cxx        1 Oct 2005 09:56:53 -0000       1.27
--- renderer.cxx        4 Oct 2005 18:01:45 -0000       1.28
***************
*** 499,503 ****
         - cur_fdm_state->get_Runway_altitude_m();
! if ( agl > 10.0 ) {
         scene_nearplane = 10.0f;
         scene_farplane = 120000.0f;
--- 499,503 ----
         - cur_fdm_state->get_Runway_altitude_m();
! if ( agl > 50.0 ) {
         scene_nearplane = 10.0f;
         scene_farplane = 120000.0f;


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


--
Curtis Olson        http://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d


_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to