首页 | 本学科首页   官方微博 | 高级检索  
     

基于WebGL的织物模拟展示系统开发
引用本文:周博文,张森林,樊臻. 基于WebGL的织物模拟展示系统开发[J]. 华南农业大学学报(社会科学版), 2017, 35(3): 5-8
作者姓名:周博文  张森林  樊臻
作者单位:浙江大学 电气工程学院, 浙江 杭州310027
基金项目:浙江省公益技术应用研究项目(2014C31G2010067);科技支撑计划(BE2014099)
摘    要:为了在计算机辅助设计(CAD)中实现织物模拟功能,设计了一个基于WebGL的织物模拟展示系统。通过K means聚类算法提取光照影响下的真实织物组织结构;基于实际组织结构对织物图案进行二维效果模拟;利用二维模拟效果图进行区域划分,使用伪曲面网格模型结构,在基于WebGL的三维模拟中对应三维模型上的自定义区域,最后融合光照模型能模拟出织物在实际三维场景下的真实感模拟效果。模拟结果表明可以得到具有真实感的效果,实现了模拟效果的场景化。该系统可以很好的实现织物二维和三维模拟的结合,具有辅助设计的功能和较好的实用价值。

关 键 词:织物组织结构;WebGL;真实感模拟;伪曲面网格

Design of Fabric Simulation System Based on WebGL
ZHOU Bowen,ZHANG Senlin,FAN Zhen. Design of Fabric Simulation System Based on WebGL[J]. Journal of South China Agricultural University:Social Science Edition, 2017, 35(3): 5-8
Authors:ZHOU Bowen  ZHANG Senlin  FAN Zhen
Abstract: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.
Keywords:
点击此处可从《华南农业大学学报(社会科学版)》浏览原始摘要信息
点击此处可从《华南农业大学学报(社会科学版)》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号