Test Vol 1 Jun. 2014

Table of contents Table of contents ....................................................................................................................... 1 Preface ...................................................................................................................................... 1 1 Defining the space .................................................................................................................. 2 1.A Defining the 2D space ............................................................................................................................. 2 Projection space and aspect ratio ........................................................................................................................... 2 Transforming between 2D spaces ........................................................................................................................... 4 Overview of section 1.A ........................................................................................................................................... 5 1.B Defining the 3D space ............................................................................................................................. 6 The camera .............................................................................................................................................................. 6 3D Spaces ................................................................................................................................................................ 7 Advantages of clip space ......................................................................................................................................... 8 Transforming between 3D spaces ......................................................................................................................... 10 Overview of section 1.B ......................................................................................................................................... 11 2 Projection ............................................................................................................................. 12 2.A Depicting the projection........................................................................................................................ 12 2.B Computing the projection ..................................................................................................................... 13 2.C What now? ............................................................................................................................................ 14 3 Implementation.................................................................................................................... 15 3.A Defining the structures and other rules ................................................................................................ 15 Bitmaps .................................................................................................................................................................. 15 The camera ............................................................................................................................................................ 15 The renderer .......................................................................................................................................................... 16