https://github.com/ousttrue/glglue
glue code for pyOpenGL and some GUI libraries
https://github.com/ousttrue/glglue
opengl python
Last synced: about 1 year ago
JSON representation
glue code for pyOpenGL and some GUI libraries
- Host: GitHub
- URL: https://github.com/ousttrue/glglue
- Owner: ousttrue
- License: mit
- Created: 2011-12-28T17:39:02.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T22:43:53.000Z (over 1 year ago)
- Last Synced: 2025-02-02T18:34:52.695Z (over 1 year ago)
- Topics: opengl, python
- Language: Python
- Homepage: http://ousttrue.github.io/glglue/
- Size: 1.94 MB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# glglue
-
-
The glue code which mediates between OpenGL and some GUI.
GUI イベント(resize, mouse, keyboard, repaint) を OpenGL に橋渡しする。
```
GUI OpenGL controller
+--------+ +------------+
| win32 |--window resize--->| Update |
| glut |--mouse input----->| Update |
| sdl |--keyboard input-->| Update |
| pyside6| | |
| gtk3 |--repaint--------->| Draw |
| gtk4 | +------------+
+--------+
```
And OpenGL utilities.
## Requirements
- Python 3.11
## status
| platform | status | comment |
| ---------- | ------ | ---------------------------------------- |
| win32 | ok | windows11 |
| glut | ok | windows11, PATH to freeglut64.vc.dll |
| glfw | ok | windows11, pip install glfw |
| gtk3 | ? | require gtk3 self build |
| gtk4 | ok | require gtk4 self build |
| sdl2 | ok | windows11, pip install pysdl2 pysdl2-dll |
| qt6 | ok | windows11, pip install pyside6 |
| pyopengltk | ok | windows11, pip install pyopengltk |
## upload
```sh
rm -rf dist
py -m build --sdist
twine upload dist/*
```