CHAPTER 5

3D Programming in Processing

In Chapter 2, “Introduction to Processing,” you learned the basics of working with Processing in two dimensions. For integrating virtual content into the 3D space of live-action video, as in AR, it's necessary to use Processing's 3D programming capabilities. In this chapter, you'll be introduced to 3D programming and you'll learn how to work with 3D assets similar to the ones you created in Chapters 3, “Blender Modeling and Texturing Basics,” and 4, “Creating a Low-Poly Animated Character.”

In this chapter, you'll learn about the following topics:

  • The P3D and OpenGL environments
  • Working with OBJ files
  • Simple animation with OBJ arrays

The P3D and OpenGL Environments

Processing enables you to program in ...

Get Prototyping Augmented Reality 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.