纺织学报 ›› 2020, Vol. 41 ›› Issue (10): 137-143.doi: 10.13475/j.fzxb.20200100107

• 服装工程 • 上一篇    下一篇

基于B/S架构的数字人台变形NURBS曲面模型

刘芸, 修毅()   

  1. 北京服装学院 计算机信息中心, 北京 100029
  • 收稿日期:2020-01-02 修回日期:2020-07-12 出版日期:2020-10-15 发布日期:2020-10-27
  • 通讯作者: 修毅
  • 作者简介:刘芸(1992—),女,硕士生。主要研究方向为三维曲面造型及可视化与计算机图形技术。
  • 基金资助:
    北京市教育委员会科技计划一般项目(KM20190012001)

NURBS surface model of digital mannequin based on B/S architecture

LIU Yun, XIU Yi()   

  1. Computer Information Center, Beijing Institute of Fashion Technology, Beijing 100029, China
  • Received:2020-01-02 Revised:2020-07-12 Online:2020-10-15 Published:2020-10-27
  • Contact: XIU Yi

摘要:

针对在浏览器/服务器结构(B/S架构)中模型数据量过大导致Web加载速度过慢、模型变形时失真的情况,提出一种基于B/S架构的参数化人台变形NURBS曲面模型。首先,通过手工与三维扫描工具结合的方式提取标记点模型特征信息,获得其特征语义结构缩小模型数据量;其次,搭建B/S架构,通过JSON树状结构,实现数据从服务器端到客户端的加载和渲染,并采用角度加权平均、相似三角形等方法实现人台模型的参数化变形;最后,依据NURBS曲面原理,利用高密度点复用原则对变形区域控制点进行补点操作,构建一个光滑的人台变形曲面模型。结果表明,该方法利用人体特征大量缩减模型数据形成精简人体特征数据模型和结构,在B/S架构中流畅加载并实现高质量的人台变形NURBS曲面模型。

关键词: Web3D技术, 三维人台变形, 三维扫描测量法, NURBS曲面, 人台特征点

Abstract:

Aiming at slow web loading and model distortion caused by the excessive size of data in the Web/server(B/S) architecture, a parametric NURBS surface model based on the B/S architecture was developed. The feature information of the point model was manually extracted by using a 3-D scanning tool to obtain its feature semantic structure and reduce the amount of model data, and then a B/S architecture was built to transfer the data from the server to the client through the JSON tree structure. Angle-weighted average, similar triangles and other methods were used to achieve parametric deformation of the mannequin. According to the principle of NURBS surface, the high-density points were employed to supplement the control points in the deformation area to construct a smooth human platform deformation surface. This method reduces human body data to form a simplified set of data to facilitate smooth data loading for creating a high-quality NURBS surface based on the B/S architecture.

Key words: Web3D technology, 3-D platform deformation, 3-D scanning measurement, NURBS surface, feature point mark of mannequin

中图分类号: 

  • TP391.72

表1

围度与特征点定义"

围度 围度定义 特征点 特征点定义
胸上
围
又名腋窝水平线通过腋窝点的水平线 胸上围前中心点 前中线与胸上围线的交点
胸上围后中心点 后中线与胸上围线的交点
胸上围体侧点 侧缝线与胸上围线的交点
胸围 通过乳点的水平线 胸高点 胸围线上最凸出的点
胸围前中心点 前中线与胸围线的交点
胸围后中心点 后中线与胸围线的交点
胸围体侧点 侧缝线与胸围线的交点
胸下
围
又名乳下围,乳房下缘的水平线 胸下围前中心点 前中线与胸下线的交点
胸下围后中心点 后中线与胸下线的交点
胸下围体侧点 侧缝线与胸下线的交点

图1

人台特征点标记与特征围线"

图2

语义添加流程"

图3

人台模型B/S架构"

图4

解析JSON数据结构"

图5

胸围线变形图"

图6

胸部区域胸围相关围线变形图"

图7

胸部区域三角形面人台模型变形图"

图8

人台前片点阵图"

图9

人台前片规范化图"

图10

人台前片NURBS曲面"

图11

人台NURBS曲面变形人台"

[1] 李燕. 基于Pro/E 的人体特征尺寸提取[J]. 工程图学学报, 2009(1):12-16.
LI Yan. Extraction of human feature size based on Pro/E[J]. Journal of Engineering Graphics, 2009 (1):12-16.
[2] 李亚旭, 王朝晖. 基于三维点云数据的虚拟人台中间体模型的构建[J]. 北京服装学院学报, 2011,31(3):9-16.
LI Yaxu, WANG Zhaohui. Construction of virtual human platform intermediate model based on 3D point cloud data[J]. Journal of Beijing Institute of Fashion Technology, 2011,31(3):9-16
[3] 程达丽. 基于点云数据的人体特征尺寸提取[D]. 北京:北京服装学院, 2011: 11-21.
CHENG Dali. Extraction of human feature size based on point cloud data[D]. Beijing: Beijing Institute of Fashion Technology, 2011: 11-21.
[4] 王永波, 盛业华. 一种基于曲率极值法 LiDAR 点云特征提取算法[J]. 中国矿业大学学报, 2011(4):640-646.
WANG Yongbo, SHENG Yehua. LiDAR point cloud feature extraction algorithm based on curvature extreme method[J]. Journal of China University of Mining & Technology, 2011 (4):640-646.
[5] 张妙维, 修毅. 三维服装仿真中人体左右剖面的构造[J]. 纺织学报, 2018,39(4):158-162.
ZHANG Miaowei, XIU Yi. Structure of left-right section of human body in three-dimensional garment simulation[J]. Journal of Textile Research, 2018,39(4):158-162.
[6] 修毅, 王银辉. 数字人体模型中腰部剖面曲线参数化变形算法[J]. 纺织学报, 2017,38(4):97-102.
XIU Yi, WANG Yinhui. Parameterized deformation algorithm of waist profile curve in digital human body model[J]. Journal of Textile Research, 2017,38(4):97-102.
[7] 任洋甫, 普园媛, 徐丹, 等. 语义值驱动的三维直立状态人体模型变形[J]. 系统仿真学报, 2019,31(3):476-485.
REN Yangfu, PU Yuanyuan, XU Dan, et al. Deformation of 3D human body model in upright state driven by semantic value[J]. Journal of System Simulation, 2019,31(3):476-485.
[8] 任宏康, 祝若鑫, 李风光. 基于Three.js的真实三维地形可视化设计与实现[J]. 测绘与空间地理信息, 2015(10):60-63.
REN Hongkang, ZHU Ruoxin, LI Fengguang. Visualization design and implementation of real 3D terrain based on three.js[J]. Surveying and Spatial Information, 2015 (10):60-63.
[9] 郑华, 宿景芳. 面向Web的三维模型生成与处理技术[J]. 现代电子技术, 2015,38(24):83-86.
ZHENG Hua, SU Jingfang. Web-oriented 3D model generation and processing technology[J]. Modern Electronics Technology, 2015,38(24):83-86.
[10] ANDRI Sunardi, SUHARJITO . MVC architecture: a comparative study between laravel framework and slim framework in freelancer project monitoring system web based[J]. Procedia Computer Science, 2019,157:134-141.
doi: 10.1016/j.procs.2019.08.150
[1] 李燕;黄凯. 基于Geomagic的三维人体建模技术[J]. 纺织学报, 2008, 29(5): 130-134.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!