PortableGL 0.98, a C implementation of OpenGL 3, is now available for download

After over a year of development prepared project release PortableGL 0.98, which develops a software implementation of the OpenGL 3.x graphics API, written entirely in the C language (C99). In theory, PortableGL can be used in any application that takes a texture or framebuffer as input. The code is formatted as a single header file and distributed by under MIT license.

The project's goals include portability, OpenGL API compliance, ease of use, simple code, and high performance. Areas of application include teaching the concepts of building graphics APIs, using it to work with 3D graphics on systems without a GPU, and integrating OpenGL support into specific operating systems for which the Mesa3D package is not ported. Of the finished projects using PortableGL, it is noted port Minecraft-like game Craft.

Advertisement

In the new version:

  • A new standard shader library has been implemented.
  • Added support for additional texture formats and their automatic conversion to RGBA format.

  • Added support for using vertex attributes with types other than float.
  • A new improved algorithm for forming wide lines is proposed.
  • API expanded. Many new OpenGL features and capabilities have been added, including the capabilities of OpenGL ES 2/3.

Thanks for reading:

Advertisement