Long term goal I am trying to create an FBO to render text to, and render it within an Android processing app.
Right now I'm trying to understand how to make an FBO in Processing 2, keep it, and render it to screen. Based on the conversation
here and the fact the corresponding bug fix has been closed I am guessing it's pretty straight forward now.
I got this far (don't laugh)
import processing.opengl.*;
void setup()
{
size(500, 500, P3D);
FrameBuffer fb = new FrameBuffer(this);
fb.bind();
fb.disableDepthTest();
setFill(255);
rect(50, 50, 100, 100);
fb.finish();
}
void draw()
{
}
After which processing says
"The constructor FrameBuffer(PApplet) is not visible". Looking on the google code
here the class is public so I don't see why the constructor would be private.
I went and built from source to be sure it wasn't that I was working with the most recent code, and I had the same issue.