摘要
本文针对蜡染冰纹和蜡染布料染色两个关键工作进行模拟.使用FIT(?ood identity transform)算法,使模拟具有一定实时性;提出复合交点距离模拟交点加粗效果;使用形态修正、扰动等方法改善冰纹形态及视觉效果.不考虑布料结构,基于乘性模型,尝试多色染色模拟.选择平织纹棉布料,建立布料模型,建立扩散微分方程,对蜡染图案及冰纹进行单色染色模拟.在染色中使用椭圆模型并引入Perlin噪声,有效模拟了晕染现象.实验表明,本文方法能够模拟手工蜡染作品的基本特征.
This paper simulates two important processes of batik: crack generation and cloth dyeing. We use FIT algorithm and other methods to reduce the execution time and achieve good visual effects. We attempt to simulate the multi-colored dyeing process without considering the cloth structure. Dyeing of a batik plain weave cloth is simulated by a batik cloth model and a differential diffusion equation. Mottling is simulated by an ellipse model with Perlin noise. Experiments show that these methods can properly simulate the characteristics of batik.
引文
1 Cai F L,Peng R,Yu J H.Analysis and synthesis of peking opera facial make-ups.J Comput-Aid Des Comput Graph,2009,21:1092-1097[蔡飞龙,彭韧,于金辉.京剧脸谱分析与合成.计算机辅助设计与图形学学报,2009,21:1092-1097]
2 Cai F L,Yu J H.Modeling and editing of peking opera facial makeup expressions.J Image Graph,2010,15:958-963[蔡飞龙,于金辉.京剧脸谱表情建模与编辑.中国图象图形学报,2010,15:958-963]
3 Li Y,Yu J H,Ma K L,et al.3D paper-cut modeling and animation.Comput Animat Virt World,2007,18:395-403
4 Min F,Sang N.An automatic generation method of multi-styles portraits based on the and-or graph representation.Chinese J Comput,2009,32:1595-1602[闵锋,桑农.一种基于与或图表示的多风格肖像画自动生成方法.计算机学报,2009,32:1595-1602]
5 Pu Y Y,Su Y,Wei X M,et al.System of line drawing for Yunnan heavy color painting.Comput Eng Des,2011,32:607-610[普园媛,苏迤,魏小敏,等.云南重彩画白描图绘制系统.计算机工程与设计,2011,32:607-610]
6 Terzopoulos D,Platt J,Barr A,et al.Elastically deformable models.In:Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques,1987.205-214
7 Norton A,Turk G,Bacon B,et al.Animation of fracture by physical modeling.Visual Comput,1991,7:210-219
8 Gobron S,Chiba N.Simulation of peeling using 3D-surface cellular automata.In:Proceedings of the 9th Pacific Conference on Computer Graphics and Applications,2001.338-347
9 Federl P,Prusinkiewicz P.Finite element model of fracture formation on growing surfaces.In:Proceedings of International Conference on Computational Science,2004.138-145
10 Wyvill B,Overveld K V,Carpendale S.Rendering cracks in batik.In:Proceedings of the 3rd International Symposium on Non-Photorealistic Animation and Rendering,2004.61-149
11 Tang Y,Fang K J,Fu S H,et al.An improved algorithm for simulating wax-printing patterns.Textile Res J,2011,81:1510-1520
12 Li B J,Lv J.Simulation of batik ice cracks based on multi-level growth model.J Guizhou Univ(Natl Sci),2014,31:88-91[李宝君,吕健.基于多级生长模型的蜡染冰裂纹仿真研究.贵州大学学报:自然科学版,2014,31:88-91]
13 Liu S G,Chen D.Computer simulation of batik printing patterns with cracks.Textile Res J,2015,85:1972-1984
14 Morimoto Y,Tsuruno R,Tomimatsu K.Liquid penetration modeling for cloth dyeing.In:Proceedings of the 3rd Eurographics Conference on Computational Aesthetics in Graphics,Visualization and Imaging,2007.97-104
15 Morimoto Y,Ono K.Computer-generated tie-dyeing using a 3D diffusion graph.In:Proceedings of the 6th International Conference on Advances in Visual Computing,2010.707-718
16 Morimoto Y,Tanaka M,Tsuruno R,et al.Dyeing theory based liquid diffusion model on woven cloth.In:Proceedings of ACM SIGGRAPH,2007
17 Morimoto Y,Tanaka M,Tsuruno R,et al.Visualization of dyeing based on diffusion and adsorption theories.In:Proceedings of Pacific Conference on Computer Graphics and Applications,2007.57-64
18 Liu S G,Chen G J,Yang P,et al.Realistic simulation of stains on cloth.J Comput-Aid Des Comput Graph,2008,20:1110-1116[刘世光,陈国军,杨鹏,等.布料上污渍效果的真实感模拟.计算机辅助设计与图形学学报,2008,20:1110-1116]
19 Yu Y T,Xu D.Computer-generated batik crack in real time.In:Proceedings of International Conference on Virtual Reality and Visualization,2014.146-153
20 Yu Y T,Yu Z L,Qian W H,et al.Visualization of batik cloth based on diffusion.In:Proceedings of International Conference on Virtual Reality and Visualization,2016.511-515
21 Yu Y T,Xu D.Research on batik crack rendering algorithm.J Graph,2015,36:159-165[喻扬涛,徐丹.蜡染冰纹生成算法研究.图学学报,2015,36:159-165]
22 Yu Y T,Yu Z L,Qian W H,et al.Batik dying simulation based on diffusion.J Syst Simul,2018,30:2117-2124[喻扬涛,俞振璐,钱文华,等.基于扩散的蜡染染色模拟.系统仿真学报,2018,30:2117-2124]
23 Qian W H,Xu D,Guan Z,et al.Simulating chalk art style painting.J Image Graph,2017,22:622-630[钱文华,徐丹,官铮,等.粉笔画艺术风格模拟.中国图象图形学报,2017,22:622-630]
24 Fick A.On liquid diffusion.J Membrane Sci,1995,100:33-38
25 Perlin K.An image synthesizer.In:Proceedings of the 12th Annual Conference on Computer Graphics and Interactive Techniques,1985.287-296