Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Calculate the angle to the user's head from a game character's location in a virtual world?

Robert_Oschler
Beginner
556 Views

I want to track the user's head location in 3D space so that a game character can alter their head position, eye(s) position, and eye parallax to look at the user.  Can someone point me to the SDK/API subset I should focus on and any sample code that is available that does this or similar (C++ or C# is fine)?

0 Kudos
2 Replies
Nirmit_Kavaiya
Beginner
556 Views

Use Pose detection from Face tracking. It gives you the pitch, yaw, and roll of user's head w.r.t. Camera.

0 Kudos
Robert_Oschler
Beginner
556 Views

Thanks Nirmit.

0 Kudos
Reply