虚拟家庭装修系统中实时渲染模块框架与特效的研究与实现
发布时间:2018-11-03 13:47
【摘要】:本文对虚拟家庭装修系统的实时渲染模块进行详细介绍与分析。首先根据系统的特定需求设计并实现了基本的实时渲染架构,整条实时渲染管线分为两个阶段:程序阶段和渲染阶段。程序阶段主要包含基于CellPortal的室内场景管理算法,通过分析墙体与门窗的位置等信息实时构造场景的CellPortal图,并结合摄像机与视域体的信息高效完成可见性测试。渲染阶段主要基于次世代渲染框架--延时光照,以高效完成像素级的光照计算,并且为了进一步提升渲染效率,在其中加入诸多优化方案,包括将几何、光强缓存压缩以减少显存与带宽占用率并最终去除显卡必须支持多渲染目标的限制,采用类似阴影锥判别算法的策略高效检测出受对应光源影响的像素以及修改具有物理正确性的渲染方程以适应延时光照框架。然后对基于该框架的渲染特效进行了详细介绍与分析,主要包含柔和阴影和环境光遮蔽效果。其中,柔和阴影地生成分为室内和室外两套解决方案,室内场景采用方差阴影映射算法(VSM)并通过为切比雪夫不等式添加尾项以及将VSM与指数阴影映射结合以消除溢光现象,室外场景采用光源投影空间阴影映射算法减少阴影边缘锯齿并结合Percentage-Closer Soft Shadows完成柔和阴影的生成。最后详细介绍和分析特别适用于延时光照框架的全局光照特效--屏幕空间环境光遮蔽,并根据其低频性质采用混合分辨率渲染方式提高其渲染效率,在滤波过程中加入双边滤波以保持模型边缘信息。
[Abstract]:In this paper, the real-time rendering module of virtual home decoration system is introduced and analyzed in detail. Firstly, a basic real-time rendering architecture is designed and implemented according to the specific requirements of the system. The whole real-time rendering pipeline is divided into two stages: the program phase and the rendering phase. In the program stage, the interior scene management algorithm based on CellPortal is mainly included. Through analyzing the location of the wall and doors and windows, the scene CellPortal diagram is constructed in real time, and the visibility test is accomplished efficiently by combining the information of the camera and the visual field. The rendering stage is mainly based on the second-generation rendering framework, the delayed illumination, to efficiently accomplish the pixel level illumination calculation. In order to further improve the rendering efficiency, a number of optimization schemes are added to the rendering framework, including geometry. Intensity cache compression to reduce video memory and bandwidth usage and ultimately remove the limitation that graphics cards must support multiple rendering targets, A similar shaded cone discriminant algorithm is used to efficiently detect the pixels affected by the corresponding light source and modify the rendering equations with physical correctness to adapt to the delayed illumination frame. Then, the rendering effects based on the framework are introduced and analyzed in detail, including soft shadows and ambient light shading effects. Among them, soft shadow generation can be divided into indoor and outdoor solutions. Indoor scene uses variance shadow mapping algorithm (VSM) and adds tail items to Chebyshev inequality, and combines VSM with exponential shadow mapping to eliminate light overflow. In the outdoor scene, the shadow mapping algorithm of light source projection space is used to reduce the sawtooth of shadow edge and to complete the generation of soft shadow with Percentage-Closer Soft Shadows. Finally, the global illumination effect, which is especially suitable for the delayed illumination frame, is introduced and analyzed in detail. According to its low frequency properties, the hybrid resolution rendering method is adopted to improve the rendering efficiency. In order to maintain the edge information of the model, a bilateral filter is added in the filtering process.
【学位授予单位】:浙江大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP391.41
本文编号:2307971
[Abstract]:In this paper, the real-time rendering module of virtual home decoration system is introduced and analyzed in detail. Firstly, a basic real-time rendering architecture is designed and implemented according to the specific requirements of the system. The whole real-time rendering pipeline is divided into two stages: the program phase and the rendering phase. In the program stage, the interior scene management algorithm based on CellPortal is mainly included. Through analyzing the location of the wall and doors and windows, the scene CellPortal diagram is constructed in real time, and the visibility test is accomplished efficiently by combining the information of the camera and the visual field. The rendering stage is mainly based on the second-generation rendering framework, the delayed illumination, to efficiently accomplish the pixel level illumination calculation. In order to further improve the rendering efficiency, a number of optimization schemes are added to the rendering framework, including geometry. Intensity cache compression to reduce video memory and bandwidth usage and ultimately remove the limitation that graphics cards must support multiple rendering targets, A similar shaded cone discriminant algorithm is used to efficiently detect the pixels affected by the corresponding light source and modify the rendering equations with physical correctness to adapt to the delayed illumination frame. Then, the rendering effects based on the framework are introduced and analyzed in detail, including soft shadows and ambient light shading effects. Among them, soft shadow generation can be divided into indoor and outdoor solutions. Indoor scene uses variance shadow mapping algorithm (VSM) and adds tail items to Chebyshev inequality, and combines VSM with exponential shadow mapping to eliminate light overflow. In the outdoor scene, the shadow mapping algorithm of light source projection space is used to reduce the sawtooth of shadow edge and to complete the generation of soft shadow with Percentage-Closer Soft Shadows. Finally, the global illumination effect, which is especially suitable for the delayed illumination frame, is introduced and analyzed in detail. According to its low frequency properties, the hybrid resolution rendering method is adopted to improve the rendering efficiency. In order to maintain the edge information of the model, a bilateral filter is added in the filtering process.
【学位授予单位】:浙江大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP391.41
【参考文献】
相关期刊论文 前7条
1 石祥滨;闻明宇;王越;;一种适合于大规模场景阴影绘制的分层方法[J];沈阳航空工业学院学报;2009年02期
2 晏福兴;王毅刚;;改进的百分比靠近软阴影技术的研究与实现[J];计算机工程与应用;2011年01期
3 赵乃良;陈艳军;潘志庚;;基于数据修正的实时阴影反走样算法[J];计算机辅助设计与图形学学报;2006年08期
4 李静;王文成;吴恩华;;加快光线跟踪计算的网格优化划分[J];计算机辅助设计与图形学学报;2008年08期
5 曲宝;赵娅;赵琦;;基于Virtools的虚拟家居漫游系统的设计与实现[J];计算机工程与科学;2009年12期
6 郭轶;陈岱林;姜立;张雷;;基于虚拟现实的三维建筑造型和装修设计系统[J];计算机仿真;2008年11期
7 杨卫军;龚建华;徐智勇;;Cell-Portal技术在数码城市GIS室内场景管理中的应用[J];武汉大学学报(信息科学版);2007年03期
相关硕士学位论文 前1条
1 陈舜;基于OpenGL的三维房屋装修系统的设计与实现[D];电子科技大学;2009年
,本文编号:2307971
本文链接:https://www.wllwen.com/wenyilunwen/shinazhuanghuangshejilunwen/2307971.html