Displacement mapping: Difference between revisions

Content deleted Content added
add a new svg image
Line 1:
{{No footnotes|date=August 2011}}
{{multiple image
[[Image:Displacement.jpg|thumb|Displacement mapping]]
<!-- Essential parameters -->
| align = right
| direction = horizontal
| width = 160
<!-- Extra parameters -->
| header =
| header_align = center
| header_background =
| footer =
| footer_align =
| footer_background =
| background color =
 
|image1=Displacement.jpg
|width1 = 160
|caption1=<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">Displacement mapping in mesh.</div>
|alt1=Cartesian transport
 
|image2=Displace Map.svg
|width2 = 160
|caption2=<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">Displacement mapping with SVG filter effects.</div>
|alt2=Polar transport
}}
'''Displacement mapping''' is an alternative computer graphics technique in contrast to [[bump mapping]], [[normal mapping]], and [[parallax mapping]], using a ([[procedural texture|procedural]]-) [[texture mapping|texture-]] or [[heightmap|height map]] to cause an effect where the actual geometric position of points over the textured surface are ''displaced'', often along the [[Locally|local]] [[surface normal]], according to the value the texture function evaluates to at each point on the surface. It gives surfaces a great sense of depth and detail, permitting in particular self-occlusion, [[self-shadowing]] and silhouettes; on the other hand, it is the most costly of this class of techniques owing to the large amount of additional geometry.