distributed ray tracing

32
Distributed Ray Tracing Robert L. Cook Thomas Porter Loren Carpenter Computer Division Lucasfilm Ltd. SIGGRAPH 1984

Upload: marnie

Post on 03-Feb-2016

46 views

Category:

Documents


0 download

DESCRIPTION

Distributed Ray Tracing. Robert L. Cook Thomas Porter Loren Carpenter Computer Division Lucasfilm Ltd. SIGGRAPH 1984. Distributed Ray Tracing Cook-Porter-Carpenter (1984) Apply distribution-based sampling to many parts of the ray-tracing algorithm - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Distributed Ray Tracing

Distributed Ray Tracing

Robert L. CookThomas PorterLoren Carpenter

Computer DivisionLucasfilm Ltd.

SIGGRAPH 1984

Page 2: Distributed Ray Tracing

Gloss/Translucency • Perturb directions reflection/transmission, with

distribution based on angle from ideal ray

Depth of field • Perturb eye position on lens

Soft shadow • Perturb illumination rays across area light

Motion blur • Perturb eye ray samples in time

Distributed Ray Tracing Cook-Porter-Carpenter (1984)

Apply distribution-based sampling to many parts of the ray-tracing algorithmRays can also be stochastically distributed in object space to simulate

Page 3: Distributed Ray Tracing

Gloss• rays are distributed reflections around

reflection direction to simulate non-smooth surfaces

Depth of field • origin of rays is distributed with respect

to lens to get out-of-focus effect

Soft shadow • rays are distributed around light direction

to simulate area light sources

Motion blur • rays are distributed in time to simulate

object movement

Distributed Ray TracingApply distribution-based sampling to many parts of the ray-tracing algorithmRays can also be stochastically distributed in object space to simulate

Page 4: Distributed Ray Tracing

Distributed Ray Tracing

Page 5: Distributed Ray Tracing

Gloss • rays are distributed reflections around

reflection direction to simulate non-smooth surfaces

Depth of field• origin of rays is distributed with respect

to lens to get out-of-focus effect

Soft shadow • rays are distributed around light direction

to simulate area light sources

Motion blur • rays are distributed in time to simulate

object movement

Distributed Ray TracingRays can also be stochastically distributed in object space to simulate

Page 6: Distributed Ray Tracing

DRT: Gloss/Translucency

• Blurry reflections and refractions are produced by randomly perturbing the reflection and refraction rays from their "true" directions.

Page 7: Distributed Ray Tracing

Distributed Ray Tracing

Page 8: Distributed Ray Tracing

4 rays 64 rays

Reflection

Page 9: Distributed Ray Tracing

4 rays 16 rays

Transparency

Page 10: Distributed Ray Tracing

Gloss • rays are distributed reflections around

reflection direction to simulate non-smooth surfaces

Depth of field• origin of rays is distributed with respect

to lens to get out-of-focus effect

Soft shadow • rays are distributed around light direction

to simulate area light sources

Motion blur • rays are distributed in time to simulate

object movement

Distributed Ray TracingRays can also be stochastically distributed in object space to simulate

Page 11: Distributed Ray Tracing

Depth of Field

• The area in front of your camera where everything looks sharp and in focus.

– objects falling within that area will be acceptably-sharp and in focus;

– objects falling outside the area will be soft and out of focus.

Page 12: Distributed Ray Tracing

CG Camera Models

• Pinhole – ideal camera

• All rays go through single point

• Everything in focus -- unrealistic

Page 13: Distributed Ray Tracing

More Realistic Model

• Lenses with spherical surfaces• Depth of field control

Page 14: Distributed Ray Tracing

DRT: Depth of Field

• Each point in the scene appears as a circle on the image plane.

Page 15: Distributed Ray Tracing

DRT: Depth of field

• The lens has a diameter of F/n .The lens is focused at a distance P so that the image plane is at a distance Vp

• Points on the plane that is a distance D from the lens will focus at

Page 16: Distributed Ray Tracing

DRT: Depth of field

Page 17: Distributed Ray Tracing

DRT: Depth of field

For a point I on the image plane, the rays we trace lie inside the cone whose radius at D is

Page 18: Distributed Ray Tracing

Depth of Field

Page 19: Distributed Ray Tracing

Gloss • rays are distributed reflections around

reflection direction to simulate non-smooth surfaces

Depth-of-view • origin of rays is distributed with respect

to lens to get out-of-focus effect

Soft shadow • rays are distributed around light direction

to simulate area light sources

Motion blur • rays are distributed in time to simulate

object movement

Distributed Ray TracingRays can also be stochastically distributed in object space to simulate

Page 20: Distributed Ray Tracing

Soft Shadows

• Consider the light source to be an area, not a point

• Trace rays to random areas on the surface of the light source distribute rays according to areas of varying intensity of light source (if any)

• Use the fraction of the light intensity equal to the fraction of rays which indicate an unobscured light source

Page 21: Distributed Ray Tracing
Page 22: Distributed Ray Tracing
Page 23: Distributed Ray Tracing
Page 24: Distributed Ray Tracing

Cook (1986)

Page 25: Distributed Ray Tracing

Gloss • rays are distributed reflections around

reflection direction to simulate non-smooth surfaces

Depth-of-view • origin of rays is distributed with respect

to lens to get out-of-focus effect

Soft shadow • rays are distributed around light direction

to simulate area light sources

Motion blur • rays are distributed in time to simulate

object movement

Distributed Ray TracingRays can also be stochastically distributed in object space to simulate

Page 26: Distributed Ray Tracing

Motion Blur

• Two objects moving so that one always obscures the other– Can’t render and blur objects separately

• A spinning top with texture blurred but highlights sharp– Can’t post-process blur a rendered object

• The blades of a fan creating a blurred shadow– Must consider the movement of other objects time

Post-process blurring can get some effects, but consider:

Page 27: Distributed Ray Tracing

Temporal Jittering Sampling

Page 28: Distributed Ray Tracing

Motion Blur

Page 29: Distributed Ray Tracing
Page 30: Distributed Ray Tracing

Cook (1986)

Page 31: Distributed Ray Tracing

Cook (1986)

Page 32: Distributed Ray Tracing

Distributed Ray Tracing(Summary)