APP下载

尺寸自适应的T-Tile三维纹理合成

2016-03-17孙劲光刘双九

计算机应用与软件 2016年2期
关键词:模型

孙劲光 刘双九

1(辽宁工程技术大学电子与信息工程学院 辽宁 葫芦岛 125105)

2(辽宁工程技术大学研究生学院 辽宁 葫芦岛 125105)



尺寸自适应的T-Tile三维纹理合成

孙劲光1刘双九2

1(辽宁工程技术大学电子与信息工程学院辽宁 葫芦岛 125105)

2(辽宁工程技术大学研究生学院辽宁 葫芦岛 125105)

摘要以Wang Tiles纹理合成算法思想为基础,提出一种新的三维网格纹理合成算法。首先,分析给定的样本纹理,得到适当的纹理块尺寸,根据该尺寸从样本纹理中选取3个菱形纹理块,生成T-Tile初始框架;其次,从样本纹理中提取与T-Tile初始框架尺寸相同的纹理块作为替代纹理块,与初始框架完全重叠放置,制作T-Tile;最后,调整给定的三角网格模型为等边三角形网格模型,按照T-Tile边界颜色匹配的原则进行三角形面片的纹理合成。实验结果表明,该算法能够以较快的速度进行纹理合成,达到了实时纹理合成的效果,同时也可以得到较高的纹理合成质量。

关键词纹理三维纹理合成T-Tile初始框架替代纹理块最佳缝合路径T-Tiles集合

T-TILE 3D TEXTURE SYNTHESIS ALGORITHM WITH SIZE ADAPTED

Sun Jinguang1Liu Shuangjiu2

1(School of Electronic Information Engineering,Liaoning Technical University,Huludao 125105,Liaoning,China)2(School of Graduate,Liaoning Technical University,Huludao 125105,Liaoning,China)

AbstractThis paper presents a new three dimensional mesh texture synthesis algorithm based on the idea of Wang Tiles texture synthesis algorithm. First,we analysed the given sample texture to get appropriate size of texture blocks,and picked up three diamond texture blocks from sample texture according the size,and generated initial framework of T-Tile. Secondly,we extracted the texture blocks having the same sizes as the initial T-Tile framework from texture sample as the alternative blocks,and placed them completely overlapping with initial framework and designed the T-Tile. Finally,we adjusted the given triangular mesh model to an equilateral triangle mesh model,realised the triangular facets texture synthesis according to the principle of colour matching of T-Tile’s border. Experimental results show that this algorithm can complete texture synthesis quickly,achieves the effect of real-time texture synthesis,and can meanwhile reach higher quality of texture synthesis.

KeywordsTexture3D texture synthesisInitial T-Tile frameworkAlternative texture blockOptimal stitching pathT-Tiles set

0引言

纹理能够表现出物体表面的丰富细节,因此三维纹理的实时绘制成为真实感图形学等多领域的研究热点。基于样本的纹理合成能够在网格曲面上快速、准确地生成纹理,它的主要思想是根据用户给定的样本纹理,生成目标纹理,同时保证目标纹理自身的连续性以及它与样本纹理的相似性。基于样本的纹理合成自提出以来,迅速成为众多文献的研究热点。

基于样本的纹理合成根据合成单元分为基于像素点的纹理合成与基于块的纹理合成两大类。……

登录APP查看全文

猜你喜欢

模型
一半模型
一种去中心化的域名服务本地化模型
适用于BDS-3 PPP的随机模型
函数模型及应用
p150Glued在帕金森病模型中的表达及分布
函数模型及应用
重尾非线性自回归模型自加权M-估计的渐近分布
3D打印中的模型分割与打包
FLUKA几何模型到CAD几何模型转换方法初步研究
一个相似模型的应用