Chapter 9. Ray Tracing

[ LiB ]

Chapter 9. Ray Tracing

Ray tracing is a technique for rendering three-dimensional graphics. It can render very complex geometry because it's a point-sampling method. It is very good at rendering pictures with curved surfaces, mirrors, and transparent surfaces. Simply put, ray tracing is just very good at calculating lighting interactions on a point level.

This chapter shows you how to implement ray tracing and how to write three ray-tracing applications. Each application simulates a specific natural lighting effect as seen in nature. Ray tracing is based on the simple idea of recording and displaying information about how light interacts and bounces off surfaces as it travels through an environment. Everything that you've been learning comes down to this chapter, where you put it all together. The ray-tracing algorithm will be applied to the cScene class. In the following chapters, you'll incorporate the photon-mapping algorithm.

[ LiB ]


Focus On Photon Mapping
Focus On Photon Mapping (Premier Press Game Development)
ISBN: 1592000088
EAN: 2147483647
Year: 2005
Pages: 128
Authors: Marlon John

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net