180 likes | 331 Views
Adaptive Volumetric Shadow Maps Marco Salviy, Kiril Vidimce, Andrew Lauritzen and Aaron Lefohn. presenters: John Koutsoumpas Nick Linakis. Overview. Adaptive Volumetric Shadow Maps. Pre-existed Methods. Adaptive Volumetric Shadow Maps. Introduction. Algorithm Overview.
E N D
Adaptive Volumetric Shadow MapsMarco Salviy, Kiril Vidimce, Andrew Lauritzen and Aaron Lefohn presenters: John Koutsoumpas Nick Linakis
Overview Adaptive Volumetric Shadow Maps
Pre-existed Methods Adaptive Volumetric Shadow Maps
Introduction Adaptive Volumetric Shadow Maps
Algorithm Overview Adaptive Volumetric Shadow Maps
AVSM - Generation Light transmittance Attenuation function: light absorbed Adaptive Volumetric Shadow Maps
AVSM - Generation 1 Transmittance 0 Depth Adaptive Volumetric Shadow Maps • Render the scene from the light’s viewpoint. • Insert and render a non-opaque occluder. • Record density, entry and exit points. • Insert segments representing the ray’s traversal through the particle.
AVSM - Generation frame node array texel Adaptive Volumetric Shadow Maps • Store fixed-size array including nodes for each texel. • Node → (di, ti) • Adaptively place nodes • Various shadow blocker representation. • N ≥ 2
AVSM - Generation 1 1 • Integrate and composite transmittance over the segment with existing values 0.6 Transmittance 0 Depth Adaptive Volumetric Shadow Maps
AVSM - Compression Adaptive Volumetric Shadow Maps • Real-time lossy compression of transmittance data • Inexpensive • Small error rate • Remove the node that contributes less • Keep first and last node intact • Compression must not re-arrange node positions • Nodes can drift unpredictably • Artifacts ( black/bright shadows, temporal aliasing )
AVSM - Compression Adaptive Volumetric Shadow Maps Assume linear variation to simplify are computations Compute integral variation Removing a node affects only the area of the involved trapezoids
AVSM - Compression 1 Triangle area represents the Integral variation Transmittance max nodes: 5 ΔA 6 current nodes: 5 0 Depth Adaptive Volumetric Shadow Maps
AVSM - Sampling T(d)= tl+(d – dl ) texel (tl , dl) (tr , dr) Adaptive Volumetric Shadow Maps • Compute overall transmittance • Find bounding nodes of shadow receiver in depth d • Bilinear filtering
Evaluation 1 Transmittance 0 Depth Adaptive Volumetric Shadow Maps
Benefits - Limitations Adaptive Volumetric Shadow Maps
References Adaptive Volumetric Shadow Maps Salvi M., Vidimce K., Lauritzen A., Lefohn A., Adaptive Volumetric Shadow Maps (2010) LOKOVIC T., VEACH E.: Deep shadow maps. In Proceedings of ACM SIGGRAPH 2000 (July 2000), Computer Graphics Proceedings KIM T.-Y., NEUMANN U.: Opacity shadow maps. In Rendering Techniques 2001: 12th Eurographics Workshop on Rendering (June 2001) JANSEN J., BAVOIL L.: Fourier opacity mapping. InI3D ’10: Proceedings of the 2010 Symposium on Interactive 3D Graphics and Games (Feb. 2010)
AVSM Thank you for your attention! Questions? Adaptive Volumetric Shadow Maps