基于OpenGL的复丝三维模拟  被引量:3

3D simulation of multifilament based on OpenGL

在线阅读下载全文

作  者:徐辉 朱昊[1] 潘苏情 李忠健 XU Hui;ZHU Hao;PAN Suqing;LI Zhongjian(College of Textile and Garment,Shaoxing University,Shaoxing,Zhejiang 312000,China)

机构地区:[1]绍兴文理学院纺织服装学院,浙江绍兴312000

出  处:《毛纺科技》2023年第4期76-81,共6页Wool Textile Journal

基  金:浙江省基础公益研究计划项目(LGG21F030007);中国博士后科学基金面上资助项目(2020M681736);绍兴文理学院科研启动项目(20195026);绍兴文理学院校级科技重点项目(2019LG1006);绍兴文理学院学生科研项目(Y20220707)。

摘  要:目前纱线模拟大都用曲线柱体为模型,但若以曲线柱体代表复丝,难以表达复丝本身纤维层面的外观纹理效果。为解决这一问题,进一步提高纱线与织物模拟的仿真度及纹理真实感,在OpenGL环境下采用三角形拼接曲面的方法首先构造出单丝,提出一种圆周转移算法,对无捻及有捻复丝2种情况下,复丝中的单丝排列或转移分别进行讨论,并建立复丝三维模型。加入三次B样条曲线构造复丝的中心线,通过法向量传值着色器等方式加入OpenGL光照函数增强立体感,最终对复丝机织物的平纹及斜纹组织进行了模拟。模拟结果显示,复丝表层纹理清晰,取得了预期效果。At present,curvilinear cylinders are mostly used as models for yarn simulation.However,if curvilinear cylinders are used to represent the multifilament,it is difficult to express the appearance texture effect of the fiber layer of the multifilament.In order to solve this problem and improve the simulation degree and texture sense of yarn and fabric,monofilaments were constructed by triangle splicing surface method in OpenGL environment.A circular transfer algorithm was proposed,and the arrangement and transfer of monofilaments in the two cases of untwisted and twisted multifilament were discussed respectively,and the three dimensional model of the multifilament was established.The cubic B-spline curve was added to construct the center line of the multifilament,and the OpenGL illumination function was added to enhance the three-dimensional sense through the normal vector value transfer shader.Finally,the plain weave and twill weave of the woven fabric of the multifilament were simulated.The simulation results show that the surface texture of the multifilament is clear and the desired effect is achieved.

关 键 词:复丝 三维模拟 OPENGL 圆周转移 B样条曲线 光照函数 

分 类 号:TS101.1[轻工技术与工程—纺织工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象