Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

3d Vector help

Name: Anonymous 2008-07-09 19:27

Sup /sci/
the problem is this. given three 3d points defining a triangle, how would you figure out it's rotation about the x, y and z axes, compared to some 'base' state?
something like this:
http://img236.imageshack.us/img236/6458/sdfkh1.jpg
where the (x,y,z) of each of the corners are known. i want to figure out the rotation angles taken by the red triangle to reach the blue triangle.
thanks

Name: Anonymous 2008-07-09 23:31

Forget it, it's NP-complete.

Name: Anonymous 2008-07-09 23:39

>>2
Back to /prog/, please.

Name: Anonymous 2008-07-09 23:42

I'm pretty sure this is impossible. You can find out what the new points would be given the angles, though. Look up "Rotation Matrix" in wiki.

Name: Anonymous 2008-07-09 23:59

>>1

You need to phrase your problem more clearly.  It's too vague as it stands.

The 'angle' that you want would be the dihedral angle between the original spatial triangle and its "rotated" companion, both of which define two planes in euclidian space.  To find such an angle, find a plane which is perpendicular to both planes, and use that.

the concept of 'angle' is usually a 2D affair.  A lot of this is stuff you could work out on your own if you are so inclined.

Name: Anonymous 2008-07-10 2:47

Find the angles between the normals of the planes.

Look in chapter something of your calculus book... it's right before multivariable differentiation.

Don't change these.
Name: Email:
Entire Thread Thread List