Chapter 7. Drawing in 3D
3D graphics often looks more impressive than 2D graphics because 3D has unique expressive capabilities, such as depth, perspective, and shading. Also, the third dimension allows objects to interweave and twist in the space in ways that are hard to achieve using 2D graphics. In this chapter we will cover the basics of rendering and animating 3D surfaces and primitive clouds with openFrameworks. We'll cover the following topics:
Simple 3D drawing
Using ofMesh
Enabling lighting and setting normals
Texturing
Working with vertices