[Openal] GL and AL coordinates different?
garinh at cheesetoast.net
Tue Apr 5 12:02:10 PDT 2005
Since the difference (outside of the source direction) between case #1
and case #2 is purely in the graphics rendering, then the issue is most
probably with the graphics rendering. Unfortunately, I'm not enough of
a GL-whiz to be able to see the problem myself -- hopefully someone
else on the list will see the issue.
With regard to sound cones, support may depend on which platform you
are running on -- I think most platforms have it, but maybe the one you
are using doesn't... You can also do some audio testing independent of
the graphics by grabbing the AL source off of opensource.creative.com
(instructions on www.openal.org/downloads.html) and trying out the
"altest" command-line test tool (openal/demos/altest). There is a test
in there for sound cones as well as all the other individual features
of OpenAL -- quick modifications of this program can be very helpful in
diagnosing stuff like this, because you can plug in values from your
own program and see what happens.
More information about the Openal