Help end child hunger
Dec 092011
 

VSML has been renamed to VSMathLib. Too many libs in the pipeline to keep naming them with a single letter 🙂

The M stood for Matrix, yet as now the library also contains vector operations, I think the new name fits better with the content.

Another addition is the availability of the normal and projection-view-model matrices. These are commonly used in shaders, and it doesn’t make sense to keep computing it for every vertex.

Finally, the lib now works with the VSShaderLib to provide a more general method for uniform variable settings.

Bug reports are most welcome.

Dec 052011
 

Shaders are the core of the rendering process. OpenGL core profile requires us to provide our own shaders, no more fixed function.

Using shaders means more flexibility, but it also implies more work. This is where this lib steps in.

VSShaderLib was designed to make our life easier. It allows to create programs, load shaders from files, associate vertex attribute names with locations, and work with uniforms, including uniforms in named blocks. It also provides access to the info logs.