Frederic Bouvier wrote:

Great!
Now, is it possible to get it to scale only on two axis? I use a trick
with billboarding to avoid collisions between the light halos and body
parts.
         |
x        |
         |
^ object center
         ^ face

This way, the object rotates around the object center and swings the
actual face clear of the body parts. You don't notice because it always
stays directly on the line of sight. Here's an example where the halo is
actually a meter away from where the light is:
http://jrbabcock.home.comcast.net/flightgear/fgfs-screen-001.jpg

Now the right landing light is identical, but uses the flash animation
instead of Melchior's scripted animations. The problem is that at obtuse
angles the light gets too close to the body parts and intersects with them:
http://jrbabcock.home.comcast.net/flightgear/fgfs-screen-002.jpg

At acute angles, the halo is fully scaled and clears the body parts:
http://jrbabcock.home.comcast.net/flightgear/fgfs-screen-003.jpg

If I could get it to scale only on the Y and Z axis, the problem would
go away.

PS, this is one of the last things I have to fix before I can release
this, so the more help I get the faster you all get to fly this one!
(the flight models is LeeE's and quite nice)

Josh


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to