Tag Archives: parameters

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 More »

I finished a new version of gsvideo (0.3.12), which adds the possibility of setting parameters for the input plugin in the GSCapture object. An useful application of this feature is to chose the input device in Linux as follows:

capture = new GSCapture(this, 320, 240, new String[] {"device"}, new String[] {"/dev/video0"});

Download from here.