P5 2.06a + OSX + video +OPENGL
in
Core Library Questions
•
1 year ago
Friends
I have no idea how to workaround this problem. Maybe somebody is able to give me a hint ;-)
This code (it's a fragment of my draw() method):
if (video.available()) video.read();
video.loadPixels();
// do something with the video, eg.
for(int i = 0; i < video.pixels.length; i++)
video.pixels[i] = color(random(255));
video.updatePixels();
image(video,0,0);
is working great with default renderer, but producing strange effects (blinking in high rate source and processed images) in OPENGL.
The "video" is, of course an object derrived from Video library (all the initialization code in setup() is ok - it's, as mentioned, working good in default renderer).
I'm working on MacBookPro (Lion, i7), Processing 2.06a
What do you think?
1