Basic Transform Techniques
OpenGL’s transformation pipeline is a powerful component for building rendering algorithms; it provides a full 4×4 transformation and perspective division that can be applied to both geometry and texture coordinates. This general transformation ability is very powerful, but OpenGL also provides complete orthogonality between transform and rasterization state. Being able to pick and choose the values of both states makes it possible to freely combine transformation and rasterization techniques.
This chapter describes a toolbox of basic techniques that use OpenGL’s transformation pipeline. Some of these techniques are used in many applications, others show transform techniques that are important building blocks ...
Get Advanced Graphics Programming Using OpenGL 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.