I want to be sure I understand the FSOUND_3D_Listener_SetAttributes parameters correctly. This may tie in to my message posted right before this one, regarding 3D sounds & panning.
The way I’m reading the documentation, the [i:2d8dunef]fx, fy, fz[/i:2d8dunef] variables seem simple enough. For a simplistic example, to look (listen) straight ahead, one would set them to 0, 0, 1.0f, correct? And to look left, they would be -1.0f, 0, 0.
My question is, how do the Top orientation parameters relate? It seems to me that they simply duplicate the first set of values! As I’m picturing it, the [i:2d8dunef]tx[/i:2d8dunef] parm is the same as [i:2d8dunef]fx[/i:2d8dunef], [i:2d8dunef]ty[/i:2d8dunef] == [i:2d8dunef]fz[/i:2d8dunef], and [i:2d8dunef]tz[/i:2d8dunef] == [i:2d8dunef]fy[/i:2d8dunef]. Is this correct? If so, what is the point? Do they all have to be set? And what happens if they conflict? If this is incorrect, what am I missing?
- Surge asked 16 years ago
Thanks for the response & verification!
So do both vectors need to be specified, and what does FMOD do if the values conflict? To me it seems like unnecessary duplication unless you can choose which vector, forward or up, you want to use and ignore the other. It’s a minor issue, but I’m curious.
Please login first to submit.