GeeXLab 0.12.0.0 Released for Windows

GeeXLab 0.12.0.x is essentially a maintenance release (bug fixes + updates) that includes few interesting functions.

The first new function (added in gh_font lib) is related to True Type fonts: we can now retrieve the width in pixels of a string for a particular font. This function is useful if you want to align text on the right for example:

A concrete example can be found in the new OpenGL/Vulkan framework added in the standard library folder: libs/lua/framework_v1/. Look for the OSI_Display_GL() function in common_func_gl.lua.

The second new feature is the mesh voxelization. I will write an quick article about this feature shortly. But in short, mesh voxelization allows to get things like this (left: regular torus, right: voxelized torus):

This demo is available in the code sample pack in the gl-32/voxelize/ folder.

GeeXLab comes with two different OBJ loaders. The second OBJ loader (called “ObjLoaderV2”) is based on TinyObjLoader and has been updated to the latest version 0.9.22. This version of TinyObjLoader seems to work fine and I think it will be the default OBJ loader in one of the next versions of GeeXLab. You can change the current OBJ loader with:

And last thing for Vulkan demo-coders, GeeXLab 0.12.0 fixes a bug related to uniform GPU buffers. If several (greater or equal than 2) uniform GPU buffers were created, there was a crash in the rendering. With a single GPU buffer, GeeXLab was stable.

And if you want to see Shadertoy demos in Vulkan, I ported this demo to GeeXLab / Vulkan and it is available in the code sample pack in: vk/shadertoy/ . This demo uses the new Lua framework.

As usual, you can download GeeXLab and the code sample pack from THIS PAGE.