Norman Vine <[EMAIL PROTECTED]> said: > Vivian Meazza writes: > > > > I remain disconcerted that the visual model appears to roll through 180 degs > > vertically on the up and down legs of a loop when in chase or helicopter > > view. Not the end of the world, but lacking realism. > > Yes this is a short coming of the math method used. > > Note that the cursor should also be restrained in the vertical direction > so as to not wrap from the top to the bottom, or visa versa, not doing > so potentially compounds the confusion > > Put simply the matrix math used supports a 'restrained' cylindrical viewer > not a true spherical viewer. > > The reasons that FlightGear does not use a quaternion model for this, I will > leave for others to explain. > That is a problem, but it isn't the issue here. In the chase views the camera is aft of the aircraft position (horizontally). On going into the upside down part of a loop the heading of the aircraft does a sudden 180, so "aft" is now the other way. And thus the direction of view is doing a 180. If you want to avoid this then you need a different type of view configuration.
One way is to not set the heading input for the view. Then you will always look at the plane from the North. Best, Jim _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
