Hi,
interesting to see that a small instruments can make such big troubles.
What me wonders: Aircraft/Instruments-3d/mag-compass.xml isn't only used by the
c172p than by other aircrafts as well. I think the pa24-250 is another user of
this. Does this aircrafts also cause this NaN-errors?
I just check the interior object, but it is impossible for me now to see where
the mistake is. Any idea hwo to check?
Regards
HHS
...Traversing the stack, I found that at least one possible source of the
problem can be found in
Aircraft/c172p/Models/c172p.xml,
more particularly so in the included model
Aircraft/Instruments-3d/mag-compass.xml,
in particular in the the object with the name "Interior". I'm not a 3d
modeling expert enough to determine what could possible wrong in this object.
Mathias suggested that a triangle with a zero sized surface or something like
that could blow the math. If anybody with more expertise than me could have a
look at it, please be my guest.
....
Until a full fix is in place, a special purpose AI c172 model could be created,
which doesn't contain the interior. Users not regularly flying the c172 could
remove the 3d compass, so that it becomes usable again as an AI aircraft.
Obviously, I can't rule out that there aren't more possible causes for the NaN
warning, however. given that it's occurrence seems to be strongly related to
activating AI Traffic, I suspect they are caused by a relatively narrow set of
circumstances.
Cheers,
Durk
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel