Microsoft DirectX 8.1 (C++) |
Transformations are used to convert object geoemtry from one coordinate space to another. The most common transformations are done using matrices. A matrix is an essential tool for holding the transformation values and applying them to the data. The topics below introduce matrices, and explain how to use them to generate the world, view and projection transformations.
Convert from world coordinates to view coordinates
Convert from view coordinates to projection coordinates
Convert from projection coordinates to screen coordinates