Jump to content
  • Advertisement


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



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

suppose I want to rotate an object (open door for example) 90 degrees around a certain axis. suppose that Quat1 and Quat2 represents the initial and final orientations. for smooth rotation why do I need to do SLERP to generate the in between Quats ? why do not we use axis and angle and loop until we rotate the object from 0 degrees to 90 degrees . we can choose 1 degree per step or 0.5 degree per step, I am not saying the second method is correct but I am trying to understand what do we gain from interpolation as long as we can determine the in between states using axis and angle [edited by - silvia_steven_2000 on October 24, 2003 3:36:19 PM]

Share this post

Link to post
Share on other sites
In your case, where one axis (in this case your vertical axis) remains constant, quaternions don''t really buy you anything. If the starting and ending orientations of, say, a spaceship in 3D space, are such that all 3 axes are different in the end, then quaternions are helpful.

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!