纺织学报 ›› 2007, Vol. 28 ›› Issue (6): 55-58.

• 纺织工程 • 上一篇    下一篇

利用纹理几何约束进行织物场景模拟

诸葛振荣;徐利祥   

  1. 浙江大学电气工程学院 浙江杭州310027
  • 收稿日期:2006-09-13 修回日期:2007-01-22 出版日期:2007-06-15 发布日期:2007-06-15

Scene simulation using geometrical constraints of weave texture

ZHUGE Zhenrong;XU Lixiang   

  1. College of Electrical Engineering;Zhejiang University;Hangzhou;Zhejiang 310027;China
  • Received:2006-09-13 Revised:2007-01-22 Online:2007-06-15 Published:2007-06-15

摘要: 针对真实场景当中织物纹理的虚拟模拟问题,提出一种利用纹理几何约束进行场景模拟的方法。该方法通过提取织物纹理中的平行、垂直约束,利用空间透视模型可求出相机焦距,并计算出纹理的空间法向量。同时确定一个基平面,使基平面法向量绕x轴,y轴旋转到纹理法向量位置,计算出旋转角度,然后在Visual C++6.0下通过交互操作并利用纹理映射技术进行织物场景模拟。实验表明该方法模拟的织物纹理三维效果逼真。

Abstract: To the problem of weave texture simulation in real scene,a new method of scene simulation using geometrical constraints of weave texture is proposed.By picking up the parallel and perpendicular constraints in the texture,the focus of the camera can be calculated based on the model of perspective image.Then the normal component of the texture can be worked out with the camera focus.After that,a basic plane is made and rotated around thexoryaxis to the location of the texture normal component,and the two angles around xandyaxes were calculated.Finally,the scene simulation was performed via interactive operations in Visual C++ 6.0 platform,using texture mapping.Experiments show that the simulation of 3D-effect of weave texture is vivid to real scene through this method.

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!