摘要
为解决传统二维凹凸映射无法适用于三维模型任意剖面的问题,提出一种三维模型任意剖面的程序式凹凸映射生成算法。该算法使用球、圆柱等作为模型内部的微观颗粒,使用三维Perlin噪声对颗粒添加扰动,提升模拟真实感。根据颗粒与剖面的位置关系,将剖面分为撕裂面、空心切割面、实心切割面。分别应用不同的程序式凹凸映射算法,计算法线扰动信息,得到剖面的凹凸映射纹理。仿真结果表明,该算法可以在三维模型任意剖面上产生凹凸映射效果,渲染一帧大约只需0.5ms,满足实时切割渲染的需求。
To solve the problem that traditional two-dimensional bump mapping is not applicable for 3D models,a procedural bump mapping algorithm for any sections of 3D models was proposed.The algorithm assumed that the inner microstructure was spherical or cylinder,and used 3D Perlin noise to perturb the microstructure to improve simulation reality.According to the relationship between microstructure and sections,these sections were divided into three types including tearing,hollow cutting and solid cutting.Different procedural bump mapping algorithms were applied to compute normal perturbation information.Therefore,the bump mapping texture of the sections was obtained.The simulation results show that the proposed algorithm can produce bump mapping on any sections of various 3D models,and it only needs 0.5 milliseconds to render a frame,which can meet the needs of real-time cutting rendering.
作者
李冰
贾世宇
LI Bing;JIA Shi-yu(College of Computer Science and Technology,Qingdao University,Qingdao 266071,China)
出处
《计算机工程与设计》
北大核心
2022年第5期1366-1373,共8页
Computer Engineering and Design
基金
“十二五”国家科技支撑计划基金项目(2013BAI01B03)。
关键词
凹凸映射
三维模型
柏林噪声
实时切割
程序式纹理
bump mapping
three-dimension model
Perlin noise
real-time cutting
procedural texture