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

Post Reply
guypld
Posts: 1
Joined: Tue Nov 01, 2016 12:12 am

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

Post 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!
Attachments
DesireVectors
DesireVectors
demo.png (121.14 KiB) Viewed 1764 times
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 720
Joined: Mon Jan 19, 2015 11:52 am

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

Post 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
Post Reply