13 reputation
7
bio website iworkinprogress.com
location Brooklyn, NY
age 31
visits member for 2 years, 7 months
seen Jun 7 '12 at 19:36

Currently an iOS developer.

Creator of ScrapPad, a scrapbooking app for iPad.


Jun
7
awarded  Benefactor
Jun
7
comment Missing z-axis rotation for transforming between two vectors
Thanks. Answer is spot on. I ended up getting another face that was orthogonal and using that vector to get the Z rotation. Then I could combine the two rotation matrices and get the rotation matrix I needed to rotate the cube to face the camera. Maybe not most efficient way to do it, but works great.
Jun
1
awarded  Promoter
May
23
asked Missing z-axis rotation for transforming between two vectors
May
22
comment Rotate 3D cube so nearest side is facing user
Can you give any pointers on how to get the orientation matrix with the aligned axis? Think I'm getting hung up there.
May
9
awarded  Supporter
May
9
awarded  Scholar
May
9
accepted Rotate 3D cube so nearest side is facing user
May
9
comment Rotate 3D cube so nearest side is facing user
Thanks appreciate the in-depth answer. It's going to be a struggle for me to wrap my head around this stuff but no better time than the present.
May
9
comment Rotate 3D cube so nearest side is facing user
Yeesh. Never is ever easy. I guess my attempt at simply rounding the rotation angle of the x,y axis to the nearest 90° seemed a bit too easy.
May
9
awarded  Editor
May
9
revised Rotate 3D cube so nearest side is facing user
added 6 characters in body
May
9
awarded  Student
May
9
asked Rotate 3D cube so nearest side is facing user
May
9
awarded  Autobiographer