PortableGL VS cgltf

Compare PortableGL vs cgltf and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
PortableGL cgltf
7 9
922 1,373
- -
9.0 6.7
29 days ago about 1 month ago
C C
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

PortableGL

Posts with mentions or reviews of PortableGL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-21.
  • Olive.c: a simple graphics library that does not have any dependencies
    14 projects | news.ycombinator.com | 21 Sep 2022
    Yeah PortableGL will never be completely fully featured, not even for OpenGL 3.3 since I'll definitely never do the geometry shader and probably not the transform feedback. But specifically it'll never have the earlier immediate mode stuff, or some of the big 4.0 stuff like the tessellation shaders. I have been meaning to add the DSA functions where they make sense. They'd be really simple to implement.

    Actually a few days ago someone sent me a pull request adding an interesting project to my README

    https://github.com/rswinkle/PortableGL/commit/e0652b4dff266d...

    So now if I were to try to sum up all the OpenGL software implementations I can think of,

    TinyGL (and modern improved forks) = OpenGL 1.1-1.3 ish

  • Hacker News top posts: Dec 31, 2021
    4 projects | /r/hackerdigest | 31 Dec 2021
    PortableGL: An implementation of OpenGL 3.x-ish in clean C\ (23 comments)
  • PortableGL: An implementation of OpenGL 3.x-ish in clean C
    1 project | /r/hackernews | 31 Dec 2021
    6 projects | news.ycombinator.com | 30 Dec 2021
    Not entirely related to the subject of OpenGL, but I really like how the author has decided to lay out this project. It's pretty hard to beat the convenience of a single header (or single header/single source) distribution for C libraries, but library development gets progressively harder as the project gets bigger as more code is added to the (usually hard to navigate) header file. Here, the author does their development with multiple files as one normally would, but when a new version is released they run the generate_gl_h[1] script that concatenates everything into a .h file for distribution. Simple yet flexible! This is also how SQLite[2] distributes its builds. It's a pattern that I'm using myself in some unreleased projects.

    [1] https://github.com/rswinkle/PortableGL/blob/master/src/gener...

  • Any OpenGL implementations for vector-drawing hardware?
    2 projects | /r/opengl | 19 Nov 2021

cgltf

Posts with mentions or reviews of cgltf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-20.

What are some alternatives?

When comparing PortableGL and cgltf you can also consider the following projects:

tinygl - TinyGL : a Small, Free and Fast Subset of OpenGL*

tinygltf - Header only C++11 tiny glTF 2.0 library

tinyraytracer - A brief computer graphics / rendering course

assimp - The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.

GLM - OpenGL Mathematics (GLM)

FBX2glTF - A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.

tinyrenderer - A brief computer graphics / rendering course

SharpGLTF - glTF reader and writer for .NET Standard

rusterizer - Bare-bones software renderer written in Rust

gdx-gltf - GLTF 2.0 3D format support and PBR shader implementation for LibGDX

RetroFPSStudio - The public repo of Retro FPS Studio (RFS), for educational reading and not for reuse. See license.

learn-wgpu - Guide for using gfx-rs's wgpu library.