节点文献

基于元胞自动机的自然云模拟

Simulation of Natural Cloud on Cellular Automaton

【作者】 孙田子

【导师】 刘弘;

【作者基本信息】 山东师范大学 , 计算机软件与理论, 2010, 硕士

【摘要】 自然现象的模拟是近十几年来计算机图形学的一个重要研究领域,自然景物的渲染是图形学技术研究中的一个重点和难点之一,如何构造结构复杂、形态变化的物体是计算机图形学的一个新课题,而其中云的模拟已经成为一个研究的热点。鉴于传统的集合建模方法难以有效的对云这种形状毫无规则并且动态变化极其复杂的物体进行描述等问题,本文选用元胞自动机模型为基础,通过结合流体力学中关于描述像云这种无规则物体等方面的介绍,在云的建模方法、动态模拟以及光照模型三个方面进行了改进研究。本文的研究内容主要包括:1.基于元胞自动机的云的建模通过对元胞自动机模型的研究,利用其简单、高效等的特点,结合云的物理现象,将元胞自动机应用于自然云的建模中,初步实现了自然云的模型建立,一定程度上提高了建模的速度。提出了一种基于元胞自动机的云的状态转变规则,该规则以真实世界中云的特征转变为基础,对云的产生加以控制,使模型的建立符合自然云的状态转变规律。2.结合数学物理方程研究了动态的自然云实现方法。在对流体力学中关于描述像云这种无规则物体等方面有了一定的研究的基础上,提取出影响云的运动的几种自然因素以及它们的影响方式,提出了利用元胞自动机模型对云的动态现象进行模拟的方法。该方法能够结合自然云运动的物理原理,使用元胞自动机的状态转变规则进行实现,有助于提高模拟的真实感。在真实世界中,云的高度会对风的大小产生影响,从而影响其被动的运动;而外界环境中的浓度,温度以及产生的对流扩散等都会使其发生内部的扰动变化。在数学物理方程中,对这些变化和影响都有着较为成熟的研究。而结合已有的数学物理方程,构建出基于元胞自动机模型的状态转变规则,使得云的动态模拟即具有真实性,又不失速度。3.对自然云的光照渲染进行了深入的研究在自然界中,光线在介质中的传播通常会产生反射、折射、衍射、散射等现象,在云中的传播也不例外。将云看成一个个小粒子,各个粒子所接受到的光线以及由此产生的反射、散射等现象会产生相互影响,并进一步影响所接受到的光线的强度,因此,光线在云中的传播是一个复杂而反复的过程。在光线传播的简化过程中,产生了多重散射和单向散射两种理论。在本文的研究过程中,在不失真实性的前提下,将其进一步简化,采用前向为主的多重散射和单向散射相结合的方法进行光线的渲染。在光线由光源传播到云的过程中,采用前向为主的多重散射模型,即真实的表现出了光线在云中的各种传播路径,又由于对其产生的极小影响的光线进行了弱化忽略,提高了计算速度;在计算光线由云团传播到视角的过程中,采用单向散射技术,满足了真实性和速度两方面的需求。本文中采用元胞自动机模型进行模拟,结合云的各种物理特性,从而得到了动态的,真实感强的自然云的模拟,在真实感和速度上均取得了比较满意的结果。

【Abstract】 Over the past decade, one of the important fields in the study of Computer Graphics is the imitation of natural phenomenon, rendering of natural scene is a hot topic in the research area of graphics. How to construct complex structures, and morphological changes of the object is a new topic in computer graphics with the imitation of clouds as its hot topic. The traditional set of modeling methods can not effectively describe shapes of the clouds that have no rules, and can dynamic changes. In this paper we bases on cellular automata model and the description of clouds-like objects in hydrodynamics to further study the cloud modeling, dynamic simulation, and the illumination model. The following aspects are studied in this paper:1. model of clouds on the basis of cellular automation.The cellular automation is simple and high efficient. The application of cellular automation to the setting of clouds model can basically increase the speed. This paper proposed state transition rules of clouds, based on cellular automata. The rules base on the characteristics of cloud changes in the real world, and control the speed of the formation of clouds, so the model can meet the natural cloud’s state transition laws.2. Combine with Mathematics Physics Equation to realize the natural cloud.After studying the fluid mechanics, which describes cloud-like objects that has no rules, we extracted some natural factors that affect the movement of clouds and their affecting ways. We proposed the cloud simulation method of using of cellular automaton model to stimulate the dynamic phenomena of the cloud. This method can be combined with the natural physics of cloud movement and the using of cellular automata rules helps to improve simulation realism. In the real world, cloud height will affect the size of the wind which will affect the passive movement of the clouds; and the external environment such as the concentration, temperature and convection-diffusion, will bring about internal disturbances. These changes have been studied in mathematical physics equations. This paper uses the equations of mathematical physics to build state transition rules based on cellular automata. So the dynamic simulation of the cloud is real and speedy.3. A deep study on the illumination rendering of natural clouds. In nature, light propagation will reflect, refract, diffract, scatter in the medium and it is the same when it’s in the cloud. The cloud is made up of small particles, and all particles receive light and they reflect, scatter. These phenomena will have mutual influences, and further affect the strength of their received light. So the spread of light in the clouds is a complex and iterative process. There are multiple scattering theories and single scattering theories in the process of light propagation. This paper further simplifies the process of light propagation without losing the authenticity. We mainly uses the multiple forward scattering and single scattering to render the light. In the process of the light propagates to clouds, we uses the multiple scattering models, which showed various communication paths, and because of the light was weakened and ignored, this model can improve the speed; and when we calculates the light transmits from the clouds to view, we use the one-way technology, which can meet authenticity and speed.This paper uses cellular automata model and various physical properties of clouds, to achieve a dynamic, and realistic simulation of natural cloud, which is real and speedy.

节点文献中: