Mathias Fröhlich wrote:
> I have done a patch to eliminate the jitter of 3D-objects near
> the viewpoint (for example 3D cockpit objects).

Excellent.  This bug has been annoying me for a long, long time.

I think the solution should be simpler, though.  Right now, the
scene graph looks (from memory) like this:

  Root/Eye -> Scenery Centroid -> Aircraft Origin -> Cockpit -> ...

So the local cockpit coordinates get double-transformed to the
centroid and back, losing precision in the process.  That comes
out to roughly 1 part in a million at single precision, which
over a ~1km tile can be as much as a few millimeters, which is
several pixels of screen space in a small cockpit.

But the solution should be as simple as reorganizing the scene
graph:

  Root/Eye -> Scenery Centroid -> scenery...
           -> Aircraft Origin -> Cockpit -> ...

I wonder if your fix isn't more complicated than it needs to be.

Andy


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to