以往的研究解决了在OpenGL环境下进行复杂模型的转换和生成问题,但对于由多个具有配合关系部件组成的模型,直接转换后将丢失各部件间的关系等信息,从而影响模型在虚拟仿真系统中的应用。为建立实用的虚拟筛分实验系统,提出了一种基于OpenGL的层级建模方法,用树形结构描述模型各部件间的层级关系,采用嵌套显示列表技术实现模型绘制。应用表明该建模方法简单有效,能够用于构建具有复杂模型的虚拟场景。
Problems of conversion and generation for complex models had been solved in previous studies, but the relationship information between components will be lost when model is directly converted, and this would affect the application of model in virtual simulation system. In order to establish virtual screening experiment system, a hierarchical modeling method based on OpenGL is put forward. Hierarchical relationship between parts is described by tree structure and model drawing is realized by nesting display list. This technology has been applied in virtual screening experiment simulation system with the results shown that the modeling method is simple and effective.