摘要
为了提高在普通计算机上渲染复杂三维模型时的模型解析效率,同时提升渲染速度,提出基于局部渲染的硬件自适应展示方案.三维模型被分块后存储到关系型数据库中,在距离模型较近的情况下渲染时,根据实际的视角使用视点依赖的分块匹配算法从数据库中匹配出适量的分块模型数目进行局部渲染,并且随着视角的变换加载不同的分块;当视角距离较远时,预先已经保存好采用模型简化技术简化后的模型整体,直接对模型整体进行渲染展示.实验结果表明,此方法能够在普通的计算机上流畅地展示带有高清纹理贴图的三维模型,有效降低渲染复杂模型时对硬件条件的依赖.
A hardware-based display scheme based on local rendering was proposed to speed up the loading efficiency of complex three-dimensional model on ordinary computer and improve the rendering speed. The three-dimensional model was stored in the relational database after it was sliced. While rendering at close range, moderate amounts of meshes were loaded to rendering according to the actual viewing angle and different meshes were loaded with the transformation of the angle of view; in the distance way, a simplified model was loaded to display because the simplified whole model by the level of detail technology was saved in advance. The experimental results show that the proposed scheme makes the three-dimensional model with high-definition texture be rendered smoothly on the ordinary computer, which effectively reduces the dependence on higher hardware conditions while rendering complex model.
引文
[1]MARCO T,NICO P,PAOLO C,et al.Practical quad mesh simplification[J].Computer Graphics Forum,2010,29(2):407-418.
[2]CHEN G,ZHAO Q,YUAN Y.Keep region for constructing LOD of terrain regular mesh[C]//International Multi-Media Modelling Conference.Beijing:IEEE,2006:4.
[3]HIBERT K,BRUNNETT G.A hybrid LOD based rendering approach for dynamic scenes[C]//Proceedings of the Computer Graphics International.Greece:IEEE,2004:274-277
[4]李钦,戴树岭,赵永嘉,等.分块LOD大规模地形实时渲染算法[J].计算机辅助设计与图形学学报,2013,25(5):708-713.LI Qin,DAI Shu-ling,ZHAO Yong-jia,et al.A block LOD real-time rendering algorithm for large scale terrain[J].Journal of Computer-Aided Design and Computer Graphics,2013,25(5):708-713.
[5]LOSASSO F,HOPPE H,SCHAEFER S,et al.Smooth geometry images[C]//Proceedings of the 2003 Eurographics/ACM SIGGRAPH Symposium on Geometry processing.Switzerland:Eurographics Association Aire-la-Ville,2003.
[6]HOPPE H,PRAUN E.Shape compression using spherical geometry images[M]//DODGSON N A,FLOATER M S,SABIN M A.Advances in Multiresolution for Geometric Modelling.Berlin:Springer,2005:27-46.
[7]徐婵婵,费广正,韩红雷.面向移动设备的远程渲染技术综述[J].计算机辅助设计与图形学学报,2016,28(6):913-923.XU Chan-chan,FEI Guang-zheng,HAN Hong-lei.Areview of remote rendering on mobile devices[J].Journal of Computer-Aided Design and Computer Graphics,2016,28(6):913-923.
[8]MATTHIAS E,DEROSE T,TOM D,et al.Multiresolution analysis of arbitrary meshes[J].Proceedings of SIGGRAPH,1995:173-182.
[9]CHU C H,CHENG H C,WANG E,et al.ANN-based3D part search with different levels of detail(LOD)in negative feature decomposition[J].Expert Systems with Applications,2009,36(8):10905-10913.
[10]ANTONIO C,JESUS M.A performance comparison of distance-based query algorithms using R-trees in spatial databases[J].Information Sciences,2007,177(11):2207-2237.
[11]CHAJDAS M G,REITINGER M,WESTERMANN R.Scalable rendering for very large meshes[C/OL]//22nd International Conference in Central Europe on Computer Graphics,Visualization and Computer Vision.Plzen:WSCG,2014[2018-03-29].https://pdfs.semanticscholar.org/901a/b91db8b4b066ebf3c0f467e0820f6bf7803a.pdf.
[12]GAIN J,SOUTHERN R.Creation and control of realtime continuous level of detail on programmable graphics hardware[J].Computer Graphics Forum,2003,22(1):35-48.
[13]LOSASSO F,HOPPE H,SCHAEFER S,et al.Geometry clipmaps:terrain rendering using nested regular grids[J].Proceedings of SIGGRAPH,2004,23(3):769-776.
[14]SONG L,LI N S.Construct the virtual gram stain experiment platform based on 3D Max and VRP[J].Applied Mechanics and Materials,2014(596):1052-1055.
[15]FILIP B,HUGO L,JANTIEN S.An improved LODspecification for 3D building models[J].Computers,Environment and Urban Systems,2016(59):25-37.