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

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

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

blShapeQuadric — Construct and render static or dynamic Quadrics shapes in opengl

Introduction As part of the blShapeAPI series, in this article I present blShapeQuadric, a class which will serve as the basic framework with which to build Quadric shapes. Quadric shapes are simple shapes that have a virtually unlimited number of applications. Not only are they used in all the modern…

Continue reading

Using sfml library within QTCreator in windows

This is a quick post to show how to use the sfml library within our beloved QTCreator. The sfml library is a very clean, cross-platform and easy to use library for windowing, opengl, networking, audio and more. Check it out it’s really good. It turns out it’s really easy to…

Continue reading

blRectangle — A simple Rectangle class in c++ with useful functions

Introduction This is part of my on going effort to publish all the mathematical tools that I have developed and used over the years. In this article, I present a simple rectangle class, which is very useful when dealing with images or graphics in general. As with the rest of…

Continue reading