针对服装建模过程中,需要反复修改衣片来获得令人满意的虚拟服装模型以及计算复杂度高的问题,提出一种基于多控制点的衣片网格局部变形方法。该方法首先建立衣片网格模型,然后利用Open GL的选择模式移动服装关键点,进而得到边界控制点,利用控制点对衣片网格模型进行局部变形,最后对衣片建立受力模型,通过虚拟缝合、碰撞检测以及纹理映射建立三维服装模型,展现服装整体效果,得到多样的服装模型。实验结果表明,由于在算法中不需要重新网络化,故具有较低的计算代价,同时也使得到的服装模型更加多样化。
In the process of garment modeling,garment sections need to be modified repeatedly to obtain satisfactory virtual garment model. To solve the problems of needing establish model of garment sections repeatedly and high computational complexity,this paper proposed a new method of mesh local deformation based on multiple control points. The method firstly constructed2 D mesh model of garment sections,then used selected mode of Open GL to move garment key points to get boundary control points,and then used control points to make mesh deformation of garment sections,lastly,showed the overall effect by making virtual seaming of garment sections,collision detection and response,and texture mapping. Experimental results indicate this method not only has low computational cost for not needing to reconstruct mesh,but also makes garment model more diversified.