采用正向光线跟踪的照相机成像实时模拟
Real-time Simulation of Camera Imaging by Forward Ray Tracing
-
摘要: 模拟了理想透镜模型和真实透镜模型的成像过程,采用从场景到底片的正向光线跟踪,计算底片所接收的光照度,真实地模拟底片的曝光过程.在改变透镜参数时,利用光线连贯性加快了绘制速度,这对于真实透镜模拟效果尤为明显.文中以两个几何场景和一幅景深很大的深度图像的摄像效果模拟为例,展示了不同参数下不同的景深和聚焦效果.Abstract: This paper proposes an efficient algorithm for the simulation of camera imaging based on both ideal and real camera models. The simulation of exposure is accomplished in two steps. First the forward projection of the scene onto the film is performed by ray tracing. Then the irradiances of the projected area of visible scene are calculated. By exploring the ray coherence during forward projection, imaging synthesis can be speedup once the lens parameters are adjusted. This is significant for simulation based on real camera model. Our experiments on two geometric scenes and a large depth image demonstrate vividly the effect of camera imaging with different parameters and show the efficiency of the proposed algorithm.
下载: