This new release of GLGraphics (0.9.2, Update: use this other package if you need a Java5-compatible version) includes a couple of exciting new features/improvements. First of all, code using GLModels (the class that stores 3D models directly in the GPU memory for fast rendering) can be safely mixed with the default Processing methods for camera and viewport handling. Secondly, the API of the GLModel class has been expanded with many utility methods to load data into a model (this includes the possibility of loading an entire model from an xml file). And finally, a new class called GLModelEffect encapsulates shaders that are applied during the rendering of a GLModel. This allows for effects like bump mapping, toon shading, fur rendering, etc. Read More »
Tag Archives: glgraphics
Hansi Raber made this little motion tracking application in Processing, using GLGraphics and openCV, that allows his cat Elsa to play with Miku, a virtual dog. From the video description:
“Miku is a software-dog that runs on a lcd screen that sits flat on the floor, a camera is hanging above it from the ceiling and detects the shapes that are put on top of it, in this case – my cat.”
Really amusing to watch: Read More »
Ryan Alexander pointed out that the latest glgraphics release was compiled with JDK 1.6, which creates compatibility problems if you are using Java 1.5 on your machine. This is a good point, so I recompiled the library using the JDK 1.5 instead. Based on Ryan’s suggestions, I also added support for flipped textures in the GLTextureWindow class. The new release of glgraphics (0.9.1.1) incorporating these changes is here.