计算机技术与发展
計算機技術與髮展
계산궤기술여발전
COMPUTER TECHNOLOGY AND DEVELOPMENT
2014年
1期
122-125
,共4页
流体动力学%烟雾模拟%N-S方程%实时渲染%边界条件
流體動力學%煙霧模擬%N-S方程%實時渲染%邊界條件
류체동역학%연무모의%N-S방정%실시선염%변계조건
fluid dynamics%smoke simulation%N-S equations%real-time rendering%boundary conditions
针对使用直接绘制法渲染烟雾时,在高网格分辨率下实时性差的问题,文中提出了一种新的基于纹理的烟雾渲染算法。该算法采用不可压缩的Navier-Stokes方程作为烟雾模拟的基本物理计算模型,从而保证烟雾物理运动的真实性,同时利用OpenGL中的纹理映射技术渲染烟雾,保证了烟雾渲染效果真实,烟雾模拟细节更能体现出来;另外文中还给出了在烟雾中添加障碍物时边界条件的计算方式。模拟实验结果表明,该算法既能满足烟雾模拟的实时性,又能真实有效地模拟烟雾流动情况。
針對使用直接繪製法渲染煙霧時,在高網格分辨率下實時性差的問題,文中提齣瞭一種新的基于紋理的煙霧渲染算法。該算法採用不可壓縮的Navier-Stokes方程作為煙霧模擬的基本物理計算模型,從而保證煙霧物理運動的真實性,同時利用OpenGL中的紋理映射技術渲染煙霧,保證瞭煙霧渲染效果真實,煙霧模擬細節更能體現齣來;另外文中還給齣瞭在煙霧中添加障礙物時邊界條件的計算方式。模擬實驗結果錶明,該算法既能滿足煙霧模擬的實時性,又能真實有效地模擬煙霧流動情況。
침대사용직접회제법선염연무시,재고망격분변솔하실시성차적문제,문중제출료일충신적기우문리적연무선염산법。해산법채용불가압축적Navier-Stokes방정작위연무모의적기본물리계산모형,종이보증연무물리운동적진실성,동시이용OpenGL중적문리영사기술선염연무,보증료연무선염효과진실,연무모의세절경능체현출래;령외문중환급출료재연무중첨가장애물시변계조건적계산방식。모의실험결과표명,해산법기능만족연무모의적실시성,우능진실유효지모의연무류동정황。
In order to avoid the limitations of direct rendering for high grid smoke simulation,a texture rendering method is presented in this paper. This algorithm adopts incompressible Navier-Stokes equations as the basic physics computing model of smoke simulation to guarantee the realistic of smoke movement,simultaneously applies texture mapping in OpenGL to determine the smoke rendering effect. A calculation method of boundary conditions is also presented when obstacle is added in the smoke. The simulation experiment of the smoke phenomenon shows that the algorithm can both run in real-time for high grid sizes and efficiently simulate realistic movement of smoke.