LuxBlend tutorial: Displacement Map
Views
Personal tools
From LuxRender Wiki
| This page relates to Blender 2.4x and LuxBlend 0.7.x |
Contents |
Objective
Learn how to apply and render a displacement map.
Preparation
Create a directory Displacement Tutorial, which will be our working directory.
Download an appropriate material you can use as a diffuse (color) and displacement map. In this example I will download the "Stonesurface" material from the Indigo material database. Of course you can use any other diffuse and displacement map you find on the internet or create by yourself.
Download the pigm file from the Indigo material database. A pigm file is like a ZIP archive. Extract the two textures PACKED_0_STONESURFACE.jpg and PACKED_1_STONESURFACE_D.jpg from the pigm archive to the Displacement Tutorial directory.
Start Blender.
Setup Scene in Blender
Blender starts with the default scene which we need to alter. Select the cube and delete it.
The scene is now empty. Add a plane to it. Press the <S> key to scale it, enter <3> to scale it 3 times the original size and apply it by pressing <Return>.
Press <F5> and add the "Material" to the plane.
Press <F9> and add a Subsurf modifier to the plane and increase both levels to 5. The fields with the green dot have to be changed.
Split the screen. If you do not know how to do this then check this Blender documentation page.
UV Mapping in Blender
Move the mouse over the left area in Blender and press <SHIFT> + <F10> to switch to the UV/Image Editor. Now move the mouse to the right area. Keep the plane selected and press <Tab> to switch from Object Mode to Edit Mode. Press <U> and select Unwrap. The shape of the frame now appears in the left area, the UV/Image Editor.
LuxRender Export
Open the LuxRender exporter in Blender.
Switch to the Material tab in the exporter. The fields with the green dot have to be changed.
Render
This is the output of LuxRender.






