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 9: Performance 'n' Stuff

Chapter 9

Performance 'n' Stuff

An ounce of performance is worth pounds of promises.

—Mae West

I'm so fast that last night I turned off the light switch in my hotel room and was in bed before the room was dark.

—Muhammad Ali

When dealing with 3D worlds, performance is nearly always an issue because of the intensive mathematics required for even simple scenes. If all you want to render is an animated spinning triangle with adorable robots festooned upon its visage, then not to worry, but if you want to display the universe, then you'll always be concerned about performance.

Up until now, the exercises have been presented in a way to be reasonably clear (I hope) but not necessarily efficient. And unfortunately, efficient code is rarely the clearest and easily understood. So now, we're going to start looking at the slightly messier stuff and see how it can be integrated into your applications.


  

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