Page 1 of 1

TrackIR coordinates to world coordinates

Posted: Thu Apr 10, 2025 8:50 am
by absagim
Hi,

I would like to know if it would be possible to get World space coordinates with a TrackIR camera while using the Camera SDK.
This would be for knowing world-coordinates movement and rotation without having the camera just in front, to then have more than one TrackIR camera in more angles to avoid deadzones with them. If needed, I could know the position and rotation of the camera in world space. I don't know if that's the best setup to achieve that goal, but that's what I have.

To make it clear, an example would be that having the camera at (-40, 0, 50) from my head and rotated to focus it, if I move towards the screen (which is half a meter in front of me) like 10 cm, I should get (0,0,10) without changing rotations.

Many thanks in advance.

Re: TrackIR coordinates to world coordinates

Posted: Thu Apr 10, 2025 3:36 pm
by jillian.smythe
Hello absagim,

You may want to review the answer in this post: viewtopic.php?p=40055#p40055.

Kind Regards,

Re: TrackIR coordinates to world coordinates

Posted: Fri Apr 11, 2025 12:12 am
by absagim
Hi Jilllian,
Thanks for your response.

I guess that what I thought is not the common thing to try. I just wondered if there was any formula or matrix for changing coordinates spaces that I could make to make that change. To put in context, I'm using C++ with the Optitrack Camera SDK and I receive the 6 DOF.
If any dev knows anything, I would be really grateful.

Then, I imagine that synchronizing two or more cameras would be even harder to do.

Anyways, thanks for the post redirection.