I just commited a turbulence model that I wrote over the vacation.  It
seems to work pretty well, but I'd be curious to see what other people
think.  Tuning it is more subjective than I had expected.

Basically, this is a a Perlin noise based scale-invariant vector field
that gets added to the local wind velocity at each YASim Surface
object.  Because this kind of function is slow, especially in 4
dimensions (time, too) it's implemented as a 2D* lookup table that
gets computed at initialization time.  You'll notice a 3-4 second
delay at startup to compute it.  I could also store it as a file in
the base package, if this is too slow.

* I add X and Z, and Y and T to get the lookup dimensions.  Since
  these are global axes, they aren't likely to align with the aircraft
  motion in any special way to produce artifacts.

Anyway, try it out with different turbulence settings (you'll find
them in preferences.xml) and let me know what seems wrong.

Andy


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

Reply via email to