Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 2: All That Math Jazz

Chapter 2

All That Math Jazz

No book on 3D programming would be complete without at least one chapter on the mathematics behind 3D transformations. If you care nothing about this, move on—there's nothing to see here. After all, doesn't OpenGL take care of this stuff automatically? Certainly. But it is helpful to be familiar with what's going on inside, if nothing more but to understand the lingo of 3D-speak.

Let's define some terminology first:

  • Translation: Moving an object from its initial position (see Figure 2–1, left)
  • Rotation: Rotating an object around a central point of origin (see Figure 2–1, right)
  • Scaling: Changing the size of an object
  • Transformation: All of the above
Image

Figure 2–1. Translation (left) and rotation (right)


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint