《机电工程》杂志,月刊( 详细... )

中国标准连续出版物号 ISSN 1001-4551 CN 33-1088/TH
主办单位浙江省机电集团有限公司
浙江大学
主编赵 群
副 主 编唐任仲、罗向阳(执行主编)
总 经 理罗向阳
出 版浙江《机电工程》杂志社有限公司
地 址杭州市上城区延安路95号浙江省机电集团大楼二楼211、212室
电话Tel+86-571-87041360、87239525
E-mailmeem_contribute@163.com
国外发行中国国际图书贸易总公司
订阅全国各地邮局   国外代号M3135
国内发行浙江省报刊发行局
邮发代号32-68
广告发布登记证:杭上市管广发G-001号

在线杂志

当前位置: 机电工程 >>在线杂志

一种新的三维卡通流水绘制框架*

作者:姜曦楠1,姜来生2 日期:2010-09-08/span> 浏览:2923 查看PDF文档

一种新的三维卡通流水绘制框架*

姜曦楠1,姜来生2

(1.浙江大学 CAD & CG国家重点实验室,浙江 杭州 310027;2.嘉兴职业技术学院,浙江 嘉兴 314036)

摘要:为了更好地表达绘制流体,提出了一种基于SPH流体模拟的新的三维卡通流水绘制框架并完成了系统实现。框架可分为3个部分:流体物理模拟模块、流体绘制表面提取模块,以及流体非真实感纹理绘制模块。在流体物理模块,通过SPH粒子模拟,利用体素化的Lagrange算法求解NavierStokes方程,得到了真实的流体运动信息。在流体绘制表面提取模块,通过Marching Cubes算法自动提取流体绘制表面。在流体非真实感纹理绘制模块,提出了两种新的过程化的卡通绘制模型,分别绘制水纹和浪头。实验结果表明该方法能实时自动地绘制非真实感的流体。
关键词:卡通流水;光滑粒子流体动力学;Marching Cubes;体素化;三维
中图分类号:TH164;TM311
文献标识码:A文章编号:1001-4551(2010)07-0061-04

A novel framework for 3D cartoon water rendering
JIANG Xinan1, JIANG Laisheng2
(1. State Key Lab of CAD & CG, Zhejiang University, Hangzhou 310027, China; 
2. Jiaxing Vocational and Technical College, Jiaxing 314036, China)

Abstract: Aiming at rendering fluids expressively, a novel framework for 3D cartoon water rendering based on SPH was proposed and a system based on this framework was implemented. The framework was composed of 3 parts: simulation of fluids with physical process, abstraction of fluids rendering surface, and generating of fluids nonphotorealistic texture. To implement NavierStokes equations, Lagrange approach with smoothed particle hydrodynamics(SPH) method was adopted in the module of fluids simulation. Furthermore, the classic approach was improved with voxel method. Fluids surface was abstracted with the algorithm of marching cubes in the module of surface abstraction. Models of ripple and wave in cartoonstyle were constructed in the module of nonphotorealistic texture generating. The experiment results indicate that our approach can render nonphotorealistic fluids automatically in realtime.
Key words: cartoon water; smoothed particle hydrodynamics(SPH); Marching Cubes; voxel; 3D



友情链接

浙江机械信息网