Am Donnerstag, den 23.04.2009, 17:43 +0200 schrieb jean pellotier: > Patrice Poly a écrit : > > the fix, as a patch > > > > http://www.bentha.net/fgfs/ridge-lift/Environment.diff.bz2 > > > > hope this works... > > > > > nope, same behaviour!! > > i think that on my "slow" PC, your ridge lift is sometimes initialised a > little to early (while position is 0,0,0 maybe), resulting in some nan > in the result of terrain scan, wich lead to a "nan" in > /environment/ridge-lift-fps. > > and as it's used to compute the next aircraft position, nan go all along > the calculs... > > i tested : > _ridge_lift_fps_node->setDoubleValue( 0 ); > > and no more nan, all the properties in ridge-lift are now valid. > > jano > > what is your OSG Version?
I've had tons of nans at startup of the bf109 and fw190. They stopped once the Aircraft gained some speed and the rest of the flight was fine. This started approximately at the time of the ambient update. My other machine ran both Aircraft fine so I didn't bother much. Todays I updated to 2.9.3 and all the startup nans were gone. > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Detlef Faber http://www.sol2500.net/flightgear ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel