Metadata-Version: 2.1
Name: glglue
Version: 2.5.0
Summary: The glue code which mediates between OpenGL and some GUI
Author-email: ousttrue <ousttrue@gmail.com>
Project-URL: HomePage, https://ousttrue.github.io/glglue/
Project-URL: Repository, https://github.com/ousttrue/glglue/
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Multimedia :: Graphics :: 3D Modeling
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyopengl
Requires-Dist: PyGLM

# glglue

- <https://ousttrue.github.io/glglue/>
- <https://pypi.python.org/pypi/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/*
```
