Additional topics
In this chapter we mainly considered representing and drawing 3D objects using openFrameworks. For further learning, we suggest studying the following topics:
Working with the
ofLight
class to control lights, that is, the type of light (spot light and point light), its position, light direction, and color parameters. See openFrameworks examplesexamples/3d/normalsExample
andexamples/3d/advanced3dExample
.Working with the
ofCamera
andofEasyCam
classes to control the camera, that is, the position of the observer of the 3D scene. The camera lets you move easily through the virtual 3D world and also change perspective parameters. See openFrameworks examplesexamples/3d/cameraRibbonExample
andexamples/3d/easyCamExample
.Using 3D model files with the
.3ds
and.dae
extensions. You can load and draw such files as static or animated objects. Note that you can use 3D file models as a source of vertex data for further manipulation and processing. See openFrameworks examplesexamples...