blShapeCylinder and blShapeSphere — Construct and render static or dynamic conical and spherical surfaces in opengl

This entry is part 4 of 6 in the series blShapeAPI -- BarbatoLabs Shape API

Introduction As part of the blShapeAPI series, in this article I present blShapeCylinder and blShapeSphere, which are derived from blShapeQuadric and build conical and spherical surfaces. Just like blShapeQuadric, these shapes can be static or dynamic, and with only a few lines of code can produce astonishing results.

Continue reading

blShapePartialDisk — Construct and render static or dynamic partial disk shapes in opengl

This entry is part 3 of 6 in the series blShapeAPI -- BarbatoLabs Shape API

Introduction As part of the blShapeAPI series, in this article I present blShapePartialDisk, which is derived from blShapeQuadric and builds a partial disk. Just like blShapeQuadric, this shape can be static or dynamic, and with only a few lines of code can produce astonishing results. Here’s a simple example that…

Continue reading