Content deleted Content added
Tags: Mobile edit Mobile app edit Android app edit |
m →Approaches to reflection rendering: Add spaces between word and round bracket |
||
(12 intermediate revisions by 10 users not shown) | |||
Line 1:
{{short description|Simulation of reflective surfaces}}
{{
[[Image:Refl sample.jpg|frame|right|[[Ray tracing (graphics)|Ray-traced]] model demonstrating specular reflection
'''Reflection''' in [[computer graphics]] is used to
Accurate reflections
==Approaches to reflection rendering==
[[File:CG reflections comparison.png|thumb|right|upright=1|Comparison of accurate reflections computed with [[path tracing]] (left), approximate reflections with [[environment mapping]] (middle), and screen space reflections (right)
For rendering environment reflections there exist many techniques that differ in precision, computational and implementation complexity. Combination of these techniques are also possible.
[[Image and object order rendering|Image order rendering]] algorithms based on tracing rays of light, such as [[Ray tracing (graphics)|ray tracing]] or [[path tracing]], typically compute accurate reflections on general surfaces, including multiple reflections and self reflections. However these algorithms are generally still too computationally expensive for real time rendering (even though specialized HW exists, such as [[Nvidia RTX]]) and require a different rendering approach from typically used [[rasterization]].
Reflections on planar surfaces, such as planar mirrors or water surfaces, can be computed simply and accurately in real time with two pass rendering — one for the viewer, one for the view in the mirror, usually with the help of [[stencil buffer]].<ref>{{cite journal
Reflections on non-planar (curved) surfaces are more challenging for real time rendering. Main approaches that are used include:
*[[Environment mapping]] (e.g. [[cube mapping]]): a technique that has been widely used e.g. in video games, offering reflection approximation that's mostly sufficient to the eye, but lacking self-reflections and requiring
*
==Types of reflection==
Line 31:
===Polished or mirror reflection===
[[Image:Mirror2.jpg|frame|right|Mirror on wall rendered with 100% reflection
Mirrors are usually almost 100% reflective.
{{clear}}
Line 59:
===Wet floor reflections===
{{anchor|Wet floor effect}}
The ''wet floor effect''<ref>
is a [[Computer graphics|graphic]] [[Special effect|effect]]s technique popular in conjunction with [[Web 2.0]] style pages, particularly in [[logo]]s. The effect can be done manually or created with an auxiliary tool which can be installed to create the effect automatically. Unlike a standard computer reflection (and the [[Java (programming language)|Java]] water effect popular in first-generation web [[Digital image|graphics]]), the wet floor effect involves a [[gradient]] and often a slant in the reflection, so that the mirrored image appears to be [[Levitation (physics)|hovering]] over or resting on a wet floor.
==See also==
Line 74:
{{DEFAULTSORT:Reflection (Computer Graphics)}}
{{Computer graphics}}
[[Category:Computer graphics]]
[[Category:3D computer graphics]]
|