Graphics Reference
In-Depth Information
Creating cloth materials with procedurals
In this recipe, we will create a generic cloth material, as shown in the following screenshot:
The cloth material as it appears in the final rendering
Getting ready
Before we start creating the material, let's set up the scene by performing the following steps:
1.
Start Blender and load the 9931OS_cloth_start.blend file. In the scene,
there is already a cloth simulation.
2.
Click on the Play animation button in the Timeline toolbar (or press Alt + A )
to see the simulation running and being cached in real time. It consists of a
Plane (our fabric) draped on a UV Sphere leaning on a bigger Plane (the floor).
3.
After the simulation has been totally cached (a total of 100 frames), in the Physics
window (the last tab to the right) under the Cloth Cache tab, press the Current
Cache to Bake button to save the simulation. The 100-frame simulation is now
cached and saved inside a folder (unless differently specified), named as a blend
file, and stored on your hard drive in the same directory as the blend file.
From now on, there is no need to perform calculations about the simulation anymore. Blender
will read the simulation data from that cache folder, so it will be possible to quickly scroll
through the Timeline bar and immediately reach any frame inside the cached range.
 
Search WWH ::




Custom Search