Hey,
i want to make a random landscape generator. Is it possible to draw direct to the Image or need i the grabScreen() methode?
Thx for informations.
ciao Darian
Hey,
i want to make a random landscape generator. Is it possible to draw direct to the Image or need i the grabScreen() methode?
Thx for informations.
ciao Darian
The solution is to work with the ofxFBOTexture addon.
Then you can draw in the Buffer like this:
ofxFBOTexture buffer;
buffer.begin();
ofSetColor(0, 255, 0);
ofRect(0, 0, 50, 50);
buffer.end();
buffer.draw(0,0);
I hope this is the right way to work with.
thx and ciao
Darian
This wasn’t the correct solution. I dont know how to manipulate the FBO Pixels. There is no methode getPixels() or so…
Help please.
ciao Darian