›› 2012, Vol. ›› Issue (06): 1543-1547.

• 论文 • 上一篇    下一篇

基于三角形包围盒的纹理地图集生成算法

江巨浪, 黄忠, 郑江云   

  1. 安庆师范学院 物理与电气工程学院, 安徽 安庆 246011
  • 收稿日期:2011-10-08 出版日期:2012-11-01
  • 基金资助:
    安徽省自然科学基金项目(090412065).

Algorithm for texture atlas generation based on triangular bounding box

JIANG Ju-lang, HUANG Zhong, ZHENG Jiang-yun   

  1. School of Physics and Electrical Engineering, Anqing Normal University, Anqing 246011, China
  • Received:2011-10-08 Online:2012-11-01

摘要: 在平面坐标系中旋转所有网络三角形,使其最长边为水平方向。按照包围盒高度递减次序,将每个三角形包围盒在地图集中沿扫描线顺序滑动。通过标签矩阵中的包围盒碰撞测试实现三角形纹理的空间定位,由此获取三角形纹理坐标并完成对地图集的纹理填充。采用二分法测试三角形的最佳缩放系数,使所有三角形包围盒正好填满地图集空间。理论分析与试验结果表明:该算法具有简单稳定、存储纹理不变形的优点,与同类算法相比其空间填充率有较大幅度提高,运行时间没有明显增加。

关键词: 计算机应用, 纹理地图集, 三角网格, 包围盒, 空间填充率

Abstract: All triangles are rotated in the plane coordinate system so that their longest edges are set horizontally. Each triangular bounding box is placed into atlas space in descending order of its height and slides along the scan lines. The triangular texture is located on the atlas through crash test of its bounding box in the label matrix, thus the texture coordinates of the triangle are gained and its texture is packed into the atlas. The best scaling factor of triangles is tested by bisection method, so that all the triangular bounding boxes just fill the atlas space. Theoretical analysis and experimental results show that the algorithm is simple and stable, and possesses the advantage of storing textures without distortion. Compared with other similar algorithms, the capacity rate of the proposed algorithm can be greatly improved, meanwhile there is no obvious increase in its running time.

Key words: computer applications, texture atlas, triangular mesh, bounding box, capacity rate

中图分类号: 

  • TP391
[1] Wu Fu-li, Mei Chun-hui, Shi Jiao-ying. Method of direct texture synthesis on arbitrary surfaces[J]. Journal of Computer Science and Technology, 2004,19(5):643-649.
[2] Lefebvre S, Hoppe H. Appearance-space texture synthesis[J]. ACM Transactions on Graphics,2006,25(3):541-548.
[3] Hart J C. Perlin noise pixel shaders[C]//Proceedings of the ACM Siggraph/Eurographics Workshop on Graphics Hardware, Los Angeles, California, 2001: 87-94.
[4] All鑞e C,Pons J P,Keriven R.Seamless image-based texture atlases using multi-band blending[C]//The 19th International Conference on Pattern Recognition, Paris-Est, France, 2008: 1-4.
[5] Martinez J, Andujar C. Space-optimized texture atlases for 3D scenes with per-polygon textures[C]//The 18th Pacific Conference on Computer Graphics and Applications, Hangzhou, China, 2010: 14-23.
[6] Levy B, Petitjean S, Ray N, et al. Least squares conformal maps for automatic texture atlas generation[J]. ACM Transactions on Graphics, 2002, 21(3): 362-371.
[7] Guthe M, Klein R. Automatic texture atlas generation from trimmed NURBS models[J]. Computer Graphics Forum, 2003, 22(3): 253-261.
[8] Carr N A, Hoberock J, Crane K, et al. Rectangular multi-chart geometry images[C]//Proceedings of the Fourth Eurographics Symposium on Geometry Processing, Cagliari, Sardinia, Italy, 2006: 181-190.
[9] Velho L, Jr Jonas S. Projective texture atlas construction for 3D photography[J]. International Journal of Computer Graphics,2007, 23(9):621-629.
[10] Purnomo B, Cohen J D, Kumar S. Seamless texture atlases[C]//Proceedings of the 2004 Eurographics/ACM SIGGRAPH Symposium on Geometry Processing, Grenoble, France, 2004: 65-74.
[1] 刘玉梅,刘丽,曹晓宁,熊明烨,庄娇娇. 转向架动态模拟试验台避撞模型的构建[J]. 吉林大学学报(工学版), 2018, 48(6): 1661-1668.
[2] 刘富,宗宇轩,康冰,张益萌,林彩霞,赵宏伟. 基于优化纹理特征的手背静脉识别系统[J]. 吉林大学学报(工学版), 2018, 48(6): 1844-1850.
[3] 王利民,刘洋,孙铭会,李美慧. 基于Markov blanket的无约束型K阶贝叶斯集成分类模型[J]. 吉林大学学报(工学版), 2018, 48(6): 1851-1858.
[4] 金顺福,王宝帅,郝闪闪,贾晓光,霍占强. 基于备用虚拟机同步休眠的云数据中心节能策略及性能[J]. 吉林大学学报(工学版), 2018, 48(6): 1859-1866.
[5] 赵东,孙明玉,朱金龙,于繁华,刘光洁,陈慧灵. 结合粒子群和单纯形的改进飞蛾优化算法[J]. 吉林大学学报(工学版), 2018, 48(6): 1867-1872.
[6] 刘恩泽,吴文福. 基于机器视觉的农作物表面多特征决策融合病变判断算法[J]. 吉林大学学报(工学版), 2018, 48(6): 1873-1878.
[7] 欧阳丹彤, 范琪. 子句级别语境感知的开放信息抽取方法[J]. 吉林大学学报(工学版), 2018, 48(5): 1563-1570.
[8] 刘富, 兰旭腾, 侯涛, 康冰, 刘云, 林彩霞. 基于优化k-mer频率的宏基因组聚类方法[J]. 吉林大学学报(工学版), 2018, 48(5): 1593-1599.
[9] 桂春, 黄旺星. 基于改进的标签传播算法的网络聚类方法[J]. 吉林大学学报(工学版), 2018, 48(5): 1600-1605.
[10] 刘元宁, 刘帅, 朱晓冬, 陈一浩, 郑少阁, 沈椿壮. 基于高斯拉普拉斯算子与自适应优化伽柏滤波的虹膜识别[J]. 吉林大学学报(工学版), 2018, 48(5): 1606-1613.
[11] 车翔玖, 王利, 郭晓新. 基于多尺度特征融合的边界检测算法[J]. 吉林大学学报(工学版), 2018, 48(5): 1621-1628.
[12] 赵宏伟, 刘宇琦, 董立岩, 王玉, 刘陪. 智能交通混合动态路径优化算法[J]. 吉林大学学报(工学版), 2018, 48(4): 1214-1223.
[13] 黄辉, 冯西安, 魏燕, 许驰, 陈慧灵. 基于增强核极限学习机的专业选择智能系统[J]. 吉林大学学报(工学版), 2018, 48(4): 1224-1230.
[14] 傅文博, 张杰, 陈永乐. 物联网环境下抵抗路由欺骗攻击的网络拓扑发现算法[J]. 吉林大学学报(工学版), 2018, 48(4): 1231-1236.
[15] 曹洁, 苏哲, 李晓旭. 基于Corr-LDA模型的图像标注方法[J]. 吉林大学学报(工学版), 2018, 48(4): 1237-1243.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!