| 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. |