Slide 8
Slide 8 text
Translation by arcball control
◼
Parameters for translation
◼
3D vector for object translation in object space.
→ Translate two endpoints of mouse motion to object space.
Then take their difference.
◼
Notice
◼
You shouldn’t take difference of screen space positions because
depth information is lost!
◼
Alternatively, you should first transform two screen space
positions back to world space, then take difference!
Computer Graphics Course @Waseda University 8