摘要
介绍了在三维虚拟场景中Direct3D调用3DSMAX制作完成的模型(实体)的方法,即如何通过D3D来运用3D作品。提出了3D实体的概念,研究了基于坐标综合变换的模型加载过程;重点介绍了向量的坐标变换以及.x文件加载过程中确定3D模型的空间位置的方法;最后用程序再现了一个真实的场景。由于在Direcrt3D中对3D模型的处理介绍得比较少,因此,此研究有一定的应用价值。
The method of Direct3D call the model (entities), which is created by 3DSMAX in a virtual three--dimensional (3D) scene was introduced, that is, how to use 3D works by D3D. The concept of 3D entities was proposed and the loading process of model which is based on an comprehensive transformation of coordinate was studied. The transformation of vector-- coordinate and method to determine the 3Dmodel's space location during process of loading 3D model were specially introduced. Finally, procedures were used to reproduce a real--life scene. The 3D model's handling is seldom introduced in Direcrt3D, so this study has some value of application.
出处
《辽宁石油化工大学学报》
CAS
2008年第4期86-90,共5页
Journal of Liaoning Petrochemical University