摘要
在计算机图形学中,云的动态仿真一直是很重要的一部分,基于噪音对云建模的方法结合光线行进算法实现更加真实的实时渲染云。首先,使用一张2D噪音纹理纹理,用于生成形成的位置;其次,使用两张3D噪音纹理实现云的建模;最后,通过光线行进算法对建模好的云采样并绘制到屏幕中,同时在云的绘制中使用光照算法,以求更加真实。
In computer graphics,the dynamic simulation of the cloud has always been a very important part.The method of modeling the cloud based on noise combined with the light traveling algorithm realizes a more realistic real-time rendering of the cloud.First,use a 2D noise texture to generate the formed position;secondly,use two 3D noise textures to model the cloud;finally,use the light travel algorithm to sample the modeled cloud and draw it on the screen.At the same time,the lighting algorithm is used in the rendering of the cloud for more realism.
作者
刘芮
张建伟
谭诗瀚
LIU Rui;ZHANG Jian-wei;TAN Shi-han(National Defense Key Discipline Laboratory of Visual Synthesis Graphics and Image Technology,Sichuan University,Chengdu 610065)
出处
《现代计算机》
2021年第8期74-77,共4页
Modern Computer
基金
四川省科技计划项目(No.2020YFG0327)。
关键词
噪音
光线行进
体积云
Noise
Ray-Marching
Volumetric Clouds