Font Size: a A A

The Research Of3D Fish Variable Modeling And Motion Simulation

Posted on:2013-01-22Degree:MasterType:Thesis
Country:ChinaCandidate:L Z WuFull Text:PDF
GTID:2218330362963049Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The modeling and dynamical simulation of three-dimensional flexible object areimportant research area in the computer graphics. Freehand sketch is one of the widelyused modeling ways,which can solve the problem that ideas are limited by structuredinput. However it need much extra work to finish modeling, such as the eliminating ofredundant points and salient points, the extraction of feature value, the regularization ofthe graph, and so on. Consequently, it will affect the modeling speed. Based on aboveanalysis, this paper make study and discussion on the modeling and dynamical simulationof three-dimensional fish from the followling aspects.Firstly, as the sketch is often unclear and discontinuous, this paper proposes an newidea that we can uses the two-dimensional template to finish the fish modeling instead ofthe freehand sketch. At the beginning, we predefine a two-dimensional template of fish bydrawing its profile on canvas. Then we set the horizontal control points, vertical controlpoints and several control points on fish, and use linear equations to calculate theimpact-factor value of every control point to the fish template. At last, we can adjust thefish template by control point picked up algorithm to fulfill the fish shape design.Secondly, in the process of building the three-dimensional model from thetwo-dimensional template, we firstly define a three-dimensional model corresponding tothe two-dimensional template fish, and determine the corresponding relationship betweenthe control points of the three-dimensional model and the two-dimensional template. Thenwe can compute the value of remnant three-dimensional model control points using linearinterpolation function, and draw the three-dimensional model using the Bezier surface. Weuse Bezier surface mosaic technique to connect the various parts of the fish smoothly.Thirdly, in the part of the fish motion simulation, we use mass-spring model to createthe dynamic modeling of the fish. In order to realistically show the effect of fishmovement, we introduce the Bezier surface subdivision technology and C pattern. And thefish movement path are controlled by the Bezier curve.Finally, by using VC++, OpenGL (Open Graphics Library) and MFC (MicrosoftFoundation Classes), we design a three-dimensional fish simulation system to validate the effectiveness of the methods proposed above. Experimental results show that our methordscan create various fishes and simulate their movement realistically.
Keywords/Search Tags:mass-spring, Bezier surface, three-dimensional modeling, freehand sketch, dynamical simulation
PDF Full Text Request
Related items