3D in Processing Worksheet

Basic Exercise

Export your blender model in obj format.

If the export script is not installed on your computer you need to download the following file:


go to the blender text editor view (in the window types icon in the corner of your processing windows).

open the file you just downloaded.

Do Text->run python script

install the Saito obj loader library:


Use the example code from the saito web page to load in your model form blender.

Install the OCD camera library:


Look at the examples given in the library. Use those example to alter your code so you have an object focused camera which rotates around your object based on the mouse and zooms in and out based on the keyboard.


Use OCD to create a first person shooter type camera.

Create a more complex scene in blender an import it into Processing with an appropriate camera system.

PDF Creator    Send article as PDF to