Guided Visibility Sampling Peter Wonka, Michael Wimmer, Kaichi Zhou, Stefan Maierhofer, Gerd Hesina, Alexander Reshetov.

Slides:



Advertisements
Similar presentations
Two Segments Intersect?
Advertisements

A Robust Super Resolution Method for Images of 3D Scenes Pablo L. Sala Department of Computer Science University of Toronto.
CAP4730: Computational Structures in Computer Graphics Visible Surface Determination.
Hidden Surface Removal Why make the effort?  Realistic models.  Wasted time drawing. OpenGL and HSR  OpenGL does handle HSR using the depth buffer.
Visibility in Computer Graphics Toni Sellarès Unversitat de Girona
Computer Graphics Visible Surface Determination. Goal of Visible Surface Determination To draw only the surfaces (triangles) that are visible, given a.
Scalability with many lights II (row-column sampling, visibity clustering) Miloš Hašan.
Path Differentials for MC Rendering Frank Suykens Department of Computer Science K.U.Leuven, Belgium Dagstuhl 2001: Stochastic methods in Rendering.
Christian Lauterbach COMP 770, 2/11/2009
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
Chapter 6: Vertices to Fragments Part 2 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
Sampling Attila Gyulassy Image Synthesis. Overview Problem Statement Random Number Generators Quasi-Random Number Generation Uniform sampling of Disks,
Tomas Mőller © 2000 Speeding up your game The scene graph Culling techniques Level-of-detail rendering (LODs) Collision detection Resources and pointers.
1 An Adaptive Nearest Neighbor Classification Algorithm for Data Streams Yan-Nei Law & Carlo Zaniolo University of California, Los Angeles PKDD, Porto,
Visualization and graphics research group CIPIC January 30, 2003Multiresolution (ECS 289L) - Winter MAPS – Multiresolution Adaptive Parameterization.
Parallelizing Raytracing Gillian Smith CMPE 220 February 19 th, 2008.
Geometric Sound Propagation Anish Chandak & Dinesh Manocha UNC Chapel Hill
Introduction General Data Structures - Arrays, Linked Lists - Stacks & Queues - Hash Tables & Binary Search Trees - Graphs Spatial Data Structures -Why.
Optimized Subdivisions for Preprocessed Visibility Oliver Mattausch, Jiří Bittner, Peter Wonka, Michael Wimmer Institute of Computer Graphics and Algorithms.
Computer Modelling Of Fallen Snow Paul Fearing University of British Columbia Vancouver, Canada.
Bounding Volume Hierarchies and Spatial Partitioning Kenneth E. Hoff III COMP-236 lecture Spring 2000.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Instructor: Paul Beame TA: Gidon Shavit.
Lecture 8 Advanced Rendering – Ray Tracing, Radiosity & NPR.
Adaptive Global Visibility Sampling Jiří Bittner 1, Oliver Mattausch 2, Peter Wonka 3, Vlastimil Havran 1, Michael Wimmer 2 1 Czech Technical University.
CSCE 641: Computer Graphics Ray Tracing Jinxiang Chai.
Hidden Surface Removal
Samuli Laine: A General Algorithm for Output-Sensitive Visibility PreprocessingI3D 2005, April 3-6, Washington, D.C. A General Algorithm for Output- Sensitive.
Computer Graphics 2 Lecture x: Acceleration Techniques for Ray-Tracing Benjamin Mora 1 University of Wales Swansea Dr. Benjamin Mora.
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
The Visibility Problem In many environments, most of the primitives (triangles) are not visible most of the time –Architectural walkthroughs, Urban environments.
Project Raytracing. Content Goals Idea of Raytracing Ray Casting – Therory – Practice Raytracing – Theory – Light model – Practice Output images Conclusion.
Accelerating Ray Tracing using Constrained Tetrahedralizations Ares Lagae & Philip Dutré 19 th Eurographics Symposium on Rendering EGSR 2008Wednesday,
Ray Tracing Chapter CAP4730: Computational Structures in Computer Graphics.
An Application of Tetrahedrisation to From-Point Visibility Honours Project Proposal Gerard Ryan and Brendon Miszka
Probabilistic Roadmaps for Path Planning in High-Dimensional Configuration Spaces (1996) L. Kavraki, P. Švestka, J.-C. Latombe, M. Overmars.
Using BSP for CD Ref: BSP in deBerg et al ’ s book (url)url.
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
Fast BVH Construction on GPUs (Eurographics 2009) Park, Soonchan KAIST (Korea Advanced Institute of Science and Technology)
Hardware-accelerated Rendering of Antialiased Shadows With Shadow Maps Stefan Brabec and Hans-Peter Seidel Max-Planck-Institut für Informatik Saarbrücken,
Binary Space Partitioning Trees Ray Casting Depth Buffering
View-dependent Adaptive Tessellation of Spline Surfaces
Duy & Piotr. How to reconstruct a high quality image with the least amount of samples per pixel the least amount of resources And preserving the image.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
Computer Graphics Lecture 08 Fasih ur Rehman. Last Class Ray Tracing.
Coherent Hierarchical Culling: Hardware Occlusion Queries Made Useful Jiri Bittner 1, Michael Wimmer 1, Harald Piringer 2, Werner Purgathofer 1 1 Vienna.
Representation and modelling 3 – landscape specialisations 4.1 Introduction 4.2 Simple height field landscapes 4.3 Procedural modeling of landscapes- fractals.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
02/12/03© 2003 University of Wisconsin Last Time Intro to Monte-Carlo methods Probability.
Bounding Volume Hierarchy. The space within the scene is divided into a grid. When a ray travels through a scene, it only passes a few boxes within the.
High Resolution Surface Reconstruction from Overlapping Multiple-Views
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
Shape Reconstruction from Samples with Cocone Tamal K. Dey Dept. of CIS Ohio State University.
Real Time Nonphotorealistic Rendering. How to achieve real time NPR? Economy of line: present a lot of information with very few strokes. Silhouettes.
DPL2/10/2016 CS 551/651: Final Review David Luebke
BSP Tree Supplement Jyun-Ming Chen. Fall Kd-Tree and BSP tree kd-tree is a special kind of bsp tree.
David Luebke 3/5/2016 Advanced Computer Graphics Lecture 4: Faster Ray Tracing David Luebke
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Advanced Scene Management. 2 This is a game-type-oriented issue Bounding Volume Hierarchies (BVHs) Binary space partition trees (BSP Trees) “Quake”
CHC ++: Coherent Hierarchical Culling Revisited Oliver Mattausch, Jiří Bittner, Michael Wimmer Institute of Computer Graphics and Algorithms Vienna University.
Electronic Visualization Laboratory University of Illinois at Chicago “Fast And Reliable Space Leaping For Interactive Volume Rendering” by Ming Wan, Aamir.
Visibility-Driven View Cell Construction Oliver Mattausch, Jiří Bittner, Michael Wimmer Institute of Computer Graphics and Algorithms Vienna University.
Model Optimization Wed Nov 16th 2016 Garrett Morrison.
Bounding Volume Hierarchies and Spatial Partitioning
Real-Time Soft Shadows with Adaptive Light Source Sampling
Bounding Volume Hierarchies and Spatial Partitioning
Jim X. Chen George Mason University
An Efficient Method for Volume Rendering using Perspective Projection
Visibility Preserving Terrain Simplification An Experimental Study
GEARS: A General and Efficient Algorithm for Rendering Shadows
Presentation transcript:

Guided Visibility Sampling Peter Wonka, Michael Wimmer, Kaichi Zhou, Stefan Maierhofer, Gerd Hesina, Alexander Reshetov

Problem Statement Input: Triangulated Model, Region Output: Triangles visible from input region Input: Triangulated Model, Region Output: Triangles visible from input region Input Region Model Visible Invisible

Practical Application Preprocessing Stage Locate all possible viewing cells For each cell, compute potentially visible set Rendering Stage Identify current viewing cell Only render visible set of triangles Preprocessing Stage Locate all possible viewing cells For each cell, compute potentially visible set Rendering Stage Identify current viewing cell Only render visible set of triangles

Impetus for Sampling Pros Quick Simple No overestimation Progressive Cons Incorrect when undersampling Pros Quick Simple No overestimation Progressive Cons Incorrect when undersampling

Naïve Sampling Camera Plane Object Plane n x n x = n4n4

Guided Visibility Sampling: Can they beat random? Guided Visibility Sampling Guided Visibility Sampling Uniform Random Sampling Uniform Random Sampling ErrorsOver- sampling

Guided Visibility Sampling Algorithm Step 1: Pick Random Rays Camera Plane Object Plane

Guided Visibility Sampling Algorithm Step 1: Pick Random Rays Camera Plane Object Plane

Guided Visibility Sampling Algorithm Step 1: Pick Random Rays Camera Plane Object Plane Step 2: Place all “hit” triangles in a queue

Guided Visibility Sampling Algorithm Adaptive Border Sampling “Guide” rays that hit new triangles perturb endpoint to locate neighbor triangles Repeat for all new triangles discovered this way Adaptive Border Sampling “Guide” rays that hit new triangles perturb endpoint to locate neighbor triangles Repeat for all new triangles discovered this way

Guided Visibility Sampling Algorithm Reverse Sampling “Explore” triangles that are not adjacent perturb ray start point to fill gaps in Repeat for all new triangles discovered this way Reverse Sampling “Explore” triangles that are not adjacent perturb ray start point to fill gaps in Repeat for all new triangles discovered this way Front View Top View 

Adaptive Border Sampling Subdivision

Adaptive Border Sampling Enlarging Triangles Grow Triangle: numerical problems Sollution: Ennaegon 9-sided Computed in Ray Space to benefit edge-on triangles Enlarging Triangles Grow Triangle: numerical problems Sollution: Ennaegon 9-sided Computed in Ray Space to benefit edge-on triangles

Adaptive Border Sampling Compute Ennaegon in ray space to deal with edge-on triangles Top View: Compute Ennaegon in ray space to deal with edge-on triangles Top View:

System Overview ray hits old triangle ray hits old triangle New triangle New triangle No more triangles recursive gap detect gap detect reversed ray within view cell

Results

Conclusions Sampling vs Exact/Conservative Contributions “Large” models No restriction on input scene Few image errors Problems Ray tracing w/o locality Ray tracing precision No error bounds Sampling vs Exact/Conservative Contributions “Large” models No restriction on input scene Few image errors Problems Ray tracing w/o locality Ray tracing precision No error bounds

Notes “Large” models are tiny In core algorithm Deals poorly with T-junctions Too many “tweakables” Max vs Ave error Could result in temporal aliasing? “Large” models are tiny In core algorithm Deals poorly with T-junctions Too many “tweakables” Max vs Ave error Could result in temporal aliasing?