Caustic Object Construction Based on Multiple Caustic Patterns
-
Upload
budianto-tandianus -
Category
Technology
-
view
484 -
download
1
Transcript of Caustic Object Construction Based on Multiple Caustic Patterns
![Page 1: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/1.jpg)
Caustic Object Construction Based on Multiple Caustic Patterns
Budianto Tandianus, Henry Johan, Hock Soon Seah
School of Computer EngineeringgameLAB
Nanyang Technological University
![Page 2: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/2.jpg)
CONTENT
• Introduction• Related Work• Basic Idea• Improving the Reconstructed Caustics• Geometry Construction• Results• Applications• Conclusions and Future Work
![Page 3: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/3.jpg)
INTRODUCTION
• What is caustics ?
Light source
From bottom plate
Glasses/reflector
(Caustic Object)
Caustics
![Page 4: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/4.jpg)
CAUSTICS IN COMPUTER GRAPHICS
• Typically simulated in CG by using Photon Mapping (Jensen 1996, Graphics Interface)
Kruger et al. 2006
Eurographics Symp. on Rendering
Jensen 1996
Graphics Interface
Wyman 2008
i3D
Spencer and Jones 2009
Computer Graphics Forum
Hu et al. 2010
i3D
Tandianus et al. 2010
ICEC
![Page 5: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/5.jpg)
CAUSTICS IN COMPUTER GRAPHICS
• The previous slide shows forward problem of caustics in computer graphics :– Input : caustic object, light source, and
diffuse surface– Output : caustic pattern
• But how about inverse caustics problem ?– Input : caustic pattern, light source,
and diffuse surface– Output : caustic object
![Page 6: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/6.jpg)
• Reflective caustics in an optical set– Patow et al. 2004, International Journal of Shape
Modelling– Patow et al. 2007, Computer & Graphics– Mas et al. 2009, Computer Graphics Forum
• Reflector is represented as grid of vertices or cells• Is validated using computer simulation
RELATED WORK
Optical set Target and reconstructedcaustics
![Page 7: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/7.jpg)
• Generate smooth B-Spline surface (Finckh et al 2010, European Conference on Computer Vision)
• Optimize the control points until they can reconstruct the caustic patterns
• Another similar work by Anson et. Al. 2008, CEIG 2008– Surface is represented as a NURBS and caustic
pattern shape is assumed to be circular• Is validated using computer simulation
RELATED WORK
![Page 8: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/8.jpg)
• Generate a small patch that can have certain BRDF or caustic pattern (Weyrich et al. 2009, Transactions on Graphics)
• The patch is subdivided into a regular grid of cells
RELATED WORK
Target and reconstructed caustic patterns
Real-life validation
![Page 9: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/9.jpg)
• Refractive caustics on a larger scale (Papas et al. 2011, Computer Graphics Forum)
• Improvement of their previous work (Weyrich et al. 2009, Transactions on Graphics)
RELATED WORK
![Page 10: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/10.jpg)
• The most recent work, focusing on modularity (Yue et al. 2012, Computer Graphics Forum)
• Compute optimal combination of caustic object cells with predefined refraction directions
RELATED WORK
Assembling caustic object from
pieces of predefined caustic object cells
Generated caustic pattern by using assembled caustic
object
![Page 11: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/11.jpg)
• All these work can generate caustic objects producing interesting caustic patterns
• However, they only consider a single caustic pattern– How about if multiple caustic
patterns ?
RELATED WORK
![Page 12: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/12.jpg)
• Multiple caustic patterns with each caustic pattern is formed at a location
• Is validated using mental ray
OUR WORK
![Page 13: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/13.jpg)
• Input : multiple caustic patterns, directional light source, and planar diffuse surface (caustic receiver)
• Output : caustic object
BASIC IDEA
Our scene configuration
![Page 14: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/14.jpg)
• Many caustic object cell orientation possibilities that might satisfy the input caustic patterns
PROBLEM FORMULATION
Possible combinationTwo caustic patterns input,compute refraction directions
![Page 15: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/15.jpg)
• Represent each caustic pattern as a 2D probabilistic mass function (pmf)
• For each caustic object cell, to determine its refracted orientation, compute the joint pmf and select the refraction direction based on the joint pmf :
OUR SOLUTION
Probability of the -th caustic object cell to select direction as the refraction direction
Number of causticpatterns in the scene
pmf of the -thcaustic pattern
A mapping function computing which -th caustic pattern cell is hit by a light refracted from the -th caustic object cell to the direction
![Page 16: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/16.jpg)
• Joint pmf :
• Example : A mapping function computing which -th caustic pattern cell is hit by a light refracted from the -th caustic object cell to the direction
OUR SOLUTION
Probability of the -th caustic object cell to select direction as the refraction direction
Number of causticpatterns in the scene
Pmf of the -thcaustic pattern
![Page 17: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/17.jpg)
PROBLEM
Only a single caustic pattern
With multiple caustic patterns
![Page 18: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/18.jpg)
• However, some sets of caustic patterns cannot be reconstructed well– Due to differences of the input caustic
patterns– Cause some joint pmf to be zero (e.g.
topmost caustic cell in the first caustic pattern of below figure)
PROBLEM
![Page 19: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/19.jpg)
• Solutions :– Adjust positions and sizes of the caustic
regions– Adjust shapes of the caustic regions
• Use Simulated Annealing
• Optimize the cost (based on L-2 distance)
IMPROVING THE RECONSTRUCTED CAUSTICS
![Page 20: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/20.jpg)
• Iteratively translate the caustic regions in 3D space– In x (blue arrows in the left figure below) direction– In y (red arrows in the left figure below) direction– In z (pink arrows in the left figure below) direction, i.e.
distance between the caustic pattern and the caustic object
• Scale the caustic regions (green arrows in the right figure below)
ADJUSTING POSITIONS AND SIZES
Translating the caustic regions Scaling the caustic regions
![Page 21: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/21.jpg)
• Extend each caustic region such that missing caustic cells of other caustic patterns can be reconstructed
ADJUSTING SHAPES OF THE CAUSTIC REGIONS
To solve this, thesecond caustic region
is extended
The green caustic cell cannot be reconstructed since all possible
light paths passing through it hits emptypart in the second caustic pattern
![Page 22: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/22.jpg)
• At the same time, we also allow some light to miss some of the caustic patterns
• In the example figure below, Light #4 hits the first caustic pattern and misses the rest of caustic patterns
ADJUSTING SHAPES OF THE CAUSTIC REGIONS
![Page 23: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/23.jpg)
OPTIMIZATION RESULTS
Without optimizationCost : 4.45 x 10-1
![Page 24: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/24.jpg)
OPTIMIZATION RESULTS
First optimizationCost : 4.08 x 10-1
![Page 25: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/25.jpg)
OPTIMIZATION RESULTS
Second optimizationCost : 2.64 x 10-1
![Page 26: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/26.jpg)
• Assume the z coordinate of each caustic object cell center is the same
• For each caustic object cell, from its refracted light direction, we can compute its normal, and in turn compute the coordinates of its four corners
• Close the vertical gaps between caustic object cells
GEOMETRY CONSTRUCTION
![Page 27: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/27.jpg)
• Specifications of PCs used in our experiments :– Intel i7 920 2.67 GHz (CPU) with NVIDIA
GeForce GTX 285 (GPU)– Intel i7 880 3.07 GHz (CPU) with NVIDIA
GeForce GT 330 (GPU)
RESULTS
![Page 28: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/28.jpg)
RESULTS
Fruitsfour caustic patterns
computational time : 7.7 hours
![Page 29: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/29.jpg)
RESULTS
Four barsfour caustic patterns
computational time : 15.7 hours
![Page 30: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/30.jpg)
RESULTS
Rotating starnine caustic patterns
computational time : 27.6 hours
![Page 31: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/31.jpg)
• Arts• Validation tests• Information encoding
APPLICATIONS
![Page 32: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/32.jpg)
VIDEO
Click to play
![Page 33: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/33.jpg)
• Compute a caustic object that can generate a set of caustic patterns
• Our two-step optimization processes can alleviate the missing caustic problems
• Results are validated using mental ray
CONCLUSIONS
![Page 34: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/34.jpg)
• Manufacture the real caustic object for further validation– Need to devise an algorithm to smoothen
the caustic object cells such that it is easy to manufacture
• Dynamic light– Static caustic object and caustic receiver– Different caustic pattern for every light
position or direction
FUTURE WORK
![Page 35: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/35.jpg)
THE END
![Page 36: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/36.jpg)
CAUSTICS IN COMPUTER GRAPHICS
![Page 37: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/37.jpg)
• Extend each caustic region such that caustic cells of other caustic regions can be reconstructed
• However, adjusting too much will cause the caustic region to change too much
• Determine the maximum adjustment, by projecting the missing caustic cells and then iteratively compute good adjustment amount
ADJUSTING SHAPES OF THE CAUSTIC REGIONS
![Page 38: Caustic Object Construction Based on Multiple Caustic Patterns](https://reader034.fdocuments.us/reader034/viewer/2022042505/55a41d641a28ab3d4f8b469d/html5/thumbnails/38.jpg)
• At the same time, also allow some light to miss some of the caustic patterns
• In the projection computation (previous slide) also count how many of projections that miss other caustic patterns
• Allow too much light to miss other caustic patterns will cause those caustic patterns to be too dark
• Also iteratively compute good amount of light to miss the caustic patterns
ADJUSTING SHAPES OF THE CAUSTIC REGIONS