CN101339668A - Three-dimensional animations cartoon flame creation method - Google Patents
Three-dimensional animations cartoon flame creation method Download PDFInfo
- Publication number
- CN101339668A CN101339668A CNA2008100633583A CN200810063358A CN101339668A CN 101339668 A CN101339668 A CN 101339668A CN A2008100633583 A CNA2008100633583 A CN A2008100633583A CN 200810063358 A CN200810063358 A CN 200810063358A CN 101339668 A CN101339668 A CN 101339668A
- Authority
- CN
- China
- Prior art keywords
- flame
- cartoon
- input
- animation
- profile diagram
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000000694 effects Effects 0.000 claims abstract description 18
- 230000008859 change Effects 0.000 claims abstract description 4
- 238000010586 diagram Methods 0.000 claims description 28
- 230000008569 process Effects 0.000 claims description 13
- 230000007704 transition Effects 0.000 claims description 9
- 239000000284 extract Substances 0.000 claims description 6
- 238000004088 simulation Methods 0.000 claims description 6
- 230000003068 static effect Effects 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000001788 irregular Effects 0.000 claims description 3
- 230000009466 transformation Effects 0.000 claims description 3
- 239000003086 colorant Substances 0.000 abstract 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000010893 paper waste Substances 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a cartoon flame generation method of 3D animation; the method comprises the following steps: based on a hand-drawn cartoon flame sample, the contour line of the flame sample is extracted and drawn on a billboard, and the flame sample is deformed by the axial deformation technology to synthesize wind moving flame effect and flame propagation effect. The inside of the flame is drawn by colors with gradient change, and a shape is arranged at the foot segment of the flame to achieve the purpose that when watching the flame on the billboard from the top of the 3D space, the flame still brings people with certain stereoscopic impression. The cartoon flame generated by adopting the method can keep the quality of the hand-drawn cartoon flame, when the wind moving flame effect and the flame propagation effect are presented, a new flame animation sequence is avoided from redrawing, and the animation length is not limited. By adopting the method, cartoon moving line animation production efficiency can be greatly improved. As a system directly generates and saves animation sequence image, the method breaks away from the use of paper sheet which are required in hand-drawn cartoon flame and can save a great amount of paper sheets.
Description
Technical field
The present invention relates to cartoon special efficacy animation producing method, relate in particular to the cartoon flame creation method of three-dimensional animation.
Background technology
Effects such as flowing water, flame, smog all have crucial effect to the sense of reality of setting off animation atmosphere and enhancing animation by contrast in cartoon, and wherein flame effect is an object common in the animation, for example torch, bonfire, fire etc.The cartoon flame animation still relies on manual drawing at present, and the animation art designing approximately can draw 20 width of cloth left and right sides pictures (animation of about 1 second length) in one day, and a cartoon effect length was generally for 3~6 seconds, and artificial the drafting needs 4~5 days, inefficiency.If the wind effect of performance cartoon flame, or cartoon flame spread effect, the animate personnel need repaint new cartoon flame sequence, and are time-consuming, and the waste paper.
Area of computer aided is made animation system and is conceived to mainly realize some making step in the traditional-handwork animation with computer means that its main algorithm is key picture (Keyframe) interpolation at present.But these methods that generate midway film automatically require the object between the key picture all continuous on geometry and time.Because cartoon flame contains the random motion component, thereby has destroyed the corresponding relation between the picture, causes said method complete failure.In addition, cartoon flame is the two-dimensional picture with artistic style of manual drawing, and they are difficult to also can't utilize physical knowledge such as channel theory etc. that it is set up model with particIe system (Particle system) expression.People propose the animation producing method of many processing flames in two more than ten years in the past, but mostly are devoted to generate the animation of the sense of reality, and to the effective solution of the unmanned always proposition of automatic generation cartoon style flame animation.
Summary of the invention
The cartoon flame creation method that the purpose of this invention is to provide a kind of three-dimensional animation, only need specify a spot of reference mark and parameter just can generate random length automatically, not have the periodicity emphasis cartoon flame animation of mechanical sense again by this method user, comprise that specifically cartoon flame wind effect and cartoon flame spread effect.It is real-time that formation speed reaches.
To achieve these goals, the cartoon flame creation method of three-dimensional animation of the present invention is the cartoon flame sample based on manual drawing, and they are carried out deformation process, controls these models with parameter and generates corresponding cartoon style flame animation automatically.
The inventive method specifically may further comprise the steps:
1) the cartoon flame animation sequence of input manual drawing;
2) the cartoon flame image with input carries out the black and white binary conversion treatment;
3) utilize 8 neighborhood templates scanning cartoon flame image and extract flame contours;
4) the cartoon flame outline data that extracts is placed in the two-dimensional coordinate system;
5) with the SPL that is defined on the Y-axis arc length deformation coordinate axle is set;
6) input flame pattern instruction generates static cartoon flame profile diagram, wind cartoon flame profile diagram or cartoon flame and spreads profile diagram:
When if execution command is stationary flame, then:
Input cartoon flame location parameter;
Input cartoon flame size parameter;
Generate static cartoon flame profile diagram;
When if execution command is wind flame, then:
Input flame deflection angle;
Input flame vibration mode;
Generate wind cartoon flame profile diagram;
When if execution command is propagation of flame, then:
Input propagation of flame path;
Input flame stable state height;
Generate cartoon flame and spread profile diagram;
7) in the cartoon flame profile diagram, draw color;
8) cartoon flame is plotted on the billboard;
9) cartoon flame bottom 3D processing;
10) generate the output of cartoon flame animation and video.
Among the present invention, the SPL that said usefulness is defined on the Y-axis is provided with arc length deformation coordinate axle, comprises the steps:
A, establish
For being defined in interval [u
0, u
1] last SPL,
For
The normal vector function,
Arc length s can be expressed as:
B, make P (x, y) be on the cartoon flame profile a bit, the parameter of curve u of its corresponding arc length under not distortion situation
yCan be expressed as
u
y=u
0+(y-s
0)/(s
1-s
0)*(u
1-u
0)
s
0And s
1The arc length of corresponding flame image height of difference and bottom;
C, utilize u
yCan on the axial curve of distortion, find a some R (u
y), (x y) can calculate by following formula new some position P on deformation space
D, the cartoon flame sample is embedded in the shaft distortion coordinate system, calculates each coordinate in axle becomes coordinate system on the cartoon flame contours.
Among the present invention, said generation wind cartoon flame profile diagram comprises the steps:
A, utilization index function #
i=e
-(1-i/N)Δ θ modulates deformed shaft, and Δ θ is the parameter of controlled deformation axle degree of deflection here, and i is i vector on the deformed shaft, and N is counting on the deformed shaft; Perhaps, utilize interpolation calculation to obtain a series of intermediate deformation axles according to manual position and the shape of specifying required deformed shaft of scene needs;
B, utilize principal axis transformation to calculate cartoon flame contours figure coordinate after the distortion on the deformed shaft.
Among the present invention, said generation cartoon flame spreads profile diagram, comprises the steps:
A, as a reference with X-axis, the definition cartoon flame spreads the flame size that enlarges gradually in the process;
B, the cartoon flame that spreads are divided into two parts: the transition section of flame head and thereafter stable state section, the transition section flame height by the end to height transition gradually, remain unchanged at stable state section flame height;
C, specify cartoon flame to spread the path alternately according to the scene needs;
D, input flame height parameter;
E, input cartoon rate of fire travel parameter;
F, cartoon flame according to command speed at the path vertical spread;
Among the present invention, saidly in the cartoon flame profile diagram, draw color, comprise the steps:
A, elder generation are depicted as redness to cartoon flame, get 1 p then on deformed shaft
c, with p
cBe the center, utilization index coefficient in the circle of radius r=1.1w
Control realizes orange-yellow to red gradual change from the center to the edge, and P is inner certain point of cartoon flame here, and w is the cartoon flame width;
B, to center of circle p
cAdd random perturbation, the irregular movement of simulation cartoon flame brightness;
C, in cartoon flame bottom to flame color with the background color interpolation, the translucent effect that simulation cartoon flame base is produced by thermal effect.
Among the present invention, said cartoon flame bottom 3D processing, step is as follows:
Place one with reference to oval at the cartoon flame root, on elliptic contour, add random perturbation and obtain some reference mark, again with SPL to these reference mark interpolation, obtain simulating the bottom profile of cartoon flame under the depression angle.
The cartoon flame creation method of three-dimensional animation of the present invention has the following advantages:
1. guaranteed that the cartoon flame that generates has the artistic characteristics of manual drawing cartoon flame, simultaneously two-dimensional cartoon flame expanded to three dimensions, flame size, just, movement velocity is parametrization and controls, and can adapt to the different scene needs in the cartoon.
2. the user only needs to import a small amount of reference mark alternately and parameter just can generate the cartoon flame animation that random length does not repeat mechanical sense, and this method is given birth to cartoon flame speed and reached real-time.Compare with manual drawing cartoon flame animation, can improve cartoon flame cartoon making efficient greatly.
3. this method directly generates the animation sequence image and preserves, and has broken away from the use of manual drawing cartoon flame animation to paper, thereby has saved a large amount of paper.
Description of drawings
Fig. 1 is three-dimensional animation cartoon flame product process figure of the present invention;
Fig. 2 is stationary flame product process figure;
Fig. 3 is wind flame product process figure;
Fig. 4 is the propagation of flame process flow diagram.
Embodiment
Further specify the present invention below in conjunction with accompanying drawing.
The cartoon flame product process of three-dimensional animation as shown in Figure 1, this flow process has the following steps successively:
1. cartoon flame sample pre-service:
1) the cartoon flame animation sequence of input manual drawing;
2) the cartoon flame image with input carries out the black and white binary conversion treatment;
3) utilize 8 neighborhood templates scanning cartoon flame image and extract flame contours;
8 neighborhood template marks are as follows:
-1,-1 | 0,-1 | 1,-1 |
-1,0 | 0,0 | 1,0 |
-1,1 | 0,1 | 1,1 |
A. find one not the mark outline line on point and with its mark;
B. the point of this mark as the current search center and with (0 ,-1) as initial search direction;
C. clockwise direction search outline line in 8 neighborhood templates if do not find not mark a little, jumps to d, otherwise the point that mark searches and with it as new search center; On the new direction of search, repeat c;
D. jump to a up to not marking a little.
4) the cartoon flame outline data that extracts is placed in the two-dimensional coordinate system;
5) with the SPL that is defined on the Y-axis arc length deformation coordinate axle is set, step is as follows:
A, establish
For being defined in interval [u
0, u
1] last SPL,
For
The normal vector function,
Arc length s can be expressed as:
B, make P (x, y) be on the cartoon flame profile a bit, the parameter of curve u of its corresponding arc length under not distortion situation
yCan be expressed as
u
y=u
0+(y-s
0)/(s
1-s
0)*(u
1-u
0)
s
0And s
1The arc length of corresponding flame image height of difference and bottom;
C, utilize u
yCan on the axial curve of distortion, find a some R (u
y), (x y) can calculate by following formula new some position P on deformation space
D, the cartoon flame sample is embedded in the shaft distortion coordinate system, calculates each coordinate in axle becomes coordinate system on the cartoon flame contours.
2. input cartoon flame pattern instruction: type instruction comprises that Class1 generates static cartoon flame profile diagram, type 2 wind cartoon flame profile diagrams, and type 3 cartoon flames spread profile diagram:
When if execution command is Class1 (referring to Fig. 2 flow process), then:
Input cartoon flame location parameter;
Input cartoon flame size parameter;
Generate static cartoon flame profile diagram.
When if execution command is type 2 (referring to Fig. 3 flow process), then:
Input flame deflection angle;
Input flame vibration mode;
System default mode: a, utilization index function #
i=e
-(1-i/N)Δ θ modulates deformed shaft, and Δ θ is the parameter of controlled deformation axle degree of deflection here, and i is i vector on the deformed shaft, and N is counting on the deformed shaft;
User interactions waves mode: according to manual position and the shape of specifying required deformed shaft of scene needs, utilize interpolation calculation to obtain a series of intermediate deformation axles;
B, utilize principal axis transformation to calculate cartoon flame contours figure coordinate after the distortion on the deformed shaft.
Generate wind cartoon flame profile diagram.
When if execution command is type 3 (referring to Fig. 4 flow process), then:
Input propagation of flame path;
Input flame stable state height;
A, as a reference with X-axis, the definition cartoon flame spreads the flame size that enlarges gradually in the process;
B, the cartoon flame that spreads are divided into two parts: the transition section of flame head and thereafter stable state section, the transition section flame height by the end to height transition gradually, remain unchanged at stable state section flame height;
C, specify cartoon flame to spread the path alternately according to the scene needs;
D, input flame height parameter;
E, input cartoon rate of fire travel parameter;
F, cartoon flame according to command speed at the path vertical spread;
Generate cartoon flame and spread profile diagram.
3. in the cartoon flame profile diagram, draw color:
A, elder generation are depicted as redness to cartoon flame, get 1 p then on deformed shaft
c, with p
cBe the center, utilization index coefficient in the circle of radius r=1.1w
Control realizes orange-yellow to red gradual change from the center to the edge, and P is inner certain point of cartoon flame here, and w is the cartoon flame width;
B, to center of circle p
cAdd random perturbation, the irregular movement of simulation cartoon flame brightness;
C, in cartoon flame bottom to flame color with the background color interpolation, the translucent effect that simulation cartoon flame base is produced by thermal effect.
4. cartoon flame is plotted on the billboard (Billboard).
5. cartoon flame bottom 3D processing:
Place one with reference to oval at the cartoon flame root, on elliptic contour, add random perturbation and obtain some reference mark, again with SPL to these reference mark interpolation, obtain simulating the bottom profile of cartoon flame under the depression angle.
6. generate the cartoon flame animation and the cartoon flame animation that generates is output into video cartoon according to standard A VI form.
Claims (6)
1. the cartoon flame creation method of three-dimensional animation may further comprise the steps:
1) the cartoon flame animation sequence of input manual drawing;
2) the cartoon flame image with input carries out the black and white binary conversion treatment;
3) utilize 8 neighborhood templates scanning cartoon flame image and extract flame contours;
4) the cartoon flame outline data that extracts is placed in the two-dimensional coordinate system;
5) with the SPL that is defined on the Y-axis arc length deformation coordinate axle is set;
6) input flame pattern instruction generates static cartoon flame profile diagram, wind cartoon flame profile diagram or cartoon flame and spreads profile diagram:
When if execution command is stationary flame, then:
Input cartoon flame location parameter;
Input cartoon flame size parameter;
Generate static cartoon flame profile diagram;
When if execution command is wind flame, then:
Input flame deflection angle;
Input flame vibration mode;
Generate wind cartoon flame profile diagram;
When if execution command is propagation of flame, then:
Input propagation of flame path;
Input flame stable state height;
Generate cartoon flame and spread profile diagram;
7) in the cartoon flame profile diagram, draw color;
8) cartoon flame is plotted on the billboard;
9) cartoon flame bottom 3D processing;
10) generate the output of cartoon flame animation and video.
2. the cartoon flame creation method of three-dimensional animation according to claim 1 is characterized in that the SPL that said usefulness is defined on the Y-axis is provided with arc length deformation coordinate axle, comprises the steps:
A, establish
Y (u)) for being defined in interval [u
0, u
1] last SPL,
For
The normal vector function,
Arc length s can be expressed as:
B, make P (x, y) be on the cartoon flame profile a bit, the parameter of curve u of its corresponding arc length under not distortion situation
yCan be expressed as
u
y=u
0+(y-s
0)/(s
1-s
0)*(u
1-u
0)
s
0And s
1The arc length of corresponding flame image height of difference and bottom;
C, utilize u
yCan on the axial curve of distortion, find a some R (u
y), (x y) can calculate by following formula new some position P on deformation space
D, the cartoon flame sample is embedded in the shaft distortion coordinate system, calculates each coordinate in axle becomes coordinate system on the cartoon flame contours.
3. the cartoon flame creation method of three-dimensional animation according to claim 1 is characterized in that said generation wind cartoon flame profile diagram, comprises the steps:
A, utilization index function #
i=e
-(1-i/N)Δ θ modulates deformed shaft, and Δ θ is the parameter of controlled deformation axle degree of deflection here, and i is i vector on the deformed shaft, and N is counting on the deformed shaft; Perhaps, utilize interpolation calculation to obtain a series of intermediate deformation axles according to manual position and the shape of specifying required deformed shaft of scene needs;
B, utilize principal axis transformation to calculate cartoon flame contours figure coordinate after the distortion on the deformed shaft.
4. the cartoon flame creation method of three-dimensional animation according to claim 1 is characterized in that said generation cartoon flame spreads profile diagram, comprises the steps:
A, as a reference with X-axis, the definition cartoon flame spreads the flame size that enlarges gradually in the process;
B, the cartoon flame that spreads are divided into two parts: the transition section of flame head and thereafter stable state section, the transition section flame height by the end to height transition gradually, remain unchanged at stable state section flame height;
C, specify cartoon flame to spread the path alternately according to the scene needs;
D, input flame height parameter;
E, input cartoon rate of fire travel parameter;
F, cartoon flame according to command speed at the path vertical spread.
5. the cartoon flame creation method of three-dimensional animation according to claim 1 is characterized in that saidly drawing color in the cartoon flame profile diagram, comprises the steps:
A, elder generation are depicted as redness to cartoon flame, get 1 p then on deformed shaft
c, with p
cBe the center, utilization index coefficient in the circle of radius r=1.1w
Control realizes orange-yellow to red gradual change from the center to the edge, and P is inner certain point of cartoon flame here, and w is the cartoon flame width;
B, to center of circle p
cAdd random perturbation, the irregular movement of simulation cartoon flame brightness;
C, in cartoon flame bottom to flame color with the background color interpolation, the translucent effect that simulation cartoon flame base is produced by thermal effect.
6. the cartoon flame creation method of three-dimensional animation according to claim 1 is characterized in that said cartoon flame bottom 3D processing, and step is as follows:
Place one with reference to oval at the cartoon flame root, on elliptic contour, add random perturbation and obtain some reference mark, again with SPL to these reference mark interpolation, obtain simulating the bottom profile of cartoon flame under the depression angle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810063358A CN100587723C (en) | 2008-08-08 | 2008-08-08 | Three-dimensional animations cartoon flame creation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810063358A CN100587723C (en) | 2008-08-08 | 2008-08-08 | Three-dimensional animations cartoon flame creation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101339668A true CN101339668A (en) | 2009-01-07 |
CN100587723C CN100587723C (en) | 2010-02-03 |
Family
ID=40213728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810063358A Expired - Fee Related CN100587723C (en) | 2008-08-08 | 2008-08-08 | Three-dimensional animations cartoon flame creation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100587723C (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102169594A (en) * | 2010-02-26 | 2011-08-31 | 新奥特(北京)视频技术有限公司 | Method and device for realizing tweening animation in any region |
CN104091359A (en) * | 2014-07-23 | 2014-10-08 | Tcl集团股份有限公司 | Method and device for conducting vector deformation animation simulation on texture map of bitmap format |
CN105787995A (en) * | 2016-01-17 | 2016-07-20 | 郑州财经学院 | Method for processing plane figure image |
-
2008
- 2008-08-08 CN CN200810063358A patent/CN100587723C/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102169594A (en) * | 2010-02-26 | 2011-08-31 | 新奥特(北京)视频技术有限公司 | Method and device for realizing tweening animation in any region |
CN104091359A (en) * | 2014-07-23 | 2014-10-08 | Tcl集团股份有限公司 | Method and device for conducting vector deformation animation simulation on texture map of bitmap format |
CN104091359B (en) * | 2014-07-23 | 2018-01-16 | Tcl集团股份有限公司 | The method and apparatus that vector shape animation is simulated to the texture mapping of bitmap format |
CN105787995A (en) * | 2016-01-17 | 2016-07-20 | 郑州财经学院 | Method for processing plane figure image |
CN105787995B (en) * | 2016-01-17 | 2018-09-28 | 郑州财经学院 | A kind of graphical image plane processing method |
Also Published As
Publication number | Publication date |
---|---|
CN100587723C (en) | 2010-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102663766B (en) | Non-photorealistic based art illustration effect drawing method | |
CN101156175B (en) | Depth image-based representation method for 3d object, modeling method and apparatus, and rendering method and apparatus using the same | |
CN106709975B (en) | A kind of interactive three-dimensional facial expression animation edit methods, system and extended method | |
CN108062453B (en) | Flood high-efficiency simulation and high-fidelity visual dynamic display method for water conservancy information system | |
CN101303772A (en) | Method for modeling non-linear three-dimensional human face based on single sheet image | |
CN101930618B (en) | Method for producing individual two-dimensional anime | |
CN103824253A (en) | Figure five sense organ deformation method based on image local precise deformation | |
CN104063888B (en) | A kind of wave spectrum artistic style method for drafting based on feeling of unreality | |
CN104599305A (en) | Two-dimension and three-dimension combined animation generation method | |
CN102509356A (en) | Detail-kept geometrical model deformation method using grid subdivision | |
CN104103091A (en) | 3D intelligent modeling method and system and a flexible manufacturing system of 3D model | |
WO2012155510A1 (en) | Method and apparatus for processing character deformation special effect | |
CN101329768B (en) | Method for synthesizing cartoon based on background view | |
CN102354402B (en) | Drawing rendering method based on style learning | |
CN100587723C (en) | Three-dimensional animations cartoon flame creation method | |
CN104200505A (en) | Cartoon-type animation generation method for human face video image | |
CN109712236A (en) | Three-dimensional visualization implementation method based on SVG map datum | |
CN107845127A (en) | A kind of human face cartoon animation image design method | |
CN103793552A (en) | Real-time dynamic generating method for local particle spring model with deformed soft tissues | |
Zhang et al. | The Application of Folk Art with Virtual Reality Technology in Visual Communication. | |
CN102663828B (en) | Method for automatically generating three-dimensional calligraphic inscription or plaque | |
CN103208130B (en) | Large-scale group performance animation synthetic method and equipment | |
Chen et al. | Character animation creation using hand-drawn sketches | |
CN103198520A (en) | Individuation portrait product design method based on control point and control line neighborhood deformation | |
CN101488234A (en) | Facial expression animation synthesizing method based on muscle model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100203 Termination date: 20110808 |