I've made a little experiment with shaders integration in the latest version of processing. This sketch download some images from Instagram, then add some music, texts and glitches with different blending mode on top of it:
More glitches, shaders and text appears towards the end of the video, though it's better to look at it from the beginning to the end if you can handle the music...
I'll share the code gladly if anyone's interested, though since it's a personal project the code is quite unorganized and not very well commented,
I have a little questions about GLModel rendering with GLGraphics library (I'm using Processing 1.5.1).
I have 3 GLModels, one with a bunch of cubes, one with lines and a last one is a point cloud. They all have their own colors and alpha. If I render them all together without lighting, everything seems to be just fine, but once I enable one light, then it seems like only one of the model is lighted correctly and the colors and alpha values of the other 2 ones are completely ignored.
I've checked that article
http://www.sjbaker.org/steve/omniv/opengl_lighting.html about openGL color and I understand the overall logic, but I can't seem to figure out what's the pb here... Do I need to assign one light per model? Any help on that would be great.
I have a question about the oscP5 lib, actually 2 questions:
1) While using Bundles is there a limit to the number of message you can put in the bundle? I'm trying as an experiment to send 800 oscMessages in a bundle to TouchOSC on the iPad (to update a bunch of LEDs) it looks like the OSCMessage are all bundled ok but the LEDs on the TouchOSC are not updated correctly: the first 300 hundreds OSCMessages seems to arrive ok but that's it. The loop looks like that:
2) I've also tried using 800 separated oscMessages in a similar "for" loop (which actually seems to be faster than sending a bundle, for whatever reason) but some are losts along the way. Maybe there is a time out for each oscMessage? or by the time I send the next OSCMessage in the loop the previous did not arrived yet? it looks like they are all sent ok but then the LEDs on touchOSC are not updated as they should
Basically the questions come down to: How can I send out a big quantity of message to TouchOSC without messages being lost along the way? Is the problem coming from TouchOSC? Is there a way to send a flow of OSCMessage in a very efficient way?