<guide type="disp" title="Extract a Displacement Map">

<step title="Select the Extract Tool">

<cmd ed="Displacement" type="activate,close"/>

<p>We'll use the Extract tool to generate a displacement map from the shading information in a photo, or from normals in a normal map.</p>

<p>If a previous Displacement map is open, it will close so that we can start.</p>

<p>Open the Extract tool in the Map Tools area at the right, if it is not not already opened.</p>

</step>


<step title="Select Extraction Method">

<p>Start by selecting the Method which can be one of:</p>

<ul>
<li>From Shading information in a photo.</li>
<li>From Normals in a normal map file.</li>
</ul>

<p>Depending on which map you plan to use as source, select one of these two options.</p>

</step>



<step title="Select Source">
<p>Now select the actual source image by clicking in the Source drop menu.</p>

<p>You can choose to:</p>

<ul>
<li>Use a currently open {PBR?Base Color|Diffuse} or Normal map.</li>
<li>Open from a file in your computer.</li>
<li>Paste an image from the Clipboard.</li>
<li>Drag'n'drop a file into the tool area (not into the Editor).</li>
</ul>

<p>After selecting the source image, extraction will automatically start.</p>

<p>The extracted image will be of the same Width and Height as the source image. If by chance a Displacement map is currently open and is of different size, a window will appear asking which size to keep.</p>

</step>




<step title="Extraction Tuning">

<p>After extraction starts, new settings will appear allowing you to tune the extracted Displacement surface.</p>

<p>Use the Surface slider to control the surface relief. Lower values extract smoother maps with larger features but little fine detail, while higher values will extract crisper displacement. Try moving this slider to tune the extracted surface. (This setting is not available when extracting from Normals)</p>

<p>The Detail slider adds fine detail to the extracted surface. The leftmost position adds nothing, with higher values progressively adding fine and even medium-level detail.</p>

<p>And the Range slider allows you to control how far from each other are the topmost and bottommost points in the surface.</p>

<p>The extracted displacement can further refined or retouched with the other tools available, like the Keying or Paint tools.</p>

</step>




<step title="2D/3D Viewer">

<p>To better grasp the extracted Displacement map, you can switch the Editor between the 2D or 3D views by clicking the button in the top-left corner of the Editor.</p>

<p>Zoom the displacement map in and out by rotating the mouse wheel. Or try dragging while pressing the right mouse button to rotate. And with the middle mouse button down, you can pan the displacement map.</p>

</step>



<step title="Video Tutorials">

<p>
The following video tutorials are related to map extraction:
</p>

<ul>
<li>
<a href="https://www.pixplant.com/support.php#extract">Extracting 3D Maps</a>
</li>

<li>
<a href="https://www.pixplant.com/support.php#normaltofrom">Normal To and From Displacement Map</a>
</li>

</ul>

<p>
Please watch in full screen by clicking the button at the bottom-right corner of the viewer.
</p>


</step>



</guide>