Norman Vine <[EMAIL PROTECTED]> said:

> Andy Ross writes:
> >
> >  Just adding an offset to the camera is what's already being
> >done, and it runs into precision problems.  The trick is to make sure
> >that the camera is *never* moved to the scenery centroid before
> >rendering the model.  
> 
> Right ---
> So why not leave the camera at 0,0,0 and add an additional offset 
> to the 'tile-offset'
> 

When I first saw this suggestion what came to mind was using camera at 0,0,0.
 Applying the offset (difference between our current "view position" and the
scenery center) to the scenery.  And applying the difference between our "view
position" and the model origin (aircraft position) to the model.  But I guess
I'm a little confused on how this would be done.  Would we apply the same
rotation matrix with an adjusted translation vector?

Best,

Jim

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

Reply via email to