moderngl-window
moderngl-window copied to clipboard
A cross platform utility library for ModernGL making window creation and resource loading simple
Currently the `Scene` instance returned by scene loaders are fairly generic. It contains both the scene structure and is responsible for rendering. This is a problem when handling scenes from...
On the pygame examples in this repository the following method is used to convert from a pygame surface to a modernGL texture: ``` texture_data = self.pg_screen.get_view('1') ``` with this the...
can't find in self.wnd.keys a code for just these keys on their own ``` def key_event(self, key, action, modifiers): self.leftSft = False self.leftCtr = False if action == self.wnd.keys.ACTION_PRESS: if...
I would like to customize context creation for moderngl. The current workaround is to hack on the create context function. ```py import moderngl_window as mglw import moderngl moderngl.create_context = ......
Probably a revival of [this one](https://github.com/moderngl/moderngl-window/issues/136#issue-860789861), which seems to be closed as solved The code below starts a window, and it works fine in 60+ FPS, but if I try...
Better #include handling using regex This should fix the issue with includes that contain "-escaped strings. Did not test it though. This should also work: r"#include\s+[",']?([^",']+)"
In an obj file with o MyObject accompanied by a mtl file with newmtl MyMaterial the mesh.name has the same value as mash.material.name.
Pyrr is slow, incomplete and has some bugs. Numpy code in there isn't accelerated by hardware at all, whereas GLM tends to use the fastest method for the CPU you're...
Opening a review for this. Have not executed the tests, if anyone would like to chime in please do.
While working to utilize the library, I noticed that it doesn't load animation data from scenes, or any way to do animation rendering beyond the sample provided for sprites in...