This release of GLGraphics introduces a new and improved way of handling the parameters of the texture filters. Before 0.8.9, the parameters had to be passed to the filter with a GLTextureFilterParameters object. This object allowed only a predetermined number of parameters to be set in the shader. Furthermore, the name of these parameters was hard-coded, for example a float parameter in the shader had to be called par_flt1, for instance, in order to be recognized by the filter.
Read the rest of this entry »
Archive for the ‘shader’ Tag
New GLGraphics release: 0.8.9 6 comments
realmatik: a little demo of realtime video filters Leave a comment
Using the gsvideo and the gltexture libraries, I wrote a little demo application in Processing which lets you play with video files and realtime glsl filters. The way it works is fairly simple: you drop a movie file into the main window, and navigate the movie using the “timeline” slider located underneath the video images (the one on the left being the source video, and the one on the right the “filtered” video).
Read the rest of this entry »
GLTexture library for Processing 13 comments
Here is a new version of the opengl texture library for processing (v0.6.5). In fact, I renamed it to gltexture, and also changed the prefix P* to GL* to avoid conflicts with the core classes of processing. I also fixed a minor bug and added an initial version of the documentation (generated from the code with javadoc).
Read the rest of this entry »