Skip to content

Why should I prefer zengl over moderngl? #37

Answered by szabolcsdombi
bolducke asked this question in Q&A
Discussion options

You must be logged in to vote

I hope this helps.

ModernGL

ModernGL was first released around 2016. However it gained not much traction until version 4.x or 5.x and those versions are very different from the previous ones.
The most recent version of moderngl is mostly the same idea as it was in 4.0.0 (2017-05-20).
Since then new features were requested and added. Some of them duplicated existing functionality.

An average ModernGL users does not use these new features.
Instead, they mostly rely on the very basic set of features that were already present in 4.x.
Take textures for example:

program = ctx.program(...)
texture = ctx.texture(...)
model = ctx.simple_vertex_array(...)

program.use()
texture.use()
model.render()

L…

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bolducke
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants