moderngl
KlayGE
Our great sponsors
moderngl | KlayGE | |
---|---|---|
12 | - | |
1,776 | 2,006 | |
2.1% | - | |
9.2 | 9.0 | |
11 days ago | 9 days ago | |
Python | C++ | |
MIT License | GNU General Public License v3.0 only |
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.
moderngl
- Interactive Web App for Learning Shaders - Editor with Real-Time Preview
-
Quick question, how do I set an uniform of a fragment shader in ModernGL?
You can see how to do it here: https://github.com/moderngl/moderngl/blob/master/examples/fragment_output.py
- [Computer Graphics] moderngl/moderngl: Modern OpenGL binding for python
-
No, it’s not useless
making an executable is an absolute pain but PySide6, DearPyGui, moderngl and much more exists
-
Pycharm does not see module in virtual environment at runtime, although running it from the cmd has no issues
Whenever I try to run examples/loading_obj_files.py from moderngl/moderngl: Modern OpenGL binding for python (github.com) , I get this error:
-
Is there such a good OpenGL package in Python like rgl for R?
Not sure what rgl supports, but there's https://github.com/moderngl/moderngl - provides Pythonic wrapper around OpenGL functions.
-
GitHub - szabolcsdombi/zengl: ⚡ high-performance rendering for python
I'm guessing minimal overhead. The README says that it is a "simplification of a subset of ModernGL with some extras that were not possible to include in ModernGL." The documentation for ModernGL (lazy-link) talks about speed only in comparison with PyOpenGL, and says that it's faster since C++ calls are "bundled together," which I assume means that ModernGL (compared to PyOpenGL) does a little more than just wrapping - for good and bad.
-
To those who have written high speed graphics libraries in python, do those libs call low level executable functions written in C?
I would not use Pyglet, I would use ModernOpenGL. https://github.com/moderngl/moderngl It's still OpenGL but with a more pythonic interface and way less useless boilerplate. Plus you get access to modern features by default (in fact, are required, and btw modern = more than a decade old), and I believe pyglet still relies on old immediate mode opengl.
-
PSA: Reinstall python-moderngl-git (and manim) if you got it from the AUR
As you can see, the new version is dramatically lower than the previous one, but it is consistent with the package's tags. The downside is that this won't trigger your AUR helper to update the package, so you'll have to do it manually. You may also want to just reinstall manim as a whole to account for the new dependency version.
-
Need help with compute shader
I am currently trying to use a compute shader to compute 2D projection of 3D points (to create a little 3D renderer in python). I am using the moderngl library, and this is my code. So my compute shader is using 2 buffers: 1 for input and 1 for output. The input is composed of 3 vec3 (to represent the 3 3D points for a triangle), and the output will be 3 2D points. The code I showed you here is for testing, which just takes the input values and put them in the output buffer. Here is my problem:
KlayGE
We haven't tracked posts mentioning KlayGE yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
Open3D - Open3D: A Modern Library for 3D Data Processing
The MOAI Multi-platform Game Engine - This is the development repo of Moai SDK.
pyglet - pyglet is a cross-platform windowing and multimedia library for Python, for developing games and other visually rich applications.
ClanLib - ClanLib is a cross platform C++ toolkit library.
Panda3D - Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
Godot - Godot Engine – Multi-platform 2D and 3D game engine
zengl - Self-Contained OpenGL Rendering Pipelines for Python :snake:
Torque3D - MIT Licensed Open Source version of Torque 3D from GarageGames
Guide-to-Modern-OpenGL-Functions - A guide to using modern OpenGL functions.
squirrel - Official repository for the programming language Squirrel
ModernGL-Shader-with-pygame - you can use this class to give pygame a shader to render screen. it is easy to use.
GamePlay - Open-source, cross-platform, C++ game engine for creating 2D/3D games.