Rapid rendering for large-scale CAD model with repeated structure
- Vol. 23, Issue 1, Pages: 106-113(2018)
Received:19 June 2017,
Revised:2017-9-26,
Published:16 January 2018
DOI: 10.11834/jig.170306
移动端阅览

浏览全部资源
扫码关注微信
Received:19 June 2017,
Revised:2017-9-26,
Published:16 January 2018
移动端阅览
目的
2
基于普通个人计算机快速渲染大规模计算机辅助设计(CAD)模型仍然是个挑战。针对由少量基本对象按一定规律排布而成的大规模CAD模型——重复结构CAD模型,提出一种快速渲染方法,能够在个人计算机上的快速渲染大规模重复结构CAD模型。
方法
2
该方法首先利用重复结构CAD模型的层次结构特征,结合现代GPU的Render-To-Texture的功能进行快速视锥裁剪,节约视锥裁剪时间;然后利用重复结构CAD模型中对象按规律布置的特点,仅对少量基本对象进行面片化,其他对象的面片模型在渲染时根据对象排布规律由基本对象的面片模型实时变换生成,解决大规模CAD模型内存需求过多的问题。
结果
2
基于超级蒙卡核模拟软件系统SuperMC,使用典型重复结构模型——HM(hoogenboom-martin)、ADS(accelerator driven sub-critical system)、DCA(deuterium critical assembly)全堆芯CAD模型进行测试,HM、ADS、DCA模型分别由1 114 384,113 952和20 808个实体组成。测试结果表明,裁剪算法能大幅减少待渲染对象数量,渲染速度明显提高,且模型规模越大,本文方法优势越明显,在远视角的情况下提升效果最为突出,能提升3倍左右;
结论
2
针对任意大规模CAD模型的快速渲染仍然是一个挑战,但本文针对重复结构CAD模型的特点,针对性地提出一套专用渲染策略,在个人计算机上实现大规模重复结构CAD模型的快速渲染。使用多个典型重复结构模型——反应堆全堆芯模型进行测试,测试结果表明了本文方法的有效性。
Objective
2
CAD(Computer Aided Design) is widely applied in many areas; however
rapidly rendering a large-scale CAD model on a commodity personal computer remains a challenge. Many researchers have been working on general-purpose rendering methods for large-scale models
and some have evaluated special-purpose rendering methods by utilizing the features of target models. The presented method belongs to special-purpose rendering methods. The method is designed to render a large-scale repeated-structure model
which is constructed by arranging several basic objects according to certain rules.
Method
2
Tree is often used to represent hierarchical CAD models. Two special nodes are defined to represent repeated-structure CAD models. One is used to represent basic objects
and the other is used for the "arrangement rule" of basic objects. A large-scale repeated-structure CAD model can thus be represented with a small-scale tree. CAD models cannot usually be rendered directly; they are to be converted into facets for rendering. However
the corresponding facet models for large-scale CAD models are extremely large to be stored and processed
which is a significant problem for large CAD model rendering. Repeated-structure CAD models are constructed by arranging few basic objects according to some rules. Therefore
the presented method solves the problem by generating and storing only the facets of basic objects
and the facets of all other objects are generated during the rendering process according to arrangement rules. Basic objects are less than the total objects in CAD models
and facets of basic objects are thus easy to generate and store. The running time of the view-frustum culling algorithm is proportional to facet number. For a large number of facets involved in large-scale CAD model rendering
the efficiency of the view-frustum culling algorithm is necessary to improve. Instead of processing facets directly
the presented method culls objects layer by layer by utilizing the hierarchical structure of repeated-structure CAD models. Accordingly
most objects can be processed in a high level
and only small part of objects is left to be processed in the facet level. The presented view-frustum culling algorithm is implemented by combining hierarchical structure features of the repeated structure CAD model and the render-to-texture functions of a modern GPU. The algorithm can select target objects rapidly
which is another contribution to rapid rendering.
Result
2
The presented method is implemented on the basis of ACIS
OpenGL
and HOOPS in Visual Studio 2010
and all testing is performed on a computer equipped with 3.20 GHz CPU
4.0 GB RAM
NIVIDIA GeForce GT740 GPU
and Windows 7 operating system. The presented method is integrated into SuperMC (Multi-physics Coupling Analysis Modeling program)
which is a self-developed nuclear simulation program. SuperMC is often used in processing full reactor core models
which are typical repeated-structure CAD models. Thus
three full reactor core CAD models
namely
HM
ADS
and DCA
are selected for testing
which consist of 1 114 384
113 952
and 20 808 entities
respectively. For the three full reactor core models
the presented method performs best on the HM model and performs worst on the DCA model. HM is considerably larger than DCA. The presented method is designed for large-scale models. In comparison with the traditional rendering method
the presented method exhibits better performances on all the three models
it can achieve about three times rendering speed increase for far-view rendering. Although the presented method and the traditional method can achieve similar rendering qualities
the presented method can achieve a higher rendering rate
especially for far-view rendering. The test result demonstrates the effectiveness of the presented method.
Conclusion
2
The development of general-purpose rendering methods for large-scale CAD models remains a challenge. This paper presents a special-purpose rapid rendering method
which can render a large repeated-structure CAD model
according to the features of repeated-structure CAD models. The developed method is integrated into self-developed software SuperMC for application. Three full reactor core models based on SuperMC are used for testing. The presented method can achieve a good rendering quality and a high rendering rate than those of the traditional rendering method
which demonstrates the effectiveness of the presented method. Only "array-arrangement rule" is currently supported by the presented method; thus
to support more "arrangement rules" is our future work.
Gao Y, Wu L D, Wei Y M. A survey on real-time, interactive visualization of massive models[J]. Journal of Image and Graphics, 2008, 13(9):1633-1640.
高宇, 吴玲达, 魏迎梅.海量模型实时交互可视化技术综述[J].中国图象图形学报, 2008, 13(9):1633-1640. [DOI:10.11834/jig.20080901]
Yoon S E, Gobbetti E, Kasik D, et al. Real-time Massive Model Rendering[M]. San Rafael:Morgan and Claypool, 2008:1-122.
Silva C T, Correa W T. Method for Out-of Core Rendering of Large 3D Models:US, US6933946[P]. 2005-08-23.
Xue J J, Zhao G, Xiao W L. Efficient GPU out-of-core visualization of large-scale CAD models with voxel representations[J]. Advances in Engineering Software, 2016, 99:73-80.[DOI:10.1016/j.advengsoft.2016.05.006]
Xue J J, Zhao G, Xiao W L. An efficient GPU out-of-core framework for interactive rendering of large-scale CAD models[J]. Computer Animation&Virtual Worlds, 2016, 27(3-4):231-240.[DOI:10.1002/cav.1704]
Sun G P. A digital mock-up visualization system capable of processing giga-scale CAD models[J]. Computer-Aided Design, 2007, 39(2):133-141.[DOI:10.1016/j.cad.2006.11.002]
Cao Y, Xiao L, Wang H W, et al. High quality rendering of numerical nuclear reactor with solid model[J]. Journal of Computer-Aided Design&Computer Graphics, 2016, 28(11):1924-1932.
曹轶, 肖丽, 王华维, 等.实体建模数值反应堆的高质量绘制[J].计算机辅助设计与图形学学报, 2016, 28(11):1924-1932. [DOI:10.3969/j.issn.1003-9775.2016.11.014]
Wu Y C, Song J, Hu L Q, et al. Super monte Carlo simulation program for nuclear and radiation process:SuperMC[J]. Nuclear Science and Engineering, 2016, 36(1):62-71.
吴宜灿, 宋婧, 胡丽琴, 等.超级蒙特卡罗核计算仿真软件系统SuperMC[J].核科学与工程, 2016, 36(1):62-71. [DOI:10.3969/j.issn.0258-0918.2016.01.009]
Luo Y T, Zhou J, Gan Q, et al. Rapid cross-section visualization method for large-scale CAD model with repeated structure[J]. Journal of Computer-Aided Design&Computer Graphics, 2017, 29(3):528-536.
罗月童, 周俊, 甘佺, 等.面向大规模重复结构CAD模型的快速截面可视化方法[J].计算机辅助设计与图形学学报, 2017, 29(3):528-536. [DOI:10.3969/j.issn.1003-9775.2017.03.016]
Wu Y C, Yu S P, Cheng M Y, et al. design and implementation of multi-physics coupling analysis modeling program SuperMC/MCAM5.2[J]Atomic Energy Science and Technology, 2015, 49(S):1-6.
吴宜灿, 俞盛朋, 程梦云, 等.多物理耦合分析自动建模软件SuperMC/MCAM5.2设计与实现[J].原子能科学技术, 2015, 49(S):1-6. [DOI:10.7538/yzk.2015.49.S0.0001]
Gan Q, Wu B, Yu S P, et al. CAD-based hierarchical geometry conversion method for modeling of fission reactor cores[J]. Annals of Nuclear Energy, 2016, 94:369-375.[DOI:10.1016/j.anucene.2016.03.013]
Brun R, Gheata A, Gheata M. The ROOT geometry package[J]. Nuclear Instruments and Methods in Physics Research Section A:Accelerators, Spectrometers, Detectors and Associated Equipment, 2003, 502(2-3):676-680.[DOI:10.1016/S0168-9002(03)00541-2]
SPATIAL Corporation. 3D ACIS modeling[EB/OL].[2016-04-30] . http://www.spatial.com/products/3d-acis-modeling http://www.spatial.com/products/3d-acis-modeling .
Tech Soft 3D. HOOPS visualize[EB/OL].[2016-04-30] . http://www.techsoft3d.com/our-products/hoops-visualize http://www.techsoft3d.com/our-products/hoops-visualize .
Hoogenboom J E, Martin W R. A proposal for a benchmark to monitor the performance of detailed Monte Carlo calculation of power densities in a full size reactor core[C]//Proceedings of ANS Mathematics&Computation Division Topical Meeting. Saratoga Springs, NY:ANS, 2009.
Wu Y C, Bai Y Q, Song Y, et al. Conceptual design of China lead-based research reactor CLEAR-Ⅰ[J]. Nuclear Science and Engineering, 2014, 34(2):201-208.
吴宜灿, 柏云清, 宋勇, 等.中国铅基研究反应堆概念设计研究[J].核科学与工程, 2014, 34(2):201-208.
相关文章
相关作者
相关机构
京公网安备11010802024621