In this chapter, we will learn how to work and draw with 3D graphics. The recipes in this chapter will cover the following:
Drawing 3D geometric primitives
Rotating, scaling, and translating
Drawing to an offscreen canvas
Drawing in 3D with the mouse
Adding lights
Picking in 3D
Creating a height map from an image
Creating a terrain with Perlin noise
Saving mesh data
Introduction
In this chapter, we will learn the basics of creating graphics in 3D. We will use OpenGL and some useful wrappers that Cinder includes on some advanced OpenGL features.