Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John...

64
Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko Nishino

Transcript of Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John...

Page 1: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Refractions, Reflections and Caustics :

Basic Concepts

Lecture #15

Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko Nishino

Page 2: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Reflection and Refraction

Water

Air

Vertex Normal N

αα

β

Reflection

Refraction

Page 3: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Snell’s Law

• α Incoming = α Reflected• sin(α)/sin(β) = Refractive Index (material dependent)• Refractive index inversely proportional to speed of light (Huygens Principle)Material Refractive Index

Air 1.0003

Water 1.333

Glycerin 1.473

Immersion Oil 1.515

Glass (Crown) 1.520

Glass (Flint) 1.656

Zircon 1.920

Diamond 2.417

Lead Sulfide 3.910

Page 4: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 5: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 6: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 7: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 8: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Reflection

Page 9: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 10: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 11: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 12: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 13: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Really starts to be noticeable at less than 10-15° from the surface.

Page 14: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 15: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Fresnel Term

• Fresnel Term as found in text books isF = ½ (sin²(α-β)/sin²(α+β)) + tan²(α-

β)*tan²(α+β)

• Returns good results for strong reflecting water surfaces

Page 16: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Approximated Fresnel Term

• F0 = (N-1)2/(N+1)2 is a minimum of incoming light parallel to the normal of the surface.

• Fα = F0+(1- cos(α))5 * (1- F0) is a value between 0 and 1 depending on the angle between the incoming ray and the surface normal.

• e.g. F90 = 1, if the incoming ray is parallel to the surface, all light is reflected.

Page 17: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Designed to reflect all light eventually to Observer.

Page 18: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Anti-reflective Coatings

“One of the most significant advances made in modern lens design, whether for microscopes, cameras, or other optical devices, is the improvement in antireflection coating technology.”

• Reduce unwanted, stray reflections

• Use material coatings on glass to reduce reflection and maximize transmission.

• Take advantage of destructive light interference.

Page 19: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Anti-reflective Coatings

Magnesium fluoride very commonly used on Lenses, Microscopes

Page 20: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Refractions or Reflections?

Page 21: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Refractions or Reflections Confusion

Why do you see shiny roads when they are diffuse and are not wet?

Why do you see apparent reflections in deserts?

Where else do you see apparent reflections?

Do you see reflections above objects???

Page 22: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 23: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 24: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 25: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Used in Endoscopy, Communications

Page 26: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Water Drops : Refractions + Reflections

Page 27: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

A Drop and its Environment.

World in a drop

Page 28: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Shapes of falling drop

Shapes of falling drop

Page 29: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Refraction and Reflection

(r)

(s)^

n

^Le

Le

i

is

r

i

v

n

qn

z

aA

B

aPin hole

r

Imageplane

qq

q

ip

q

z

Page 30: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Refraction

Page 31: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Geometric mapping

fov=165 degrees

Page 32: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Experiments: Refraction

Experimental setup Calculated corners are in green

Page 33: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Photometry of Refraction

Page 34: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Plot of Transmitted Radiance

Page 35: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Experiment: Photometry of Refraction

Experimental Setup

Rendered actual image difference image

Page 36: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Reflection

Page 37: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Photometry of Reflection

Page 38: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Reflection vs. Refraction

0 0.2 0.4 0.6 0.8 10 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.81

refraction

reflection

internal reflection

distance from the center

r adi

anc e

L

Page 39: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Rendering a Rain drop

(a ) E n v iro n m e n ta l I l lu m in a tio n

(b ) R e n d e r in g a D ro p

Page 40: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

World in a Rain Drop

Low Library Pupin Hall

Page 41: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Tired of water drops?

Wait, there’s more…

Page 42: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Rainbows : Refractions + Reflections+ Wavelength of Light

Page 43: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 44: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Visible Light Wavelength Dispersion

Page 45: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Can you see rainbows during midday?

Page 46: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Why are there two rainbows?

Are there only two rainbows?

Page 47: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Why the color pattern?

Page 48: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Bright Sky under and Dark above the Rainbow

Photo by Ben Lanterman taken immediately after a heavy rainstorm when the air was quite saturated at 4PM.

Page 49: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 50: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Caustics: Bunching up Reflections or Refractions

Page 51: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

• What is wrong with this rendering?What is wrong with this rendering?

Page 52: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

• With causticsWith caustics

Page 53: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 54: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Looking at Water

• Light is reflected and refracted at the same time• There is a light pattern on the ground (Caustics)

Page 55: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

• Shafts of light and caustics: – http://nis-lab.is.s.u-tokyo.ac.jp/~nis/cdrom/pg/pg2001_iwa.pdf

Page 56: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Caustics by Refraction

• Light is refracted by the water surface• Some spots are stronger illuminated then others

Page 57: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Light rays through a water surface

Bright areas caused by bunching of refracted rays

dark

Page 58: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Water-filled glass spheres to focus or condense candlelight onto small areas

( 1800s )

Page 59: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.
Page 60: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Graphics DefinitionGraphics Definition

Create nice pictures with translucent objects Create nice pictures with translucent objects and render nice effects on diffuse surfaces.and render nice effects on diffuse surfaces.

Page 61: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Caustics in Cornell BoxCaustics in Cornell Box

Page 62: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Modeling and Animating Water Surfaces

Page 63: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Caustics by ReflectionsCaustics by Reflections

Page 64: Refractions, Reflections and Caustics : Basic Concepts Lecture #15 Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko.

Reflections and Caustics :Catadioptric Imaging

+ Refractions/Reflections and Caustics:

Photon Mapping

Lecture #16

Thanks to Henrik Jensen, John Hart, Ron Fedkiw, Pat Hanrahan, Rahul Swaminathan, Ko Nishino