Montag, 18. Oktober 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: ,

1 Kommentare:

Anonymous Anonymous meinte...

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

22. Oktober 2010 um 04:09  

Kommentar veröffentlichen

Abonnieren Kommentare zum Post [Atom]

<< Startseite