Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

TThirion

Rotation Help

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

My current project can be described as follows: The user is presented with a simple quad (that is stored internally with 4 vertices, 4 edges and 1 face, where the edges of the face are specified in CCW order. Then we allow the user to create an edge that divides the face in two. Probably think something like this: +-------+-------* | | | | | | | | | | | | +-------+-------* Through a trackball, we let the user orient this as they please. After division the user then clicks another vertex, say either of the ones marked with a *. Then as the user holds the mouse button down and moves it, the two vertices marked * are rotated along the axis that divides the two faces. This is where I am stuck. Every rotate-point-around-axis implementation out there has not given me what I want. I sat down and came up with a solution with matrices, but it still gave me bugs. This is simple but it''s giving me bugs, and consequently, driving me nuts. Any idea how to do this? Thanks, TT

Share this post


Link to post
Share on other sites
Advertisement
I guess my picture didn''t come out as I wanted.
Thanks for your help, I guess it''s just a matter
of debuggin this thing.

TT

Share this post


Link to post
Share on other sites

  • 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!