Chapter 21

Transforming Objects

image

Image courtesy by David Gardner

Objectives

By the end of this chapter, you should:

  • understand how to intersect rays with transformed objects;
  • understand why instancing is the preferred method;
  • be able to transform objects through instancing;
  • understand how you can model numerous beveled objects.
>

In this chapter, I’ll put the theory of affine transformations into practice by explaining how to ray trace transformed objects. This will give you a lot of flexibility for modeling purposes.

21.1 Intersecting Transformed Objects

21.1.1 General Theory

How do we intersect rays with transformed objects? The answer is ...

Get Ray Tracing from the Ground Up now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.