Mathias Fr�hlich said:

> On Dienstag 07 September 2004 19:35, Lee Elliott wrote:
> > In a/c that have one or more VC views there's a visible 'jitter' when
> > looking at parts of the a/c, most notably in my experience, with the
> > windshield/canopy frames.
> Yep, and most notably when you look at 3d instrtuments.
> 
> This is a problem with the OpenGL transform matrices being single precision. 
> The transforms include translations to the cenery center and back. This 
> jitter is the roundoff of thode two treanslations ...
> 
> Making all this stuff double precision would help.
> 
> But these matrices are stored in ssg* (=plibs simple scene graph) classes 
> which use single precision values. Sadly there is no double precision 
> aequivalent available. So this requires something more intelligent that what 
> I have investigated some time ago ...

Ah...hmmm.  That won't help.  Probably the only thing that will work is
rendering the aircraft seperately at a 0,0,0 origin when the view is inside
the cockpit.

There are quite a few values being passed around as floats in the FGViewer and
SGLocation classes.  It "might" help some to change a few of those to double,
especially anything related to view position.

Best,

Jim


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

Reply via email to