There is no OpenGL library in Sketch => Import Library or in Sketch => Import Library => Add Library in Processing 3.
Where can I find it?
1 Answer
Starting from Processing 2.0, OpenGL is a part of the core (https://github.com/processing/processing/wiki/OpenGL-Issues).
So eg this:
void setup(){
size(640, 480, OPENGL);
bezier(20, 20, 50, 10, 80, 100, 30, 200);
}
should work right away.
1 Comment
George Profenza
You got it! Bare in mind OPENGL in Processing 3 is actually the P3D renderer, could simply use P3D directly (source). Be sure to also checkout the PShader tutorial