moderngl
Panda3D
Our great sponsors
moderngl | Panda3D | |
---|---|---|
12 | 42 | |
1,781 | 4,264 | |
2.1% | 1.7% | |
9.1 | 9.4 | |
13 days ago | 6 days ago | |
Python | C++ | |
MIT License | GNU General Public License v3.0 or later |
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:
Panda3D
-
Not only Unity...
Panda3D (MIT/C++) https://github.com/panda3d/panda3d
-
3D desktop Game Engine scriptable in Python
For open source 3d engines that use Python check out Panda3D or Ursina. They're both a blast to use and let you write your codd how you want.
[0] https://www.panda3d.org/
[1] https://www.ursinaengine.org/
-
Alternative Game Engines for Marooned Unity Developers
Panda3D: Let's you make games with c++ and python. I don't think there is an "editor" or anything like that with this engine, but it does look like there have been some decent games made with it. Could be good for smaller games. Modified BSD License.
-
Game Development Post-Unity
I know a lot of people recommend Godot because it's super good but if you want a more code oriented and batteries included engine I recommend Panda3D [0] it's open source, super mature (it's actually one of the oldest continously developed game engines), and can be used form Python and C++. Not sure why it's not more popular it's flexiable and super fun to use.
[0] https://www.panda3d.org/
- The Open Source Framework for 3D Rendering and Games
- Making games
-
What are some of the most impressive uses of photogrammetry in games that you've seen?
Some of the game engines we have now have photogrammetry technology built-in, meaning that developers can easily integrate it into their games. This allows for even more detailed and realistic environments to be created in 3D games. The most prominent being Unreal, Unity, and Lumberyard -- including new and beginner-friendly ones like Panda3D and Yahaha. All of these game engines have photogrammetry at their core to help developers create realistic 3D models and textures quickly and efficiently.
-
Here are some tips on mentoring junior developers in a collaborative team?
Make sure to provide your junior developers or any new members with the resources and tools they need to succeed. This could include coding books (The Self-Taught Programmer was my favorite before), online tutorials, or access to development tools and software. There are game engines available that can be a training ground for new devs, some of the game engines I’ve tried are Panda3D, GameMaker and Godot. I’ve also tried newer engines like Yahaha, but this one is pretty easy compared to other engines so there’s really not much of a challenge. The point is, no matter what resources and tools you provide, make sure they are tailored to the skill level of your junior developers.
-
If you had to develop a game in Python, what engine and tools would you use?
...and there are some samples in the source https://github.com/panda3d/panda3d/tree/master/samples
-
The Icculus Microgrant is giving out 250 dollar grants to open source projects, please brag about your project(s) in this thread so I can see them!
It's not my project, but https://www.panda3d.org/ is to my knowledge the next best step after Unity and Unreal game engines. Unlike those, panda is open source and available for C++ and Python.
What are some alternatives?
Open3D - Open3D: A Modern Library for 3D Data Processing
Pygame - 🐍🎮 pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.
pyglet - pyglet is a cross-platform windowing and multimedia library for Python, for developing games and other visually rich applications.
PyOpenGL - Repository for the PyOpenGL Project
zengl - Self-Contained OpenGL Rendering Pipelines for Python :snake:
Godot - Godot Engine – Multi-platform 2D and 3D game engine
Guide-to-Modern-OpenGL-Functions - A guide to using modern OpenGL functions.
Cocos2d - Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
ModernGL-Shader-with-pygame - you can use this class to give pygame a shader to render screen. it is easy to use.
RenPy - The Ren'Py Visual Novel Engine
pygame_shaders - a library to easily integrate shaders into your new or existing pygame projects
Arcade - Easy to use Python library for creating 2D arcade games.