[Openal] Artifacts - Alternating from left to right channels?
ashley at siroccoracing.com
Thu Feb 19 10:52:50 PST 2009
Daniel PEACOCK wrote:
>>> - I tried setting a proper orientation and all the sources at 0,0,0 with
>>> velocity 0,0,0 - artifacts gone
> It would be interesting to narrow it down to a position or velocity
> problem. Then it would be interesting to see what parameters values are
> being passed to AL.
> NOTE : Velocity is rather tricky to get right. By default, units are
> assumed to be in meters. If your units are not in meters then you need to
> set the AL_METERS_PER_UNIT listener property to an appropriate value that
> will be used to scale all the 3D values you pass into AL.
I set the velocity of the listener and sources to their proper velocity
(keeping the positions at 0,0,0) and there were no artifacts.
I am using metres as my unit for everything - I assume I don't need to set
AL_METERS_PER_UNIT in that case?
I don't set any special AL settings - everything is default except
AL_REFERENCE_DISTANCE which i set to 5.0 (although i'm not sure why to be
honest! :)). I also change the pitch and gain as i go through the revs.
I thought it may have been the order i set the listener / source positions,
but it doesn't seem to make a difference.
Thanks for your help
All the best,
View this message in context: http://www.nabble.com/Artifacts---Alternating-from-left-to-right-channels--tp22100029p22107259.html
Sent from the OpenAL - User mailing list archive at Nabble.com.
More information about the Openal