I'm trying to do some Feedback effects in Processing.
I tried to do it with the pixels[] array but that turns my sketch into a 10 fps slide show.
Is there another way to do feedback effects with decent performance? I guess FBOs are the right way to do it?!
Or is there a less brain draining technique?
Hello there,
I still have problems when I try to blend something in Processing.
I built this simple scene to illustrate my problem:
http://www.abload.de/img/tdjge.png It's basically a semitransparent cube with a black/white sphere half inside. The part of the sphere that is outside of the cube is displayed correctly but the part that should be seen inside the cube is just gone..
So, in this scene it's obviously no problem but in complex scenes it's impossible to change the drawing order dynamically.
When I enable depth-sorting via hint(ENABLE_DEPTH_SORT); it kind of works. But it seems to work only on the faces level and some vertices are still off. Besides it's way too slow for more complex scenes.
I hope there's someone here who can help me out on this!
I've tried alot of things to make my 2d-Particles always face the camera from the front to create a billboarding effect.
But nothing seemed to work. Can anyone show me some code to get this working? Would be highly appreciated!