Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : OpenGL: beginGL() does not exist

$
0
0
Not exactly. This:

  1. PGraphicsOpenGL pgl = (PGraphicsOpenGL) g;  
  2. GL gl = pgl.beginGL();  
         
Becomes this:

  1. GL gl = g.beginPGL().gl
Also, at the top of that wiki it says "This post is for Processing 1.x, it doesn't apply to Processing 2.x". A lot was changed for Processing 2.0, including coloring/vector definition. Check out this post by Andres on the changes regarding immediate vs. retained drawing modes.
      

Viewing all articles
Browse latest Browse all 1768

Trending Articles