Graphics Programs Reference
In-Depth Information
Creating a synthetic sponge material
with procedurals
In this recipe we will create a polyurethane sponge material, the type that you can
usually find in any kitchen:
Getting ready
1. Start Blender and switch to the
Cycles Render
engine.
2. If not already selected, select the default cube and in the
Transform
panel
to the right of the 3D view, under
Dimensions
, digit these values:
X 0.350
,
Y 0.235
, and
Z 0.116
. Press
Ctrl
+
A
to apply the scale.
3. Put the mouse in the 3D view and add a plane to the scene (
Shift
+
A
|
Mesh
|
Plane
). Go out of
Edit Mode
and in the
Transform
panel,
Dimen-
sions
tab, write:
X 20.000
and
Y 20.000
. Again press
Ctrl
+
A
to apply the
scale. Move the plane down (
G
|
Z
|
-0.05958
|
Enter
), to be the floor for
the cube.
4. Select the Lamp, in the
Object Data
window click on the
Use Nodes
but-
ton and change the type to a Sun. Set the
Size
to
0.500
, the
Color
to pure
white, and the
Strength
to
5.000
. In the
Transform
panel write these val-
ues:
Location X 3.44784
,
Y -1.15659
,
Z 14.12848
;
Rotation X 15°
,
Y 0°
,
Z 76°
.
5. Select the Camera and in the
Object Data
window, under the
Lens
tab,
change the
Focal Length
to
60.000
. In the
Transform
panel write these
values:
Location X 0.82385
,
Y -0.64613
,
Z 0.39382
;
Rotation X 68°
,
Y 0°
,
Z 51°
.
6. Go to the
World
window and click on the
Use Nodes
button under the
Surface
tab; click on the little square with a dot on the right side of the col-
or slot: from the menu select
Sky Texture
. Set the
Strength
to
0.100
.
7. Go to the
Render
window and under the
Sampling
tab set the
Clamp
value to
1.00
and the
Samples
for
Render
and
Preview
to
50
.