07.01.2013 Views

3D graphics eBook - Course Materials Repository

3D graphics eBook - Course Materials Repository

3D graphics eBook - Course Materials Repository

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Photon tracing 110<br />

Advantages and disadvantages<br />

This method has a number of advantages compared to other methods.<br />

• Global illumination and radiosity are automatic and nearly free.<br />

• Sub-surface scattering is simple and cheap.<br />

• True caustics are free.<br />

• There are no rendering artifacts if done right.<br />

• Fairly simple to code and implement using a regular ray tracer.<br />

• Simple to parallelize, even across multiple computers.<br />

Even though the image quality is superior this method has one major drawback: render times. One of the first<br />

simulations in 1991, programmed in C by Richard Keene, it took 100 Sun 1 computers operating at 1 MHz a month<br />

to render a single image. With modern computers it can take up to one day to compute a crude result using even the<br />

simplest scene.<br />

Shading methods<br />

Because the rendering method differs from both ray tracing and scan line rendering, photon tracing needs its own set<br />

of shaders.<br />

• Surface shader - dictates how the photon rays reflect or refract.<br />

• Absorption shader - tells the ray if the photon should be absorbed or not.<br />

• Emission shader - when called it emits a photon ray<br />

Renderers<br />

• [1] - A light simulation renderer similar to the experiment performed by Keene.<br />

Future<br />

With newer ray tracing hardware large rendering farms may be possible that can render images on a commercial<br />

level. Eventually even home computers will be able to render images using this method without any problem.<br />

External links<br />

• www.cpjava.net [1]<br />

References<br />

[1] http:/ / www. cpjava. net/ photonproj. html

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!