3D-Modeling of Yarn in OpenGL Program
- Author
- SunGuangWu
- Advisor
- DanXiaoHong
- School
- Xinjiang University
- Major
- Textile Engineering
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 39
- Citations
- 0
Abstract
It is well known that there are a variety of fabric simulation CAD systems. However, many of those are 2D systems. Yarn’s 3D simulation is the basic of fabric 3D simulation. Traditional 3D simulation method is that C++ program is written in OpenGL, then yarn’s cross-section model , twist model and the path in fabric is completed by B-spline curve or Nurbs curve, finally ,texture, light is setted. Because traditional method is compilicated and C++ code has not representativeness.So, new mothed is put forward in the paper: yarn’s 3D model is established by the spline curve, and then imports the model into OpenGL program.The main content of the paper includes:1) Cut yarn of plain weave sample into slices and take pictures.2) Deal with these pictures with creative“golden section”iterative algorithm, and then get every parameters of yarn.3) 3D model is modeling by 3ds MAX.4) Through importing 3D model of yarn into OpenGL program, the source code can be get and 3D model of yarn can be interactive controlled.This paper draws some conclusions as follows through hard work:1) Observe yarn with microcosmic view by cutting it into slices, besides, image binaryzation provide convenience for getting every parameters of yarn.2) There are clear borders in these pictures which are dealt with creative“golden section”iterative algorithm, which provides convenience for getting every parameters of yarn.3) Not only is the efficiency of 3D modeling enhanced but also is 3D real modeling by 3ds MAX.4) Import 3ds modeling and interaction control it in OpenGL program, that solve disadvantage of interactive control by 3ds MAX. In one word, a new method about yran’s 3D-modeling has been put forward. However, interactive control 3D model of yarn in OpenGL program and the relation of different spinning method and appearance of yarn are not considered ideally, so further research on this issue should be researched in the future.
Table of contents
Summary 3-4
ABSTRACT 4-8
first chapter 8-17
1.1 Introduction
Functional Overview 1.2 Textile CAD 8-9
1.3 at home and abroad fabric simulation technology development 9-12
1.4 at home and abroad yarn simulation technology development -14
1.5 summarizes domestic and foreign textile CAD / CAM technology development 14-15
1.5.1 on the condition of the domestic research commentary 14-15
1.5.2 comments on the status of the foreign research 15
1.6 of the subject study content, ideas and meaning 15-17
Chapter II yarn image processing and three-dimensional simulation technology , 17-21
2.1 image processing related 17
2.2 computer graphics 17-18
2.3 3D model reconstruction 18
2.4 MATLAB related presentations 18-19
2.5 VC 6.0 Introduction 19
2.6 OPENGL introduced 19-20
2.7 the 3DS MAX introduction 20-21
Chapter woven fabric slice experiments 21-23
3.1 woven fabrics slicing technology 21
3.2 fabric slice experimental prepare 21-22
3.2.1 experimental instruments and samples 21
3.2.2 Reagents 21-22
3.2.3 Experimental Procedure 22
3.3 fabric slice experiment 22
3.4 Chapter Summary 22-23
Chapter yarn method based on image processing of the data acquisition 23-31
4.1 the fabric slice image binarization introduced 23-24
4.2 golden section method segmentation value threshold principle 24-25
4.3 golden section method, the GAUSS-LAPLACE algorithm and SOBLE algorithm Binary Image contrast analysis 25-28
4.4 acquisition the fabric slice image binarization yarn structure parameters 28-30
4.4.1 CU-2 of the fiber fineness instrument 28
4.4.2 fabric zonal slice yarn cross-sectional data collected 28-29
4.4.3 fabrics after buckling wave height measurements to slice Figure yarn the 29-30 4.5 Chapter Summary
30-31
Chapter in 3DS MAX simulation yarn 31-38
5.1 yarn elliptical cross section, the yarn fiber piled model and yarn path 5.1.1 in 3ds MAX 31-34
left view, create ellipse model 31
5.1.2 yarn fiber concoction 31-33
5.1.3 yarn fibers open style piled in the left view model 33
5.1.4 Analog yarn path in the fabric the 33-34
5.2 multi-section the stakeout modeling, the yarn twist model and the model adjustment 34-36
5.2.1 loft modeling are found; 34
5.2.2 yarn twist model 34-35
5.2.3 yarn, geometry and force uneven analog 35-36
5.3 hairiness simulation and rendering output 36
5.4 This chapter summarizes 36-38
Chapter OPENGL to import 3DS MAX model 38-43
6.1 3DS file describes 38-39
6.2 3DS file input program 39-40
6.3 interactive control yarn line model 40-43
Chapter VII Conclusion and Outlook 43-45
7.1 Full Summary 43
7.2 follow-up Looking 43-45
Reference the 45-48
Appendix A golden section algorithm code 48-50
Appendix the yarn B the data 50 - 52
fabric is treated with the the slice diagrams and the warp buckling wave high 50-51
fabric zonal slice of the warp yarn cross-section data 51-52
papers read during 52-53
Acknowledgements 53
Related dissertations
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Remote Monitoring System Using in Smart Home
- The Research on Fire-fighting Based on Image Processing in Large Space
- Surface Defect Detection Based on Laser Scanning Technology for Continuous Casting Slab
- Design and Research on Micro-displacement Measurement System for PZT Actuated HGA
- Measurement of Human Breath Based on Ordinary Camera
- The Construction Research of Surface Defects Inspecting System for Small Pipes
- High-precision Surface Defect Detection Based on Laser Triangulation Method
- The Flame Temperature Detection of Stirling Engine Combustor Based RAW Format Data
- Research on the System of High Temperature Field Measurement of Melt Surface Based on CCD Image Sensor
- Design and Implementation of Information Acquisition System for Industry Field
- Design of Data Processing of2D Shape Detection Based on FPGA
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- Research on On-Line Detection Technology for Industrial Robot Based on Binocular Vision
- Technology of the AGV Visual Navigation and Path Planning
- AGV car design and development of image recognition and motion control technology based on
- Research on Model and Roam Technology of3D Scene Based on WEB
- The Key Technology and Demonstration Application of3D Virtual Simulation
- Research of3D Modeling and Virtual Cutting on Irregular Orebodies
- Daqing Wetland Tourism Virtual Reality System Design