Page 1 of 1

Get the 3D projection vector from each camera to a marker

Posted: Tue Nov 01, 2016 12:18 am
by guypld
Hi,

I'm trying to view for a selected marker (not rigid body, just marker) the projection vector from the camera.

Vectors example attached.

is it possible ?

Thanks!

Re: Get the 3D projection vector from each camera to a marke

Posted: Thu Nov 03, 2016 9:26 am
by steven.andrews
Hi guypld,

As you discovered while working on this directly with Support, the ray information is not exposed in Motive. It is possible to get this information through the Motive API, however.

You should be able to retrieve the X, Y, and Z location out of the cameras, through the API, using the following:
http://wiki.optitrack.com/index.php?tit ... aXLocation

You can also retrieve the ray information using:
http://wiki.optitrack.com/index.php?tit ... _CameraRay

Best,
Steven
--
Steven Andrews
OptiTrack | Senior Customer Support Engineer