Transcript
Page 1: Caustic Object Construction Based on Multiple Caustic Patterns

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

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

INTRODUCTION

• What is caustics ?

Light source

From bottom plate

Glasses/reflector

(Caustic Object)

Caustics

Page 4: Caustic Object Construction Based on Multiple Caustic Patterns

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

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

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• 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

PROBLEM

Only a single caustic pattern

With multiple caustic patterns

Page 18: Caustic Object Construction Based on Multiple Caustic Patterns

• 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

• 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

• 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

• 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

• 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

OPTIMIZATION RESULTS

Without optimizationCost : 4.45 x 10-1

Page 24: Caustic Object Construction Based on Multiple Caustic Patterns

OPTIMIZATION RESULTS

First optimizationCost : 4.08 x 10-1

Page 25: Caustic Object Construction Based on Multiple Caustic Patterns

OPTIMIZATION RESULTS

Second optimizationCost : 2.64 x 10-1

Page 26: Caustic Object Construction Based on Multiple Caustic Patterns

• 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

• 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

RESULTS

Fruitsfour caustic patterns

computational time : 7.7 hours

Page 29: Caustic Object Construction Based on Multiple Caustic Patterns

RESULTS

Four barsfour caustic patterns

computational time : 15.7 hours

Page 30: Caustic Object Construction Based on Multiple Caustic Patterns

RESULTS

Rotating starnine caustic patterns

computational time : 27.6 hours

Page 31: Caustic Object Construction Based on Multiple Caustic Patterns

• Arts• Validation tests• Information encoding

APPLICATIONS

Page 32: Caustic Object Construction Based on Multiple Caustic Patterns

VIDEO

Click to play

Page 33: Caustic Object Construction Based on Multiple Caustic Patterns

• 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

• 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

THE END

Page 36: Caustic Object Construction Based on Multiple Caustic Patterns

CAUSTICS IN COMPUTER GRAPHICS

Page 37: Caustic Object Construction Based on Multiple Caustic Patterns

• 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

• 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


Top Related