Jump to content
  • Advertisement
Sign in to follow this  
toan1982

Get three rotated angles (XYZ) from two frame

This topic is 4579 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

I have two frames. on first frame have three dots color (red green and blue) makes a triangle. on second frame also have these dots color but the position of these dots on this frame not same with first frame (and these dots still make a triangle)... I mean, when we see both frames, we are feel that the triangle be changed ( like the triangle did rotate about X, Y and Z axis). My question are: Can we compute (or get) three angles (degree/radian) that the triangle rotated about X axis ,and y axis, and z axis from two frames above? If you know how to solve,please share me... Thank for your help Paul.

Share this post


Link to post
Share on other sites
Advertisement
No.
Frame 1

*


*


*

Frame 2

*


*


*


Did the blue dot move towards or away from you?
Is it a positive or a negative Y-axis rotation?

Share this post


Link to post
Share on other sites
good idea..
right now, i assume that the blue dot is away from me...
and positive Y axis is counter clock wise.

so what next steps you can show me are...? Please share with me.

Thanks!

Share this post


Link to post
Share on other sites
It's impossible. You can't. You don't have enough information. You are missing an entire dimension. In order to to figure out the location and orientation of the triangle, you need to know the size and shape of the triangle, and the locations (in 3 dimensions) of two of its three vertices -- and even that is not always enough information.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!