Camera-Aware Photon Mapping Final Project of CS6620 Byong Wu “Bernard” Chong Apr. 28, 2008.

Slides:



Advertisements
Similar presentations
What Well Be Covering Today: Modified Butterfly Subdivision Texturing and Antialiasing Global Illumination via Radiosity.
Advertisements

Parallax-Interpolated Shadow Map Occlusion
Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Photon Mapping. How did I use it 10 years ago? Why might you want to use it tomorrow?
Efficient Importance Sampling Techniques for the Photon Map Ingo Wald University of Saarbrücken Alexander Keller University of Kaiserslautern.
Chapter 10 Digital Imaging: Capture. Digital imaging – electronically producing, viewing, or reproducing an image Pixel – a square with a uniform brightness.
 Any time you half press the shutter button, the light meter activates.  As we know, it measures the light in your scene, and calculates a shutter speed.
SE 313 – Computer Graphics Lecture 13: Lighting and Materials Practice Lecturer: Gazihan Alankuş 1.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
CS 325 Introduction to Computer Graphics 04 / 09 / 2010 Instructor: Michael Eckmann.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Admission to CS 184 Enrollment priorities are 1. CS/EECS majors, 2. CS/EECS minors (this category includes applied math majors) 3. anyone else with a declared.
Final Gathering on GPU Toshiya Hachisuka University of Tokyo Introduction Producing global illumination image without any noise.
Enhancing and Optimizing the Render Cache Bruce Walter Cornell Program of Computer Graphics George Drettakis REVES/INRIA Sophia-Antipolis Donald P. Greenberg.
Parallelizing Raytracing Gillian Smith CMPE 220 February 19 th, 2008.
CIS 310: Visual Programming, Spring 2006 Western State College 310: Visual Programming Ray Tracing.
Paper by Alexander Keller
1 3D –graphics and animation Addvanced 3D modeling and rendering Harri Airaksinen.
CS 4731: Computer Graphics Lecture 17: Texturing Emmanuel Agu.
Real-Time Ray Tracing 3D Modeling of the Future Marissa Hollingsworth Spring 2009.
Microsoft ® Office Word 2007 Training Mail Merge II: Use the Ribbon and perform a complex mail merge [Your company name] presents:
DITCHAM PARK SCHOOL SIMPLE SUPPERS & TASTY TEAS Instruction Guide.
An Introduction to Ray Tracing CS /27/1998 Vic Baker.
COMP 175: Computer Graphics March 24, 2015
Digital Video and Multimedia If images can portray a powerful message then video (as a series of related images) is a serious consideration for any multimedia.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
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.
Reflections Specular reflection is the perfect reflection of light from a surface. The law a reflection states that the direction of the incoming ray and.
Sebastian Enrique Columbia University Real-Time Rendering Using CUReT BRDF Materials with Zernike Polynomials CS Topics.
-Global Illumination Techniques
Project Raytracing. Content Goals Idea of Raytracing Ray Casting – Therory – Practice Raytracing – Theory – Light model – Practice Output images Conclusion.
Let’s Buy a Camera! Produced by Mrs. Gallagher-Edlund.
Digital Cameras. Image Capture  Images are captured by the image sensor, then stored in the camera in a memory device.  Sensors convert light into an.
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
Digital Cameras, Digital Video and Scanners Vince DiNoto
Digital Media Dr. Jim Rowan ITEC 2110 Video Part 2.
Shadows. Shadows is important in scenes, consolidating spatial relationships “Geometric shadows”: the shape of an area in shadow Early days, just pasted.

Intro. to Advanced Lighting, Basic Ray Tracing Glenn G. Chappell U. of Alaska Fairbanks CS 481/681 Lecture Notes Monday, April.
Parallel Ray Tracer Computer Systems Lab Presentation Stuart Maier.
1 by: Ilya Melamed Supervised by: Eyal Sarfati High Speed Digital Systems Lab.
INTRODUCTION GORT is a virtual 3D modeling environment for computer programmers. Its main area of focus is to aid in the education of programmers learning.
Introducing the NEW Apple iBook Laptop Computer Anthony Shaffo NEW.
Pure Path Tracing: the Good and the Bad Path tracing concentrates on important paths only –Those that hit the eye –Those from bright emitters/reflectors.
Cornell CS465 Spring 2004 Lecture 4© 2004 Steve Marschner 1 Shading CS 465 Lecture 4.
Real-Time Dynamic Shadow Algorithms Evan Closson CSE 528.
More on Ray Tracing Glenn G. Chappell U. of Alaska Fairbanks CS 481/681 Lecture Notes Wednesday, April 14, 2004.
David Luebke 3/5/2016 Advanced Computer Graphics Lecture 4: Faster Ray Tracing David Luebke
OpenGL and You I Cast, Therefore I Am. Ray Casting Idea is simple, implementation takes some work –Cast rays as if you were the camera –Determine intersection.
RAYTRACER PART I OF II.  Loosely based on the way we perceive the world around us (visually)  A (near) infinite number of photons are emitted by a light.
Path/Ray Tracing Examples. Path/Ray Tracing Rendering algorithms that trace photon rays Trace from eye – Where does this photon come from? Trace from.
CIS 310: Visual Programming, Spring 2006 Western State College 310: Visual Programming Ray Tracing.
CS 376 Introduction to Computer Graphics 04 / 18 / 2007 Instructor: Michael Eckmann.
Equipment list. Tripod The use of a tripod steadies the camera so that the picture isn’t shaky, and therefore increases the quality of the videos. I may.
Real-Time Soft Shadows with Adaptive Light Source Sampling
Ray Tracing Dr. Scott Schaefer.
Mike Merchant Nicholas Hilbert
(c) 2002 University of Wisconsin
UMBC Graphics for Games
(c) 2002 University of Wisconsin
Efficient Importance Sampling Techniques for the Photon Map
Image.
CSIS110 - Introduction to Computer Science
Rendering Károly Zsolnai-Fehér
Richard Anderson Spring 2016
2A GROUP 4 (12, 16, 5, 30, 29) PRAJWAL,KRIZELLE,KLANCEY,DAVE,NICOLAS
Double Exposure By Phi Nguyen.
CSIS110 - Introduction to Computer Science
Presentation transcript:

Camera-Aware Photon Mapping Final Project of CS6620 Byong Wu “Bernard” Chong Apr. 28, 2008

08 Arch. Reading Club 2 Why did I consider this? UoU SoC : Photon mapping with static scene : Yafray patch on reusing a photon map As you can see, a photon map is unaware of camera setting.

08 Arch. Reading Club 3 What is Photon Mapping? – Step 1 UoU SoC A two step process: First the photons are distributed

08 Arch. Reading Club 4 What is Photon Mapping? – Step 2 UoU SoC Then the scene is rendered, and the density is found.

08 Arch. Reading Club 5 My Idea – Camera Photons UoU SoC Shoot ”camera-photons” from a camera. Just like ray tracing. Make a (coarse) camera-photon map If a light photon hits near a camera-photon, it will be recorded, otherwise it will be ignored. Render with only recorded photons in the map. Therefore, it is 3-step process.

08 Arch. Reading Club 6 Step 1 - Camera Photon Map Creation UoU SoC Shoot coarse set of camera-photons. And make a map. It would be like throwing sticky glue globs into the scene. This is non-transparent for now on

08 Arch. Reading Club 7 Step 2 – Modified Photon Shoot UoU SoC Shoot light photons, if there isn’t a camera photon nearby, it will be discarded. Only the photons sticked to the camera-photon globs would be recorded. Red hit photon will not be stored into the photon map. Blue hit photon will be stored into the photon map.

08 Arch. Reading Club 8 Step 3 – Normal Photon Map Rendering UoU SoC This will be the same step as normal photon mapping. If the globs are covered enough, there won’t be many missing photons.

08 Arch. Reading Club 9 How did it perform? (extreme case) UoU SoC In the extreme case (below) it performed 69% better. Normal photon mapping used 1.8M photons Camera-aware photon mapping used 180K photons. This is the original

08 Arch. Reading Club 10 How did it perform? (normal case) UoU SoC In the normal case (below) it performed 1.4% worse. Normal photon mapping used 1.21M photons Camera-aware photon mapping. This took 4m:39s. Used 1.14M photons Since we are using very simple camera-photon mapping, this area has lower resolution of camera-photons resulting color attenuation.

08 Arch. Reading Club 11 Evaluation Environment UoU SoC Since it is very hard to implement a photon mapping, I asked Steve’s permission for using a open ray tracer for the final project. (I was not interested on reproducing already implemented ideas) Modeler: Blender 2.45 Ray Tracer: Yafray My System: AMD 1.09GHz 1GB RAM, WinXP Pro. The implementation source code is on aware.zip aware.zip

08 Arch. Reading Club 12 Future Work I – Make it two step again. UoU SoC If the camera photons are finely shot and if it remembers which pixel it belongs to, we could just use camera-photon instead of light-based photon. If a light-based photon hits a camera photon, it will add its color to the camera-photon. After step 2 of photon shoot, the color added camera photons will be shrunken down to a image in O(N) complexity. If this is possible, even adding 2G photons would not increase required memory resource.

08 Arch. Reading Club 13 Future Work II – Shoot camera photons wisely. UoU SoC Unlike light photons, camera photons could be shot and placed in manipulated manner. (If we direct a light photon’s direction, the picture might have a biased look.) Put more camera-photons in the area where we could miss necessary light-photons. On this work, I had to find the best camera-photon radius and the resolution. The software should find the optimal coefficients.

08 Arch. Reading Club 14 Future Work III – Increase Camera Photon Search Speed UoU SoC If the number of camera photons increases, just checking if there is a camera photon nearby is very expensive. This would be O(search_latency * light photon bounces) This is why we should also consider Future Work I, on work I, we don’t have to check if there is a light photon on some 3D point.

08 Arch. Reading Club 15 End of the Presentation Questions? UoU SoC