Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of...

12
Animating Fire by Kathleen Marty

description

Motivation Why not use a numerical simulation to model fire? –Numerical simulations scale poorly. Increase in resolution = O(n 3 ) increase in complexity. –Fire is chaotic. Initial conditions cause drastic effects. –Unintuitive to control under different physical circumstances.

Transcript of Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of...

Page 1: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

Animating Fire

by Kathleen Marty

Page 2: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

How to create fire?

• Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette and Nick Foster.

• Emphasis: Total artistic and behavioral control.

• Basis: Physics and stochastic models. No intention to perfectly model real world.

Page 3: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

Motivation

• Why not use a numerical simulation to model fire?– Numerical simulations scale poorly. Increase

in resolution = O(n3) increase in complexity.– Fire is chaotic. Initial conditions cause drastic

effects.– Unintuitive to control under different physical

circumstances.

Page 4: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

Essential Model: 8 stages

(1) Flame Spine (2) Wind Field (3) Flicker / Separate (4) Profile

(5) Noise (6) Transform (7) Render (8) Procedural Controls

Page 5: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

What I did: Flame spine

• Step 1: Created a B-spline that can interpolate through points that move in a wind field.

• Step 2: Windfield: modeled thermal bouyancy and diffusion. Did not model rotational wind. Solved using rk4.

• Step 3: Modeled flame flickering. Flickers when reaches a certain height. Did not model flame separation.

Page 6: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

What I did: Flame profile• Step 4: Obtained flame

profile by thresholding a flame image and reading the boundary.

• Rotated the profile about the center and randomly sampled the volume to create particles.

• Step 5: Adding noise to the volumetric samples made it look bad. Paper uses “Flow Noise” [Perlin].

Page 7: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

What I did: Profile Transformation

• Step 6: Transformed the flame from the profile space to corresponding points on the flame spine.

• Quaternoins worked perfectly for this step, I learned the hard way. (Rotation about an arbitrary axis).

Page 8: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

What I did: Rendering

• Step 7: Rendered the flame only by mapping colors from original image to particles.

• Did not:– Apply density function to determine

incandescence.– Super-sample profile based on camera

position (flames are view-dependent).– Do Step 8: flame spread, object interaction,

smoke generation.

Page 9: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

Some Results

Page 10: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

Some Results

Page 11: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

Getting into Maya

• Plugin: Got particles in but lost color mapping.

Page 12: Animating Fire by Kathleen Marty. How to create fire? Implement the paper: Structural Modeling of Flames for a Production Environment, by Arnauld Lamorlette.

Given more time: