Based on the characteristics of 3DS model file and the functionality of OpenGL transformation, this paper uses the method of changing the model object coordinate to the global first, and then re-organizing model transformation, achieved the relative motion simulation of different object in a single 3DS model, then obtained a generic way for relative movement simulation of each components in a 3DS model. This method is featured as simply control, flexible transformation and strong commonality.%利用3DS模型文件的特点和OpenGL的模型变换功能,通过先还原模型坐标为全局坐标,再重新组织模型变换的方法,实现了单个3DS模型文件中不同组件相对运动的仿真,进而得出一种通用的3DS模型各组件相对运动的实现方法。该方法具有控制简单、变换灵活、通用性强的特点。
展开▼