Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
engine.Play3D - About coordenates

mauro
Registered User
Quote
2016-02-11 01:03:45

Hi

I am not quite clear about the coordenates in the engine.Play3D function.

Are they the regular x, y, z rectangular coordenates?

I understood that inside this function the listener should be in the 0, 0, 0 position; is it like that?
Positive values in X axis take the clip to the right and negative values takes it to the left, right?
Positive values in Z axis take the sound to the top and negative values take it to the bottom, correct?

Can you explain?

Thanks


niko
Moderator
Quote
2016-02-11 12:45:20

No, it's simply world coordinates. You can set the listener position and its rotation using engine.setListenerPosition(). It takes position, lookDirection, velocityPerSecond, and upVector, which usually is (0,1,0).


mauro
Registered User
Quote
2016-02-11 14:34:35

Is there some example for CShart which shows how to use coordenates sound playing and listener position?


niko
Moderator
Quote
2016-02-12 03:56:34

Yes, the 3D sound example in the SDK, in the folder examples\02.3DSound

Additionally, this tutorial here: http://www.ambiera.com/irrklang/...


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Intern?tional" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact