Doc:2.6/Manual/Physics/Smoke/Material

提供: wiki
< Doc:2.6‎ | Manual‎ | Physics‎ | Smoke
2012年9月8日 (土) 20:13時点におけるwiki>Yaoyue 2012による版
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索
Page status (reviewing guidelines)

Page reviewed and in good shape

Smoke Material

Create the Material

Simulating the smoke is easy, however rendering it is not.

The Render without the correct smoke material.

Rendering at this point will result in just the big cube (Image, F12) or in a crash (Animation, CtrlF12).

The material must be a volumetric material with a Density of 0, and a high Density Scale.

The material settings.

The first issue can easily be fixed by working on the material and texture of the domain cube. Smoke requires a complex material to render correctly. Select the big cube and go to the material tab. There change the material to 'Volume' and set the density to 0. If you set the density to values bigger than 0 the domain cube will be filled with the volume material. The other settings will affect the smoke, though. We'll cover those later.

Go to the material tab
Smoke needs a volume material
Density applies to the cube only, so we need to set it to 0

Add the Texture

In addition, Smoke requires its own texture. Blender 2.5 has a new texture just for rendering smoke called Voxel Data. You must remember to set the domain object and change the influence.

The texture settings.

Go to the texture tab and change the type to 'Voxel Data'. Under the Voxel Data-Settings set the domain object to our domain cube (it should be listed just as 'Cube' since we are using Blender's default cube. Under Influence check 'Density' and leave it at 1.000 (Emission should be automatically checked, too). Now you should be able to render single frames. You can choose to color your smoke as well, by turning "Emmision Color" back on.

Blender3D FreeTip.png
To see the smoke more clearly
Under the world tab, chose a very dark color for the horizon.


We need to add a texture of the smoke
Type should be Voxel Data
The domain is once again our big cube
Use density as influence
Finally your first smoke render :)
The rendered smoke. It's hard to see, but it's there.

Extending the Smoke Simulator: Fire!

You can also turn your smoke into fire with another texture! To make fire, turn up the Emmision Value in the Materials panel.

The Fire material.

Then, add another texture (Keep the old texture or the smoke won't show). Give it a fiery color ramp- which colors based on the alpha, and change the influence to emmision and emmision color. Change the blend to Multiply.

The fire texture settings.
The fire render.