Summary

[ LiB ]

Summary

This chapter explains the basic structures and methods of constructing a 3D environment. You still have a few more steps to go before you can actually begin rendering. These classes can be used for 3D renderers as well as 3D games . You now have an understanding about scalars, points, and vectors you know that points are locations and vectors symbolize directions. You have developed a vector class that can be used for both points and vectors. You have created a set of vector operators so that your future code will be more legible and easier to understand. You have developed a point light fashioned from a light bulb that emits energy equally in all directions. The point light also has a color attribute that can give a nice color bleeding effect on lit objects in the scene. You've developed the ray structure that can be used to cast rays into the scene and return relevant information. You can reflect and refract light by using the reflection and refraction methods. These classes are the foundation of your future development, so it's important to understand them well in order to move to the next level. Try to think of this process as getting prepared for development.

[ 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