On Thu, 2009-10-29 at 02:26 +0100, Csaba Halász wrote:
> Hi Erik!
>
> If a sound sample keeps its default orientation of all zeroes then in
> SGSoundSample::update_absolute_position the sc2body*q will be also
> null and cause a division by zero in SGQuat<double>::backTransform.
>
Perhaps this explains why the most recent cvs update produces;
SimGear/source/simgear/sound> ./openal_test2
NaN in source
position
NaN in source
orientation
playing
sample1
NaN in source
position
NaN in source
orientation
NaN in source
position
NaN in source
orientation
playing
sample2
NaN in source
position
NaN in source
orientation
NaN in source
position
NaN in source
orientation
playing
sample3
NaN in source
position
NaN in source
orientation
NaN in source
position
NaN in source
orientation
playing
sample4
NaN in source position
NaN in source orientation
NaN in source position
NaN in source orientation
playing sample5
NaN in source position
NaN in source orientation
NaN in source position
NaN in source orientation
playing sample6
NaN in source position
NaN in source orientation
and the sounds I had from the code of last week are still gone, but
what I find difficult is there isn't any error messages
(except the "source and listener distance greater than 50km!") which
doesn't help very much with any troubleshooting, if there
was something complaining somewhere it would make it easier to find
out what is happening/not happening...
S.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel