特殊服装面料渲染算法
Rendering Methods of Special Clothing Fabrics
-
摘要: 服装数字化是近年来服装行业发展的方向之一. 服装面料的材质极其多样, 然而常用的基于物理的渲染存在较大的局限性. 基于此, 提出对于多种不同特殊光学特性的面料渲染算法. 其中, 特殊面料是内嵌金属丝面料、侧光织物面料、镭射面料和闪粉面料 4 种面料. 针对内嵌金属丝面料, 使用额外的纹理数据来记录并模拟金属丝的形状;针对侧光织物面料, 根据视线方向以及入射方向与法线的夹角修正散射光的强度, 使得面料拥有更加真实的侧面光感; 针对镭射面料, 将观察角与一种额外的镭射颜色相关联, 并将其与原有的纹理颜色融合; 针对闪粉面料, 提出一种计算模型用于随机生成闪粉的位置, 通过网格划分的方式达到实时的计算效率. 将所提算法渲染结果与实际拍摄结果进行对比的结果表明, 该算法的结果接近于真实; 侧光织物面料和镭射面料已经被商业应用于国产三维服装设计软件 Style3D 中.Abstract: Clothing design is one of the development directions of garment industry in recent years. The materials of clothing fabrics are extremely diverse while physically-based rendering has major limitations. Based on this, this article studies a variety of fabrics with special optical properties. The special fabrics studied are four kinds of fabrics:metal wire hybrid fabrics, fabric with side light, laser fabrics and glitter fabrics. For metal wire hybrid fabrics, this article uses additional texture data to record and simulate the shape of the metal wire; for fabric with side light, this article corrects the intensity of the scattered light according to the direction of the line of sight and the angle between the incident direction and the normal, so that the fabric has a more real sense of side light; for laser fabrics, this article associates the viewing angle with an additional laser color, which is blended with the original texture color. For glitter fabrics, this article proposes a calculation model for randomly generating the position of glitters and the model can achieve real-time calculation efficiency through grid division. After comparing the rendering results of the algorithm in this article with the actual shooting results, it can be found that the rendering results are close to the real. The side light fabrics materials as well as the laser fabrics materials have been used in the three-dimensional clothing design software Style3D.