周博文, 张森林, 樊臻.基于WebGL的织物模拟展示系统开发[J].轻工机械,2017,35(3):5-8 |
基于WebGL的织物模拟展示系统开发 |
Design of Fabric Simulation System Based on WebGL |
|
DOI:10.3969/j.issn.1005 2895.2017.03.002 |
中文关键词: 织物组织结构 WebGL 真实感模拟 伪曲面网格 |
英文关键词:abric weave structure WebGL realistic simulation pseudo curved mesh |
基金项目:浙江省公益技术应用研究项目(2014C31G2010067);科技支撑计划(BE2014099) |
|
摘要点击次数: 2154 |
全文下载次数: 1187 |
中文摘要: |
为了在计算机辅助设计(CAD)中实现织物模拟功能,设计了一个基于WebGL的织物模拟展示系统。通过K means聚类算法提取光照影响下的真实织物组织结构;基于实际组织结构对织物图案进行二维效果模拟;利用二维模拟效果图进行区域划分,使用伪曲面网格模型结构,在基于WebGL的三维模拟中对应三维模型上的自定义区域,最后融合光照模型能模拟出织物在实际三维场景下的真实感模拟效果。模拟结果表明可以得到具有真实感的效果,实现了模拟效果的场景化。该系统可以很好的实现织物二维和三维模拟的结合,具有辅助设计的功能和较好的实用价值。 |
英文摘要: |
In order to realize the function of fabric simulation in computer aided design (CAD),the fabric simulation display system based on WebGL was designed. The real fabric structure was extracted by K means clustering algorithm. The 2D simulation was generated by the real fabric structure and divided into areas. The 3D simulation based on WebGL adopted the pseudo curved mesh model to correspond to the self defined region on the three dimensional model. The 3D simulation blended with illumination model simulated the fabric realistic simulation in 3D Scene. The simulation results show that the realistic effect can be obtained. The system can be used to realize the combination of 2D and 3D simulation of fabric, and has the function of auxiliary design and better practical value. |
查看全文 查看/发表评论 下载PDF阅读器 |
关闭 |