#### Archived

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

# SLERP

This topic is 5531 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## 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 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.

1. 1
2. 2
3. 3
Rutin
15
4. 4
5. 5

• 13
• 26
• 10
• 11
• 9
• ### Forum Statistics

• Total Topics
633731
• Total Posts
3013582
×

## Important Information

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!