LI Jiaru,HE Xiaoxi,LIU Yinghu,et al.A Procedural Texture Synthesis Method based on Perlin Noise and Fractal Brownian Motion[J].Journal of Chengdu University of Information Technology,2025,40(01):14-20.[doi:10.16836/j.cnki.jcuit.2025.01.003]
一种基于柏林噪声和分形布朗运动的过程纹理合成方法
- Title:
- A Procedural Texture Synthesis Method based on Perlin Noise and Fractal Brownian Motion
- 文章编号:
- 2096-1618(2025)01-0014-07
- Keywords:
- procedural texture; Perlin noise; fractal; interpolation; real time
- 分类号:
- TP391
- 文献标志码:
- A
- 摘要:
- 针对现有的人工智能生成纹理和基于样图的纹理合成中存在的不可控、缺乏灵活性、低实时性等问题,运用过程纹理生成技术,提出一种基于柏林噪声和分形布朗运动的纹理生成算法,用于合成真实木制纹理特征。该算法首先将待生成的纹理空间划分为规则且均匀的网格点,同时在每个网格顶点处随机生成一个梯度向量,然后使用三线性插值方法对网格点上的梯度向量进行插值运算,同时将多频率、多振幅的噪声纹通过分形算法加权叠加处理,生成一个平滑的纹理图案,在此基础上对纹理进行缩放、扭曲、添加木眼来模拟真实的纹理结构。实验证明该算法能真实地模拟木制纹理的特征,且具有实时、高效、可定制性强等优点,在游戏、建模、虚拟现实等领域具有广泛的应用价值。
- Abstract:
- To solve the problems of uncontrollable,inflexible and low real-time synthesis process in the existing artificial intelligence texture generation,and sample based texture synthesis,this paper uses procedural texture generation technology to processes a texture generation algorithm based on Perlin noise and fractal Brownian motion,which is used to synthesize the features of real wood texture.Firstly,the texture space to be generated is divided into regular and uniform grid points,and a gradient vector is randomly generated in each grid point.Then,the gradient vector on the grid points is interpolated using the tri-linear interpolation method. At the same time,the noise patterns with multiple frequencies and amplitudes are weighted and superposed by the fractal algorithm to generate a smooth texture pattern,and on this basis,the texture is scaled,distorted Add wooden eyes to simulate realistic texture structures.Experiments have shown that this algorithm can truly simulate the characteristics of wooden textures,and this synthesis method has advantages such as real-time,efficient,and strong customizability,which has broad application value in fields such as games,modeling,and virtual reality.
参考文献/References:
[1] Gatys L,Ecker A S,Bethge M.Texture synthesis using convolutional neural networks[J].Advances in neural information processing systems,2015,28:262-270.
[2] Ulyanov D,Lebedev V,Vedaldi A,et al.Texture networks:Feed-forward synthesis of textures and stylized images[C].International Conference on Machine Learning,2016:1349-1357.
[3] Zhou Y,Zhu Z,Bai X,et al.Non-stationary texture synthesis by adversarial expansion[J].ACM Trans.Graph,2018,37(4):1-13.
[4] 陈凯健,李二强,周漾.基于相对坐标控制的非均匀纹理合成方法[J].计算机辅助设计与图形学学报,2023,35(2):284-292.
[5] Efros A A,Freeman W T.Image quilting for texture synthesis and transfer[C].Proceedings of the 28th Annual Conference on Computer Graphics and Interactive Techniques,2001:341-346.
[6] 徐晓刚,鲍虎军,马利庄.基于相关性原理的多样图纹理合成方法[J].自然科学进展,2002(6):107-110.
[7] 靳利贞,李庆忠.基于接缝一致性准则的结构纹理图像快速合成算法[J].计算机科学,2022,49(6):262-268.
[8] Peachey D R.Solid texturing of complex surfaces[J].ACM SIGGRAPH Computer Graphics,1985,19(3):279-286.
[9] Perlin K.An image synthesizer[J].ACM Siggraph Computer Graphics,1985,19(3):287-296.
[10] Santoni C,Pellacini F.Gtangle:A grammar for the procedural generation of tangle patterns[J].ACM Transactions on Graphics,2016,35(6):1-11.
[11] Liu J,Gan Y,Dong J,et al.Perception-driven procedural texture generation from examples[J].Neurocomputing,2018,291(5):21-34.
[12] Larsson M,Ijiri T,Yoshida H,et al.Procedural texturing of solid wood with knots[J].ACM Transactions on Graphics,2022,41(4):1-10.
[13] 王志强,张志伟,杨海泉.基于Perlin噪声的花卉仿真方法[J].深圳大学学报(理工版),2019,36(4):460-466.
[14] 陈国栋,苏志鹏,李剑斌.基于柏林噪声的心脏纹理图细化[J].佳木斯大学学报(自然科学版),2018,36(6):898-901.
[15] 霍星,檀结庆.噪声函数在木纹纹理中的应用[J].合肥工业大学学报(自然科学版),2005(11):1465-1467.
[16] Perlin K.Improvingnoise[J].ACM Transactions on Graphics,2002,21(3):681-682.
备注/Memo
收稿日期:2023-09-07
基金项目:四川省科技厅重大专项资助项目(2022ZDZX0001); 四川省科技厅重点研发资助项目(2022YFG0033、2022YFG0037); 四川省信息化应用支撑软件工程技术研究中心开放课题项目(2021RJGC-Y01)
通信作者:何晓曦.Email:microwest@cuit.edu.cn