Jump to content
  • Advertisement
Sign in to follow this  

Calculating Z distance

This topic is 4113 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm currently developing a small MoCap application. By using a webcam and several white dots on me, it's pretty easy to determine the X and Y value of my position. However, I'm not sure how to determine the Z value of my position as I walk towards the camera or backwards the camera. So I'm hoping some of you guys, here at gamedev.net could help me with my problem. Is it possible to accomplish this only by using one camera, or do I need to have more of them? Or can I somehow do some magic calculation to get the Z value? I was thinking about triangulation, what do you think about that? // Marcus

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!