Norman Vine <[EMAIL PROTECTED]> said:

> In your example you may not see the error but .....

What I meant was that offseting to the varible center of gravity wouldn't be
visible either outside or inside the aircraft.  The FDM already provides the
attitude effects, it is the change in axes that wouldn't be noticable. 
Actually you know if we did offset the camera and model to center of gravity
it could have a very minor negative effect.  Assuming that some day we have a
dialog to configure payload,  we'll see the 3D model shift back and forth on
the tarmac as we add fuel, passengers and luggage and the 3D origin changes :-)
 
> You certainly want to offset the camera to its real location
> if you ever want to be able to move your head inside of the cockpit

That works already.

> It really is no big deal to do this just one translate per iteration of the
> main loop, and once implemented it will just work for all view modes

Thats right.  We just need to vector to the offset location and come up with
the adjusted lon/lat/alt at that location.  I just think that 3D model origin
should be a fixed location with the x axis at the leading edge of the wing and
the z axis going through the nose.

The question is this:  If the FDM's agree to use the nose as the origin, 
we'll have an offset to the 3D model's origin, right?   Where would we put the
setting so that it was available to both the model and the viewer,  defined
per aircraft type?

IMHO it'd make the most sense to put the offset (from the nose or tail) to the
3D model origin location into the FDM's aircraft config xml file.   This
location should be on the leading edge of the wings and z axis centered on the
nose as described above.  The 3D modeler's could refer to that data for
getting the model right,  and the fdm should simply report lon/lat/alt at
*that* location.   This is how the YASim 747 currently works and it seems fine.

Best,

Jim

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

Reply via email to