摘要
提出了一种在OpenGL中读取和控制3DStudio模型的方法。该方法首先利用3DStudioMAX软件分层建立物体的三维模型;然后采用面向对象技术,通过定义C3DModel类和CAseRead类封装3D模型的信息和读取操作以实现在OpenGL中引入三维模型;最后采用OpenGL中矩阵堆栈的方法实现对模型的控制。该方法已在VC/MFC下得到了实现,并可用于仪器可视化或虚拟仪表系统的开发。
It proposes a scheme for using 3D Studio model in OpenGL.Firstly,the model is constructed by level using 3D Studio MAX,then readed into the OpenGL by defining classes C3DModel and CAseRead,in which the 3D model's information and reading operators are encapsulated based on object oriented technology;and the model also can be controlled by OpenGL codes using matrix stacks method.This scheme has been successfully realized in VC/MFC environment,it may be used in the development of visual simulations or virtual reality systems.
出处
《仪器仪表学报》
EI
CAS
CSCD
北大核心
2005年第z2期93-95,共3页
Chinese Journal of Scientific Instrument