If I call light, directionalLight etc. the colors of surfaces becomes totally opaque as if alpha was set at maximum.
The same code in 2.0a4 work well however. Is this a bug to be resolved or should one use other lighting function with the new renderer?
I'm a composer that recently started adding live graphics to my pieces and currently I'm working on a big piece that will feature around 20 min of graphics. I switched to Processing 2 and was amazed by the fast OpenGL2 engine. To spare computing power I decided to record and playback video of some of my sketches. The only way I figured this was possible with the alphas was with Syphon.
My issue however is that on my MacPro 3,1, a5 won't work correctly. The sendFrames example won't even run.
I get plenty of this error:
Exception in thread "Animation Thread" javax.media.opengl.GLException: javax.media.opengl.GLException: array offset argument "infoLog_offset" (0) equals or exceeds array length (0)
as well as
OpenGL error 1286 at top beginDraw(): invalid framebuffer operation
OpenGL error 1286 at bot beginDraw(): invalid framebuffer operation
OpenGL error 1286 at top endDraw(): invalid framebuffer operation
OpenGL error 1286 at bot endDraw(): invalid framebuffer operation
One of my own test sketches I am able to run, but the begin/endDraw error still persists, I get no background on the sketch and the receiving Syphon recorder gets squat.
On my MacbookPro 2010 I can run both the example and my own. However my own sketch does not output a background (even with canvas.background(250); or just background(250);) and the perspective is all screw up.
With alpha 4, both computers are able to send frames. However, the processing window of my own sketch is frozen and on the MacPro I get really shitty framerates to the Syphon recorder. (Dimensions of object are different as well between a4 and a5 for both comps.) The Macbook does seem to get good frameRates though.
My theory for my MacPro is that I recently put in a flashed 1Gb VRAM Radeon 6870, and while it works well for video editing and games it unfortunately does not play nice with Processing, which is the reason I got it to begin with.
I am not sure what to make of it. Use a5 on my laptop to generate videos and edit/playback on my MacPro?