雪景模拟,特别是基于视频和图像的实时模拟,在计算机动画、游戏和影视特效制作领域有着广泛的应用.但是现有雪景模拟方法中,计算机图形学方法的三维背景建模复杂,而图像处理的相关方法多没有结合背景信息.结合图形和图像的方法,提出基于深度图信息在视频或图像上模拟具有层次感的粒子系统降雪,并在背景图像上添加动态积雪的效果;为增强真实感,对雪花运动建模并实现实时风场;同时加入运动模糊、色调调整、雾气渲染等方式以改进视觉效果.实验结果证明,该方法渲染出的雪景十分真实,并且速度达到了实时要求.
Photo-realistic snow simulation is an important topic in computer graphics and computer vision fields, and it is widely utilized in game and film industries. However, existing methods are hardly to be effectively used in reality. Object modeling in terms of computer graphics methods is highly complex and the methods based on computer vision approach are mostly lack of background information. In this paper, we present a video or image based simulation method for realistic snow failing and dynamic accumulation, in terms of depth map image. Also we implement a real-time wind field to achieve realistic physical movement of snowflakes, where motion blurring, image tone adjustment, fog rending methods are introduced for improving realistics. Experimental results show that our method attains good vision effect in real-time.