-
Notifications
You must be signed in to change notification settings - Fork 94
Render Modes
Martin Prout edited this page Aug 14, 2013
·
2 revisions
This is the default renderer, and does not need to be specified in size, unchanged since processing-1.5.1.
This is the alternative two dimensional renderer, that relies on JOGL/OPENGL under the hood, changed since processing-2.0 now uses GPU instead of CPU.
size(WIDTH, HEIGHT, P2D)
P3D is the three dimensional renderer, and relies on JOGL/OPENGL under the hood, changed since processing-2.0 now uses GPU instead of CPU (the previous P3D enabled 3D sketches to run on systems with a poxy graphics card)
size(WIDTH, HEIGHT, P3D)
The PDF renderer draws 2D graphics directly to an Acrobat PDF file. This produces excellent results when you need vector shapes for high-resolution output or printing.
size(WIDTH, HEIGHT, PDF)