艺术家进行设计时,常常需要一种可以交互地修改模型表面材质的工具.为了在环境光下对模型表面的材质进行实时编辑,提出一种基于预计算辐射传输的算法:首先预计算环境光相对于模型表面每一个顶点的可见性;然后在绘制时实时计算物体表面的双向反射分布函数(BRDF);最后通过查找环境光相对于模型表面每一个顶点的可见性,快速绘制出物体表面材质.实验结果表明,使用该算法,用户可以通过调节BRDF的参数,实现物体表面材质的实时动态编辑,同时支持动态视点和动态环境光.
When artists design models, they usually need a tool for real-time material editing. Based on recent based on precomputed radiance transfer techniques, this paper proposes a novel method for real-time editing object material under complex environment lighting. First, we precompute the visibility for each vertex as a preeomputation stage; Next, at rendering stage, we on-the fly compute bidirectional reflectance distribution function (BRDF). Finally, we render the object material by looking up visibility of each vertex. Using the proposed method, the users could edit the material by simply adjusting parameters of BRDF. Our method achieved real-time dynamic editing under dynamic viewpoints and changing environment lighting.