Tuesday, August 2, 2011

GLGraphics 20110730 Beta / 0.9.9.1 (GPL)

GLGraphics is a handy library specially designed for the processing programming language that integrates OpenGL textures and GPU-accelerated effects into the Processing API.

This library offers two main classes, GLTexture and GLTextureFilter, and a new OpenGL renderer that also enables off-screen drawing. GLTexture is a descendant of PImage, so that the use of this class combines seamlessly with the already existing funcionality of PImage.

GLTextureFilter is used to load GPU-accelerated image effects or filters, such as blur and edge detection, High Dynamic Range tone mapping, etc., and also more complex GPU effects like the simulation of particle systems.

Requirements:

· Java

What's New in This Release: [ read full changelog ]

Fixes:
· OpenGL resource release mechanism is not implemented through the class finalizers anymore, which led to crashes. Static list of resources is kept in GLState object instead, emptied on request or when the sketch is closed.
· Size of point sprites properly implemented (A3D backport) and added setDepthMask() method to GLGraphics and GLGraphicsOffScreen to enable/disable writing to the depth mask.
· Hack to make the SimpleGPUParticleSystem (renamed to ParticleSystem)
· example to work on OSX.
· Blending API is more consistent now: the renderer classes (GLGraphics and GLGraphicsOffScreen) have noBlend(), setBlendMode() and setDefaultBlend() methods to set the desired blending mode. Then GLModel and GLTextureFilter have their own noBlend() and setBlendMode() methods to set the blend mode while rendering a model or applying a texture filter. After which the current blend mode of the renderer is restored automatically.

New:
· All classes than encapsulate OpenGL resources (GLTexture, GLTextureF...


View the original article here

No comments:

Post a Comment