October 18, 2010

depth of field



Depth of field blur effect in Processing with OpenGL.

There are two different types of materials: spriteMaterial for sprites, such as points, labels, ... and lineMaterial. You define these materials in void setup() (in this case 11 different types of points and one line type). You can actually convert any texture (image + alpha map) into a sprite material, in this example, there is only points and text.


you can download the source code here

Labels: ,

2 Comments:

Anonymous Anonymous said...

Thanks for posting the code on this, I can't wait till I have a chance to dig through it.

October 22, 2010 at 1:09 PM  
Anonymous Anonymous said...

Hi, link seems to be broke (along some other links here and there). It would be great if you could fix it as the video looks quite interesting.

Thanks a lot

November 8, 2013 at 1:36 PM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home