Content deleted Content added
IkamusumeFan (talk | contribs) add a new svg image |
GreenC bot (talk | contribs) Reformat 1 archive link. Wayback Medic 2.5 per WP:USURPURL and JUDI batch #24 |
||
(28 intermediate revisions by 22 users not shown) | |||
Line 1:
{{short description|Computer graphics technique}}
{{More citations needed|date=June 2023}}
{{multiple image
<!-- Essential parameters -->
Line 16 ⟶ 17:
|image1=Displacement.jpg
|width1 = 160
|caption1=
|alt1=Cartesian transport
|image2=Displace Map.svg
|width2 = 160
|caption2=
|alt2=Polar transport
}}
'''Displacement mapping''' is an alternative computer graphics technique in contrast to [[bump mapping|bump]], [[normal mapping|normal]], and [[Parallax mapping|parallax]] [[Texture mapping|mapping]], using a
For years, displacement mapping was a peculiarity of high-end rendering systems like [[PhotoRealistic RenderMan]], while realtime [[Application programming interface|APIs]], like [[OpenGL]] and [[DirectX]], were only starting to use this feature. One of the reasons for this is that the original implementation of displacement mapping required an adaptive [[Tessellation
==Meaning of the term in different contexts==
Displacement mapping includes the term mapping which refers to a [[texture mapping|texture map]] being used to modulate the displacement strength. The displacement direction is usually the local surface normal. Today, many [[Rendering (computer graphics)|renderer]]s allow [[shader|programmable shading]] which can create high quality (multidimensional) [[procedural texture]]s and [[texture synthesis|patterns]] at
Renderers using the [[Reyes rendering|REYES]] [[algorithm]], or similar approaches based on [[micropolygon]]s, have allowed displacement mapping at arbitrary high frequencies since they became available almost 20 years ago.
Line 45 ⟶ 46:
Recent developments seem to indicate that some of the renderers that use sub-pixel displacement move towards supporting higher level geometry too. As the vendors of these renderers are likely to keep using the term sub-pixel displacement, this will probably lead to more obfuscation of what displacement mapping really stands for, in [[3D computer graphics]].
In reference to Microsoft's proprietary [[High Level Shader Language]], displacement mapping can be interpreted as a kind of "vertex-texture mapping" where the values of the [[texture map]] do not alter pixel colors (as is much more common), but instead change the position of vertices. Unlike bump, normal and parallax mapping, all of which can be said to "fake" the behavior of displacement mapping, in this way a genuinely ''rough'' surface can be produced from a texture. It has to be used in conjunction with adaptive [[tessellation]] techniques (that increases the number of rendered polygons according to current viewing settings) to produce highly detailed meshes.{{citation needed|date=March 2020}}
==See also==
* [[Texture mapping]]▼
* [[Heightmap]]
==Further reading==
*[
*[https://garagefarm.net/blog/how-displacement-maps-work-and-how-to-optimize-them-in-v-ray-part-1/ Vray Displacement Mapping]
* [http://www.inf.ufrgs.br/%7Eoliveira/RTM.html Relief Texture Mapping] website
* {{usurped|1=[https://web.archive.org/web/20150419215321/http://sunandblackcat.com/tipFullView.php?l=eng&topicid=28 Parallax Occlusion Mapping in GLSL on sunandblackcat.com]}}
*[http://www.inf.ufrgs.br/%7Eoliveira/pubs_files/Policarpo_Oliveira_Comba_RTRM_I3D_2005.pdf ''Real-Time Relief Mapping on Arbitrary Polygonal Surfaces''] paper▼
* [http://www.inf.ufrgs.br/%7Eoliveira/pubs_files/
▲* [http://www.inf.ufrgs.br/%7Eoliveira/pubs_files/
*''[https://web.archive.org/web/20110816214356/http://
==References==
{{reflist}}
[[Category:Texture mapping]]
|