摘要
研究了四元数方法在三维图形旋转变换中的应用。提出一种利用鼠标的拖拽关联三维模型的方位欧拉角的方法,将表示旋转数据的方位欧拉角转换为四元数,并利用四元数乘法运算的几何意义实现多次旋转的连接,最终实现鼠标拖拽自由旋转三维物体的功能。对物体的方位序列进行四元数球面线性插值,实现了使某水下航行体模型的运动仿真效果更加顺滑、逼真。
The quaternion and its application in the rotation transformation of 3D models were studied.Firstly,a new method was proposed on associating the Euler angles of a 3D object with the mouse dragging motion.Then,the quaternion could be used to represent the rotation data.Furthermore,the multiplication operator of the quaternion could realize a series rotation.Finally,the interactive rotation of a 3D object was realized by the mouse device.An underwater vehicle's 3D visual simulation was provided,in which the orientation of the 3D model was simulated by a serial spherical interpolation based on the quaternion method.The movement simulation of the 3D underwater vehicle becomes smooth.
出处
《系统仿真学报》
CAS
CSCD
北大核心
2012年第3期624-627,共4页
Journal of System Simulation
基金
江苏省自然科学基金资助项目(BK20080544)