Current Issue Cover
基于可编程图形管线的大规模流程工厂模型多分辨率绘制方法

周剑1, 唐卫清1,2,3, 朱耀琴1, 夏明2, 黄晓剑3(1.南京理工大学计算机科学与技术学院, 南京 210094;2.中国科学院计算技术研究所, 北京 100190;3.北京中科辅龙计算机技术股份有限公司, 北京 100085)

摘 要
针对流程工厂设计中3维校审的实际需求,提出了基于可编程图形管线的大规模流程工厂模型多分辨率绘制方法。在分析了流程工厂模型特征的基础上,通过基本体元多分辨率模板构建对象的多分辨率模型,并在构建过程中保证低分辨率模型顶点集是高分辨模型顶点集的子集。因此,每个对象只需保存其最高分辨率下的顶点信息及各分辨率下的顶点索引。在此基础上,通过对显存中顶点缓冲、索引缓冲的有效管理,不仅实现了在渲染过程中利用顶点索引的变换完成不同分辨率的切换,还减少了内存与显存的数据交互。实验结果表明,该方法在普通PC机上对具有21 M左右面片的流程工厂模型,能够在保证绘制质量的前提下取得31帧/s的平均帧速,且预处理时间在10 s以内并无需额外硬盘空间。
关键词
Multi-resolution rendering approach of large-scale process plant models based on programmable graphics pipeline

Zhou Jian1, Tang Weiqing1,2,3, Zhu Yaoqin1, Xia Ming2, Huang Xiaojian3(1.School of Computer Science and Technology, Nanjing University of Science and Technology, Nanjing 210094, China;2.Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China;3.Beijing Zhongke Fulong Computers Technology Co., LTD, Beijing 100085, China)

Abstract
To satisfy the demands for 3-D reviewing in plant design,a multi-resolution rendering approach for large-scale process plant models based on programmable graphics pipelines is proposed.Based on the analysis of the characteristics of a process plant model,a multi-resolution model of the object is constructed according to the multi-resolution templates of the basic voxels.In the generation process of the multi-resolution, model the proposed approach can ensure that the vertex set of the low-resolution model is the subset of the vertex set of the high-resolution model.There fore,only the vertex information of the highest resolution model and some of the vertex indexes need to be saved for every object.On this basis,with the effective management of the vertex buffer and the index buffer,a multi-resolution model transform can be implemented according to the vertex index transform in the rendering process.In addition,the data exchange between main memory and display memory can be reduced.Examples show that the approach presented in this paper can be implemented on a general PC and satisfy actual work demands from the designer.It can preprocess a 21 M triangles model within 10 and achieve 31 frame/s smooth frame rates on average,without using extra hard-disk space.
Keywords

订阅号|日报