Arrangements and Duality Supersampling in Ray Tracing.

Slides:



Advertisements
Similar presentations
Planar Subdivision Induced by planar embedding of a graph. Connected if the underlying graph is. edge vertex hole in f face f disconnected subdivision.
Advertisements

Map Overlay Algorithm. Birch forest Wolves Map 1: Vegetation Map 2: Animals.
Approximations of points and polygonal chains
2/14/13CMPS 3120 Computational Geometry1 CMPS 3120: Computational Geometry Spring 2013 Planar Subdivisions and Point Location Carola Wenk Based on: Computational.
Applications of Euler’s Formula for Graphs Hannah Stevens.
Brute-Force Triangulation
2/3/15CMPS 3130/6130 Computational Geometry1 CMPS 3130/6130 Computational Geometry Spring 2015 Triangulations and Guarding Art Galleries II Carola Wenk.
By Groysman Maxim. Let S be a set of sites in the plane. Each point in the plane is influenced by each point of S. We would like to decompose the plane.
Overlay of Two Subdivisions
Convex Hulls in 3-space Jason C. Yang.
Incidences and Many Faces via cuttings Sivanne Goldfarb
A Randomized Linear-Time Algorithm to Find Minimum Spanning Trees David R. Karger David R. Karger Philip N. Klein Philip N. Klein Robert E. Tarjan.
Voronoi Diagram Presenter: GI1 11號 蔡逸凡
17. Computational Geometry Chapter 7 Voronoi Diagrams.
2. Voronoi Diagram 2.1 Definiton Given a finite set S of points in the plane , each point X of  defines a subset S X of S consisting of the points of.
Lecture 2 Line Segment Intersection Computational Geometry Prof.Dr.Th.Ottmann 1 Line Segment Intersection Motivation: Computing the overlay of several.
By Dor Lahav. Overview Straight Skeletons Convex Polygons Constrained Voronoi diagrams and Delauney triangulations.
Duality and Arrangements Computational Geometry, WS 2007/08 Lecture 6 Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut für Informatik Fakultät.
1.4 Exercises (cont.) Definiton: A set S of points is said to be affinely (convex) independent if no point of S is an affine combination of the others.
Mark Waitser Computational Geometry Seminar December Iterated Snap Rounding.
Lecture 8 : Arrangements and Duality Computational Geometry Prof. Dr. Th. Ottmann 1 Duality and Arrangements Duality between lines and points Computing.
Computing the Delaunay Triangulation By Nacha Chavez Math 870 Computational Geometry; Ch.9; de Berg, van Kreveld, Overmars, Schwarzkopf By Nacha Chavez.
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2004 Chapter 4: 3D Convex Hulls Monday, 2/23/04.
Paper by Alexander Keller
Duality and Arrangements Computational Geometry, WS 2006/07 Lecture 7 Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut für Informatik Fakultät.
Brute-Force Triangulation
Efficient Partition Trees Jiri Matousek Presented By Benny Schlesinger Omer Tavori 1.
Graphing Linear Inequalities
Erdem Alpay Ala Nawaiseh. Why Shadows? Real world has shadows More control of the game’s feel  dramatic effects  spooky effects Without shadows the.
Delaunay Triangulations Presented by Glenn Eguchi Computational Geometry October 11, 2001.
9/7/06CS 6463: AT Computational Geometry1 CS 6463: AT Computational Geometry Fall 2006 Triangulations and Guarding Art Galleries Carola Wenk.
An Introduction to Computational Geometry Joseph S. B. Mitchell Stony Brook University.
UNC Chapel Hill M. C. Lin Point Location Reading: Chapter 6 of the Textbook Driving Applications –Knowing Where You Are in GIS Related Applications –Triangulation.
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
Today More raytracing stuff –Soft shadows and anti-aliasing More rendering methods –The text book is good on this –I’ll be using images from the CDROM.
Line Arrangement Chapter 6. Line Arrangement Problem: Given a set L of n lines in the plane, compute their arrangement which is a planar subdivision.
CS447/ Realistic Rendering -- Radiosity Methods-- Introduction to 2D and 3D Computer Graphics.
Mesh Data Structure. Meshes Boundary edge: adjacent to 1 face Regular edge: adjacent to 2 faces Singular edge: adjacent to >2 faces Mesh: straight-line.
Center for Graphics and Geometric Computing, Technion 1 Computational Geometry Chapter 8 Arrangements and Duality.
Planar Subdivision Induced by planar embedding of a graph. Connected if the underlying graph is. edge vertex disconnected subdivision Complexity = #vertices.
Nonoverlap of the Star Unfolding Boris Aronov and Joseph O’Rourke, 1991 A Summary by Brendan Lucier, 2004.
TEL-AVIV UNIVERSITY RAYMOND AND BEVERLY SACKLER FACULTY OF EXACT SCIENCES SCHOOL OF MATHEMATICAL SCIENCES An Algorithm for the Computation of the Metric.
Splitting a Face Point edge already split new vertex two new faces one new vertex six new half-edges.
Computational Geometry Piyush Kumar (Lecture 10: Point Location) Welcome to CIS5930.
Center for Graphics and Geometric Computing, Technion 1 Computational Geometry Chapter 8 Arrangements and Duality.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Radiosity K. H. Ko School of Mechatronics Gwangju Institute.
Graphics Lecture 13: Slide 1 Interactive Computer Graphics Lecture 13: Radiosity - Principles.
Line Segment Intersection Computational Geometry, WS 2006/07 Lecture 3 – Part III Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut für.
Arrangements and Duality Sanjay Sthapit Comp290 10/6/98.
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.
Arrangements and Duality Motivation: Ray-Tracing Fall 2001, Lecture 9 Presented by Darius Jazayeri 10/4/01.
Topics in Algorithms 2007 Ramesh Hariharan. Tree Embeddings.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 5.1 Inequalities in Two Variables The student will be able to graph linear.
Equations of Circles. You can write an equation of a circle in a coordinate plane, if you know: Its radius The coordinates of its center.
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2010 O’Rourke Chapter 6 with some material.
Central Limit Theorem Let X 1, X 2, …, X n be n independent, identically distributed random variables with mean  and standard deviation . For large n:
9/8/10CS 6463: AT Computational Geometry1 CS 6463: AT Computational Geometry Fall 2010 Triangulations and Guarding Art Galleries Carola Wenk.
Center for Graphics and Geometric Computing, Technion 1 Computational Geometry Chapter 9 Line Arrangements.
An Introduction to Computational Geometry: Arrangements and Duality Joseph S. B. Mitchell Stony Brook University Some images from [O’Rourke, Computational.
Polygon Triangulation
Theory of Computational Complexity Probability and Computing Ryosuke Sasanuma Iwama and Ito lab M1.
Computational Geometry
Arrangements and Duality
3. Polygon Triangulation
Computational Geometry 2
CMPS 3130/6130 Computational Geometry Spring 2017
Depth Estimation via Sampling
PMC and Booleans Point-Membership Classification
Computational Geometry
Overlay of Two Subdivisions
Presentation transcript:

Arrangements and Duality Supersampling in Ray Tracing

Introduction Ray Tracing & Ray Casting: Shooting rays from the image plane and determine which object they hit Issue: Each pixel has an area, where should we shoot the rays?

Introduction Center? Creating artifacts. We need super-sample! Shooting many rays through each pixel and average the result How should we distribute the rays? Regularly—causes regular artifacts Randomly

Introduction (a)reference (b)regular (c)random (d)random super sample

Discrepancy How do we choose sample points? How do we know if a sample set S is good? Discrepancy: difference between the percentage of hits for an object and the percentage of the pixel area where that object is visible Assumption: scene is made of polygons

Discrepancy

Compute Discrepancy Replace infinite candidates by a finite set The half-plane of maximum discrepancy must pass through at least one sample point

Compute Discrepancy Lemma 8.1 Let S be a set of n points in the unit square U. A half-plane h that achieves the maximum discrepancy with respect to S is of one of the following types: (i) h contains one point p ∈ S on its boundary, (ii) h contains two or more points of S on its boundary.

Compute Discrepancy

Duality

Back to the Discrepancy problem To determine our discrete measure we need to Determine how many sample points lie below a given line (in the primal plane) dualizes to Given a point in the dual plane we want to determine how many sample lines lie above it. Easier to compute?

Arrangements of Lines

Bounded Arrangement

Storage: DCEL Doubly Connected Edge List (DCEL) Vertex Coordinates of v IncidentEdge e(v) Face An edge Half-Edges Origin o(e) Twin The face to its left Next previous

Compute Arrangement

Incremental Algorithm

Running Time of Incremental Algorithm

Zone theory

The complexity of a zone is defined as the total complexity of all the faces it consists of, i.e. the sum of the number of edges and vertices of those faces The complexity of the zone of a line in an arrangement of m lines on the plane is O(m)

Prove of Zone Theory

Each edge in the zone of l is a left bounding edge and a right bounding edge. Claim: number of left bounding edges <= 5m Same for number of right bounding edges Total complexity of zone(l) is linear

Prove of Zone Theory: Induction

Levels and Discrepancy Back to discrepancy, we want to compute for every line between two sample points how many sample points line above that line dualize to For an arrangement how many lines are below each point

Levels and Discrepancy

Sampling Algorithms Sobel sequence Halton sequence Hammersley set etc.

Independent vs. Low Discrepancy

References Computational Geometry Algorithms and Applications, Third Edition, Mark de Berg MIT slides, old/handouts/lec7.pdfhttp://people.csail.mit.edu/indyk/ old/handouts/lec7.pdf Utrecht University Geometry Algorithms slides, Physically Based Rendering, Second Edition, Matt Pharr course and project website: