GLGraphics is a library for the Processing programming language that offers a number of classes to simplify the handling of OpenGL textures, GLSL shaders and off-screen rendering inside Processing.

README file for GLGraphics-test
The test packages of GLGraphics are intended to try out and debug new features. They might contain several bugs or unfinished functionality.


GLGraphics 2011-09-11
* Added crop functionality to the texture filter.
* Cleaned up the API to control the tint color in texture filters.
* No need to define special parameters section in the xml file of a texture filter for the clock, size and tint parameters.
* Added CroppedFilter example to Textures.

GLGraphics 2011-08-20
* Added a try/catch to avoid NoSuchElementException in putPixelsIntoTexture() in GLTexture.

GLGraphics 2011-08-11
* Load/save vertices from/to binary file in GLModel now uses floats to avoid wrapping issues.

GLGraphics 2011-08-09
* Added iterative mode to GLTextureFilter, and Textures/Iterative example.

GLGraphics 2011-07-30
* Fixed bug in GLModel.render(first, last) method (parameters were ignored).
* Added Models/ParticleSystem example.
* Added frame count to GLTextureWindow.
* Added GLTextureWindow removal functionality.

GLGraphics 2011-06-12
* Making sure that OpenGL context is current when releasing resources in dispose().

GLGraphics 2011-04-28
* Fixed bug in the argument of GLSLShader.setTexUniform()
* Updated examples (with the addition of KeystoneOutput and a FishEye).
* Added pixel load/update methods to GLGraphicsOffScreen.

GLGraphics 2011-04-11
* Added methods for direct buffer copy from GSVideo movie objects.

GLGraphics 2011-04-10
* Fixed GLSL geometry shaders and added GLSLsubdiv example.

GLGraphics 2011-03-29
* Added GLModel.shininess() method
* Added integration examples (OpenGL, Toxiclibs).

GLGraphics 2011-02-01
* Small fix in resource mechanism so Cg toolkit is not required unless the Cg or CgFX classes are explicitly used.
* Improved indexed mode API in GLModel class.

GLGraphics 2011-01-16
* The GLTexture.putPixelsIntoTexture() method takes into account the situation when the source pixels array is not initialized.

GLGraphics 2011-01-11
* Some code workarounds to ensure that main context change doesn't stop the texture windows from displaying their contents correctly

GLGraphics 2011-01-08
* Additional tweakings in the GLTextureWindow initialization to take into account situations where the context of the main renderer changes (for example resizing of the main window).

GLGraphics 2011-01-06
* Some more refinements in the initialization code of GLTextureWindow. Added new arguments to the constructor so texture windows can be created with borders, resizeable, and with an user-selected title string. TextureWindow example updated accordingly.

GLGraphics 2010-12-26
* Initialization method of GLTextureWindows is re-implemented (again), this time without the use of a separate thread to create frame, renderer, canvas, etc. Tested on Windows 7 64 bits, OSX 10.6.5 and Ubuntu Linux 10.04, and works fine.

GLGraphics 2010-12-24
* New attempt to solve the NoSuchMethodError error when initializing TextureWindow objects, now the GL capabilities are obtained and stored in GLGraphics.allocate(), to avoid problems when calling getCapabilities from another thread.

GLGraphics 2010-12-23
* Added try/catch blocks in the initialization of TextureWindow, as an attempt to fix the NoSuchMethodError error reported here:
* Updated TextureWindow example.

GLGraphics 2010-10-20
* Issues in GLGraphicsOffScreen when width/height is different from main renderer.
* Lights fixes (use of glMaterialfv removed, base light set to almost black).
* New Neon example.

GLGraphics 2010-08-19
* Corrected typo in GLModel.initTextures method, which was originally named GLModel.initTexures.
* Most of the jogl methods to set shader matrices used Buffer arguments. 
They were replaced by the array versions, so there is no need to wrap the float arrays.
* API revision in GLSLShader, CGShader and CGFxShader classes.
* Improved shader examples.
* Added models/GLIntegration example.

GLGraphics 2010-08-12
* GLTexture.releaseTexture() method is now public.

GLGraphics 2010-06-08
* Added GLTextureWindow.setLocation(x, y) method.

GLGraphics 2010-05-30
* Included support for Cg Shaders and CgFX effects (ported from Vitamin's shaderlib).
* GLSLShader class have more methods to use it outside GLTextureFilters (setting uniform and attribute values, texture units)
* New example for visualizing molecules in 3D, using the proscene library for camera handling (models/PDBview).
* Fixed memory leak in GLModel when using the point_sprites mode.

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks