CN101398942A - Three-dimensional fitting emulation system - Google Patents

Three-dimensional fitting emulation system Download PDF

Info

Publication number
CN101398942A
CN101398942A CNA2008100276548A CN200810027654A CN101398942A CN 101398942 A CN101398942 A CN 101398942A CN A2008100276548 A CNA2008100276548 A CN A2008100276548A CN 200810027654 A CN200810027654 A CN 200810027654A CN 101398942 A CN101398942 A CN 101398942A
Authority
CN
China
Prior art keywords
dimensional
garment
fabric
collision
tree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2008100276548A
Other languages
Chinese (zh)
Inventor
罗笑南
刁柳坚
彭斌斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CNA2008100276548A priority Critical patent/CN101398942A/en
Publication of CN101398942A publication Critical patent/CN101398942A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a 3D fitting simulation system, in particular relates to a technology for dressing a virtual human model and a fabric model by computer graphics in a simulative manner, OpenGL technology and VC++ platform and OpenGL technology. In the system, a 2D garment pattern making system generates a 2D garment and stores the 2D garment in a 2D pattern database; and then a 2D-3D pattern conversion module converts the 2D garment into a 3D garment, and stores the 3D garment in a 3D pattern database; and a physical model is synthesized by combining a material database and a physical module constructing the simulated fabric; and 3D human model forming software generates a virtual human model; and finally the virtual human model is dressed by a 3D scene window management module in a simulative manner in a 3D virtual garment dynamic simulation module.

Description

Three-dimensional fitting emulation system
Technical field
The present invention relates to computer graphics, OpenGL advanced technology, particularly relate to the three-dimensional fitting emulation system of a kind of VC++ of utilization platform and OpenGL technique construction.
Background technology
At present, be mature on the whole based on the Garment CAD system of computer two-dimensional graphics, numerous outstanding clothes fashion design and processes design system products are subjected to the popular welcome of industry and are widely adopted.Along with the progress and development of society, a kind ofly can satisfy large-scale industrial production and can satisfy sexual demand again, express the oppose recurrence of body thinking, the three-dimensional garment CAD theory and technology that shows clothes and human body relation of interdependence of people and more and more be subjected to generally paying attention to.The three-dimensional garment CAD system can make the designer just see the true effect of virtual model dressing before true garment sewing, and realistic simulation goes out to have style, texture, pattern and dynamic clothes.Therefore, how to utilize the latest scientific research in fields such as computer graphics, computational geometry and computer animation, virtual costume is carried out dynamic simulation and is designed to present research focus alternately.
OpenGL is the abbreviation of OpenGraphicsLib, is that a cover three-dimensional picture is handled the storehouse, also is the industrial standard in this field.The Computerized three-dimensional figure is meant the technology that the three dimensions with data description is converted to two dimensional image and shows or print by calculating.OpenGL is exactly a routine library of supporting this conversion, and it comes from the IRISGL of SGI company for its graphics workstation exploitation, develops into OpenGL in cross-platform migration process.
OpenGL is designed to be independent of hardware, is independent of window system, all available on the computing machine of various operating systems, and can be the test pattern storehouse of high-end applications such as professional graphics process, science calculating with Client work under network environment.
Summary of the invention
The objective of the invention is to overcome three-dimensional garment cad technique difficult point, on the basis based on two-dimentional CAD of Garment, break through the display technique of three-dimensional garment moulding, form more perfect Garment CAD system.
In order to realize goal of the invention, the three-dimensional artificial dressing system that the present invention is designed, its technical scheme is as follows: a kind of three-dimensional fitting emulation system, it comprises two-dimentional template data storehouse, three-dimensional template data storehouse, the material quality data database, flexible curved surface data storehouse, visual human's mould database, the two dimension clothes system that re-packs, three-dimensional people's model type software, three-dimensional scenic form administration module, 2D-3D model modular converter, make up the physical module and the three-dimensional virtual garment dynamic simulation module of virtual fabric, wherein, the 2D-3D model of main functional modules conversion, the management of three-dimensional scenic form, make up the physical model of virtual fabric and four main body modules that the three-dimensional virtual garment dynamic simulation is system; And the two-dimentional clothes system that re-packs links to each other with main body module with the file lead-in mode with three-dimensional people's model type software module.At first generate two-dimentional clothes, be stored in the two-dimentional template data storehouse by the two-dimentional clothes system of re-packing; By 2D-3D model modular converter two-dimentional clothes are converted to three-dimensional garment then, leave in the three-dimensional template data storehouse; The physical model that synthesizes virtual fabric again in conjunction with the physical module of material quality data storehouse and the virtual fabric of structure; Then generate visual human's mould by three-dimensional people's model type software; In three-dimensional virtual garment dynamic simulation module, visual human's mould is carried out the dressing simulation by three-dimensional scenic form administration module at last.
The present invention is by to the collision problem between fabric in the simulation process and the manikin, adopts a kind of based on level subdivision technology and merge the method for AABB bounding box detection characteristics.Partes corporis humani's branch is constructed collision body respectively, formation has the collision detection subregion of hierarchical structure, according to the information of garment piece, only the human region collision body relevant with certain garment piece is carried out collision detection, thereby reduce the unnecessary collision detection computations, improve the efficient that detects effectively.
Realize that the collision detection step between fabric and the manikin is as follows:
1) collision detection initialization: promptly construct the AABB tree of partes corporis humani position, simultaneously fabric is carried out the level area dividing, construct the level collision tree of fabric;
2) to carrying out the collision detection of bounding volume hierarchy (BVH) between the corresponding collision tree of fabric with manikin;
3) whether human body model and fabric bump, if detect collision have taken place, and then need further accurately collision detection, upgrade garment piece collision tree again; Do not bump if detect, then directly upgrade garment piece collision tree;
4) collision of the AABB after obtaining upgrading tree;
5) return step 2).
Described AABB bounding volume hierarchy (BVH) collision detection algorithm is at first set with the root node traversal manikin bounding box of fabric bounding box tree, if can arrive leaf node, set with the bounding box of this leaf node traversal moving object again, if can arrive the leaf node of moving object, then further carry out basic geometric element and intersect test.Why use the root node traversal environment object tree of moving object earlier, consider that mainly environmental objects is much bigger and complicated than moving object under normal conditions.Select for use from the root node of moving object bounding box tree to begin to travel through environmental objects bounding box tree, the position of geocoded activity object in environment got rid of and the disjoint part of moving object earlier apace.
The invention has the advantages that:
1.OpenGL graphics application program design interface (API) as a superior performance, be applicable to computer environment widely, realized high performance three-dimensional picture function, had fiduciary level height, favorable expandability, scalability is big, dirigibility is strong and is easy to characteristics such as use.
2. pass through the collision problem between fabric in the simulation process and the manikin, partes corporis humani's branch is constructed collision body respectively, formation has the collision detection subregion of hierarchical structure, information according to garment piece, only the human region collision body relevant with certain garment piece carried out collision detection, thereby reduce the unnecessary collision detection computations, improve the efficient that detects effectively.
3.AABB selecting for use from the root node of moving object bounding box tree, the bounding volume hierarchy (BVH) collision detection algorithm begins to travel through environmental objects bounding box tree, the position of geocoded activity object in environment apace, get rid of and the disjoint part of moving object earlier, thereby improved efficient.
Description of drawings
Fig. 1 is the three-dimensional fitting emulation system one-piece construction;
Fig. 2 is the collision detection figure between fabric and manikin;
Fig. 3 is the algorithm flow chart based on AABB bounding volume hierarchy (BVH) collision detection.
Embodiment
Below in conjunction with accompanying drawing the present invention is further set forth.
Be the three-dimensional fitting emulation system one-piece construction as shown in Figure 1, total system is made up of five major databases and six main functional modules.These five major databases are two-dimentional model, three-dimensional model, material quality data, flexible curved surface and visual human's mould; Six main functional modules comprise two-dimentional clothes re-pack system, three-dimensional people's model type software, the management of three-dimensional scenic form, the conversion of 2D-3D model, make up the physical model and the three-dimensional virtual garment dynamic simulation of virtual fabric, wherein, the 2D-3D model of main functional modules conversion, the management of three-dimensional scenic form, the physical model that makes up virtual fabric and four main body modules that the three-dimensional virtual garment dynamic simulation is system; And the two-dimentional clothes system that re-packs links to each other with main body module with the file lead-in mode with three-dimensional people's model type software module.
Three-dimensional fitting emulation system at first generates two-dimentional clothes by the two-dimentional clothes system of re-packing, and is stored in the two-dimentional template data storehouse; By 2D-3D model modular converter two-dimentional clothes are converted to three-dimensional garment then, leave in the three-dimensional template data storehouse; The physical model that synthesizes virtual fabric again in conjunction with the physical module of material quality data storehouse and the virtual fabric of structure; Then generate visual human's mould by three-dimensional people's model type software; In three-dimensional virtual garment dynamic simulation module, visual human's mould is carried out the dressing simulation by three-dimensional scenic form administration module at last.
Fig. 2 is the collision detection figure between fabric and manikin.As figure shows, the two-way that initially divides of collision detection carries out.One the tunnel is the initialization of manikin, at first constructs the AABB tree of describing the partes corporis humani position, thereby obtains the AABB tree of partes corporis humani position; Another road is the initialization to fabric, at first fabric is carried out the level area dividing, constructs level collision tree, thereby obtains the level collision tree of fabric.And then the level collision of the AABB at each position of manikin that this two-way is obtained tree and fabric sets and combines, according to fabric---the unchangeability of manikin different parts topology, set up garment piece---the corresponding relation between the manikin.
After initialization, to carrying out the bounding volume hierarchy (BVH) collision detection between the corresponding collision tree of fabric with manikin.If detect collision has taken place, then further carried out accurate collision detection again, upgraded the collision tree of garment piece afterwards again, the fabric AABB collision tree after obtaining at last upgrading; Do not bump if detect, then directly upgrade garment piece collision tree, the fabric AABB collision tree after obtaining upgrading.
After finishing step of updating, carry out carrying out between the corresponding collision tree of fabric and manikin the collision detection of bounding volume hierarchy (BVH) again, constantly iteration detects and step of updating.
The algorithm flow chart that is based on AABB bounding volume hierarchy (BVH) collision detection shown in Figure 3.Root node TraverseBoxTree (the V that algorithm is at first set with the fabric bounding box E, V F) traversal manikin bounding box tree, if can arrive leaf node V E, set with the bounding box of this leaf node traversal moving object again.
If can arrive the leaf node V of moving object F, then further carry out basic geometric element and intersect test, promptly for P arbitrarily E∈ S F, P F∈ S F, detect P EWith P FWhether intersect, if detect crossingly, then report has produced collision, otherwise just finishes collision inspection this time.

Claims (3)

1, a kind of three-dimensional fitting emulation system, it is characterized in that, it comprise two-dimentional template data storehouse, three-dimensional template data storehouse, material quality data database, flexible curved surface data storehouse, visual human's mould database, two-dimentional clothes re-pack system, three-dimensional people's model type software, three-dimensional scenic form administration module, 2D-3D model modular converter, make up the physical module and the three-dimensional virtual garment dynamic simulation module of virtual fabric, at first generate two-dimentional clothes, be stored in the two-dimentional template data storehouse by the two-dimentional clothes system of re-packing; By 2D-3D model modular converter two-dimentional clothes are converted to three-dimensional garment then, leave in the three-dimensional template data storehouse; The physical model that synthesizes virtual fabric again in conjunction with the physical module of material quality data storehouse and the virtual fabric of structure; Then generate visual human's mould by three-dimensional people's model type software; In three-dimensional virtual garment dynamic simulation module, visual human's mould is carried out the dressing simulation by three-dimensional scenic form administration module at last.
2, three-dimensional fitting emulation system according to claim 1, it is characterized in that, in the described three-dimensional virtual garment dynamic simulation module visual human's mould is carried out dressing simulation and adopt based on level subdivision technology and merge AABB bounding box detection method, its key step comprises:
1) collision detection initialization: promptly construct the AABB tree of partes corporis humani position, simultaneously fabric is carried out the level area dividing, construct the level collision tree of fabric;
2) to carrying out the collision detection of bounding volume hierarchy (BVH) between the corresponding collision tree of fabric with manikin;
3) whether human body model and fabric bump, if detect collision have taken place, and then need further accurately collision detection, upgrade garment piece collision tree again; Do not bump if detect, then directly upgrade garment piece collision tree;
4) collision of the AABB after obtaining upgrading tree;
5) return step 2).
3, three-dimensional fitting emulation system according to claim 1, it is characterized in that, described AABB bounding volume hierarchy (BVH) collision detection algorithm is at first set with the root node traversal manikin bounding box of fabric bounding box tree, if can arrive leaf node, set with the bounding box of this leaf node traversal moving object again, if can arrive the leaf node of moving object, then further carry out basic geometric element and intersect test.
CNA2008100276548A 2008-04-24 2008-04-24 Three-dimensional fitting emulation system Pending CN101398942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100276548A CN101398942A (en) 2008-04-24 2008-04-24 Three-dimensional fitting emulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100276548A CN101398942A (en) 2008-04-24 2008-04-24 Three-dimensional fitting emulation system

Publications (1)

Publication Number Publication Date
CN101398942A true CN101398942A (en) 2009-04-01

Family

ID=40517471

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100276548A Pending CN101398942A (en) 2008-04-24 2008-04-24 Three-dimensional fitting emulation system

Country Status (1)

Country Link
CN (1) CN101398942A (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156810A (en) * 2011-03-30 2011-08-17 北京触角科技有限公司 Augmented reality real-time virtual fitting system and method thereof
CN102270353A (en) * 2010-06-01 2011-12-07 微软公司 Placement of animated elements using vector fields
CN102682473A (en) * 2012-05-08 2012-09-19 电子科技大学 Virtual clothing real-time physical modeling method
CN102867335A (en) * 2012-08-24 2013-01-09 黄敏 Human-computer interaction method applied in three-dimensional simulation dressing
CN103678769A (en) * 2013-11-12 2014-03-26 浙江大学 Realistic clothes creating method based on human skeleton and two-dimensional deformation
CN103745500A (en) * 2013-12-27 2014-04-23 北京像素软件科技股份有限公司 Application-based method and device of simulating flexible body
CN104123655A (en) * 2014-07-07 2014-10-29 河南科技大学 Simulation fitting system
CN104200367A (en) * 2014-07-07 2014-12-10 河南科技大学 Three-dimensional simulation fitting method
CN104318445A (en) * 2014-10-17 2015-01-28 上海衣得体信息科技有限公司 Store fitting system
CN104317999A (en) * 2014-10-17 2015-01-28 上海衣得体信息科技有限公司 Method for converting two-dimensional clothing effect into three-dimensional clothing effect
CN104637084A (en) * 2015-01-29 2015-05-20 吴宇晖 Method for building garment virtual three-dimensional model and virtual garment trying-on system
CN104778332A (en) * 2015-04-27 2015-07-15 北京航空航天大学 Low-level cutting optimization method for self-collision detection of clothes
CN104821006A (en) * 2015-05-18 2015-08-05 浙江理工大学 Dynamic clothing simulation method based on human body mixed enclosing box
CN105046738A (en) * 2015-05-19 2015-11-11 武汉变色龙数据科技有限公司 Clothes dynamic three-dimension making method and making apparatus
CN105069838A (en) * 2015-07-30 2015-11-18 武汉变色龙数据科技有限公司 Garment showing method and device
CN106157358A (en) * 2015-03-26 2016-11-23 成都理想境界科技有限公司 Object fusion method based on video image and terminal
RU2615911C1 (en) * 2015-12-08 2017-04-11 Общество С Ограниченной Ответственностью "Дрессформер" Method and system for construction of realistic 3d avatar of buyers for virtual fitting
CN106909763A (en) * 2017-04-19 2017-06-30 南宁市大海服装科技有限公司 A kind of weaving face fabric physical characteristic number attribute simulation system and measuring method
CN107636585A (en) * 2014-09-18 2018-01-26 谷歌有限责任公司 By being drawn inside reality environment and the generation of three-dimensional fashion object carried out
CN109388229A (en) * 2017-08-11 2019-02-26 哈尔滨工业大学 A kind of immersion virtual fit method and system with sense of touch experience
CN113593002A (en) * 2020-04-30 2021-11-02 服装技术有限责任公司 Computer-implemented method for generating 3D garment model

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270353A (en) * 2010-06-01 2011-12-07 微软公司 Placement of animated elements using vector fields
CN102270353B (en) * 2010-06-01 2016-02-24 微软技术许可有限责任公司 Use the animated element layout of vector field
CN102156810A (en) * 2011-03-30 2011-08-17 北京触角科技有限公司 Augmented reality real-time virtual fitting system and method thereof
CN102682473A (en) * 2012-05-08 2012-09-19 电子科技大学 Virtual clothing real-time physical modeling method
CN102682473B (en) * 2012-05-08 2015-01-07 电子科技大学 Virtual clothing real-time physical modeling method
CN102867335A (en) * 2012-08-24 2013-01-09 黄敏 Human-computer interaction method applied in three-dimensional simulation dressing
CN103678769A (en) * 2013-11-12 2014-03-26 浙江大学 Realistic clothes creating method based on human skeleton and two-dimensional deformation
CN103678769B (en) * 2013-11-12 2017-01-04 浙江大学 Sense of reality clothing creation method based on human skeleton Yu two-dimensional deformation
CN103745500A (en) * 2013-12-27 2014-04-23 北京像素软件科技股份有限公司 Application-based method and device of simulating flexible body
CN103745500B (en) * 2013-12-27 2017-02-15 北京像素软件科技股份有限公司 Application-based method and device of simulating flexible body
CN104123655A (en) * 2014-07-07 2014-10-29 河南科技大学 Simulation fitting system
CN104200367A (en) * 2014-07-07 2014-12-10 河南科技大学 Three-dimensional simulation fitting method
CN107636585B (en) * 2014-09-18 2020-12-29 谷歌有限责任公司 Generation of three-dimensional fashion objects by drawing inside a virtual reality environment
CN107636585A (en) * 2014-09-18 2018-01-26 谷歌有限责任公司 By being drawn inside reality environment and the generation of three-dimensional fashion object carried out
CN104317999A (en) * 2014-10-17 2015-01-28 上海衣得体信息科技有限公司 Method for converting two-dimensional clothing effect into three-dimensional clothing effect
CN104318445A (en) * 2014-10-17 2015-01-28 上海衣得体信息科技有限公司 Store fitting system
CN104637084A (en) * 2015-01-29 2015-05-20 吴宇晖 Method for building garment virtual three-dimensional model and virtual garment trying-on system
CN104637084B (en) * 2015-01-29 2018-06-22 广州市迪拓信息科技有限公司 A kind of method and virtual fitting system for establishing garment virtual threedimensional model
CN106157358A (en) * 2015-03-26 2016-11-23 成都理想境界科技有限公司 Object fusion method based on video image and terminal
CN104778332A (en) * 2015-04-27 2015-07-15 北京航空航天大学 Low-level cutting optimization method for self-collision detection of clothes
CN104821006A (en) * 2015-05-18 2015-08-05 浙江理工大学 Dynamic clothing simulation method based on human body mixed enclosing box
CN104821006B (en) * 2015-05-18 2018-01-02 浙江理工大学 A kind of dynamic Garment Simulation method based on human body Hybrid bounding box
CN105046738A (en) * 2015-05-19 2015-11-11 武汉变色龙数据科技有限公司 Clothes dynamic three-dimension making method and making apparatus
CN105069838B (en) * 2015-07-30 2018-03-06 武汉变色龙数据科技有限公司 A kind of clothing show method and device
CN105069838A (en) * 2015-07-30 2015-11-18 武汉变色龙数据科技有限公司 Garment showing method and device
RU2615911C1 (en) * 2015-12-08 2017-04-11 Общество С Ограниченной Ответственностью "Дрессформер" Method and system for construction of realistic 3d avatar of buyers for virtual fitting
CN106909763A (en) * 2017-04-19 2017-06-30 南宁市大海服装科技有限公司 A kind of weaving face fabric physical characteristic number attribute simulation system and measuring method
CN109388229A (en) * 2017-08-11 2019-02-26 哈尔滨工业大学 A kind of immersion virtual fit method and system with sense of touch experience
CN113593002A (en) * 2020-04-30 2021-11-02 服装技术有限责任公司 Computer-implemented method for generating 3D garment model

Similar Documents

Publication Publication Date Title
CN101398942A (en) Three-dimensional fitting emulation system
CN105302974B (en) A kind of real-time cutting simulation method of flexible article analyzed based on finite element and time-varying modal
Gyulassy et al. Efficient computation of Morse-Smale complexes for three-dimensional scalar functions
CN102880741B (en) Method for generating garment body prototype model based on personalized three-dimensional virtual dress form
CN105787865A (en) Fractal image generation and rendering method based on game engine and CPU parallel processing
CN111243090B (en) Earthwork volume calculating method and system
CN105354879A (en) Particle spring structure based universal garment three-dimensional model simulation method and system
CN101408991B (en) Curved surface molding method combing interpolation type subdivision and approach type subdivision
CN103268634B (en) A kind of out-of-core models fast parallel adaptive simplifying method based on Vertex Clustering
CN102193837B (en) Front line-based method for detecting collision of bounding volume
CN102609992A (en) Self collision detection method based on triangle mesh deformation body
CN108765567A (en) A kind of system for building urban design digitlization sand table
CN111369649B (en) Method for manufacturing computer skin animation based on high-precision three-dimensional scanning model
CN103473811A (en) Convenient generation method of three-dimensional solid model based on two-dimensional freehand line drawing
CN113674388A (en) Three-dimensional geologic body texture mapping method based on machine learning
CN107102991A (en) A kind of shaft tower parametric modeling method in three-dimension GIS system
CN101169871A (en) HLOD pretreatment method facing to large scale static scene real-time rendering
CN109872386A (en) A kind of the physical property of product modeling method based on the accurate voxelization of STL model
Xu et al. Research for 3D visualization of Digital City based on SketchUp and ArcGIS
Nie et al. A survey of continuous collision detection
CN109472863A (en) A kind of real-time 3D clay modeling method based on stroke interaction
Tang Octree representation and its applications in CAD
CN109308732B (en) Component grid fusion method and system based on control distortion of the mesh
Zhang et al. 3D design platform of virtual national costume based on digital nonlinear random matrix
Hsiung et al. Accelerating arts

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090401