Page 1 of 1
Sound3D not working
Posted: Fri May 07, 2010 6:36 pm
by PureLeo
When i try the Sound3d example that comes with PB 4.4x it doesn't seem to work as intended... no matter how far i am from the mesh, the sound keeps the same volume... maybe im doing something wrong (but im just compiling the example :S)
is it an issue with the example? could someone write a little working example based on that one?
!: btw, my "library subsystem" is set to blank or opengl, because even if dxdiag says i have directx 9.0c, it wont work to set it up to directx9 on pb
Re: Sound3D not working
Posted: Fri May 07, 2010 7:39 pm
by Kaeru Gaman
PureLeo wrote:!: btw, my "library subsystem" is set to blank or opengl, because even if dxdiag says i have directx 9.0c, it wont work to set it up to directx9 on pb
because since 4.40, DX9 is default Subsystem, it is applied when you enter nothing.
enter "DirectX7" to use DX7 subsystem.
Re: Sound3D not working
Posted: Sat May 08, 2010 6:15 pm
by PureLeo
hm.. ok i've tried that too... but the volume keeps the same no matter how far i am from the mesh :/
Re: Sound3D not working
Posted: Sun May 09, 2010 9:33 pm
by woki
You have to move the object not the camera like in the example.
Re: Sound3D not working
Posted: Mon May 10, 2010 4:19 am
by PureLeo
I've tried to move the entity...
Also keeps same volume :/
No working samples anybody?
Re: Sound3D not working
Posted: Mon May 10, 2010 6:11 pm
by woki
In the example change the line MoveCamera (...) to MoveNode (...)
Re: Sound3D not working
Posted: Tue May 11, 2010 5:51 am
by PureLeo
Works!
It's now like moving the object, instead of the player (camera) but i might be able to adjust that for my needs, thank you!