glglue
glglueは、PyOpenGLとWindowSystemを分離しようという趣旨のユーティリティです。 python2はサポートしないことにした。
Requirements
- Python 3.2
Features
- pysdl2
- glut window
- pyQt4's qgl widget
- pyQt5's qgl widget
- win32api wgl
- pyside(Qt4)
Site
Samples
show tutorial and examples directory.
Controller convention
You should implement Controller class that has follow methods.
- onUpdate
- onLeftDown
- onLeftUp
- onMiddleDown
- onMiddleUp
- onRightDown
- onRightUp
- onMotion
- onResize
- onWheel
- onKeyDown
- draw
History
- 20190824 1.0.0 README.rst to README.md
- 20170926 0.4.4 add PySide
- 20170730 0.4.3 add PySDL2
- 20170726 0.4.2 add PyQt5
- 20160417 0.4.1 remove print. use logger
- 20160318 0.4 fix for python3. drop python2 support
- 20130113 0.3.1 fix mouse manipulation for PyQt4
- 20120127 0.3.0 add mouse manipulation
- 20120127 0.2.6 add stencil buffer for glut/wgl/sdl sample
- 20120126 0.2.5 use glutIdleFunc for glut animation
- 20120125 0.2.4 add wgl/sdl animation
- 20120124 0.2.3 add glut animation
- 20120123 0.2.2 add glut width, height parameter
- 20120119 0.2.0 python3 support
- 20120119 0.1.3 add SetFocus when mouseDown on wxglcanvas
- 20120115 0.1.2 update README. add MANIFEST.in
- 20120114 0.1.1 update README
- 20120114 0.1.0 implement wxglcanvas mouse event and keyboard event handling
- 20120113 0.0.9 fix wxglcanvas
- 20120112 0.0.8 fix lacking of README.rst
- 20111230 0.0.7 add wgl.mainloop, implement wgl mouse callback
- 20111230 0.0.4 fix SetWindowLongPtr
- 20111229 0.0.3 include glglue.sample. add wgl
maintenance
$ python setup.py sdist
$ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glglue-1.0.0.tar.gz
(53.4 kB
view details)
File details
Details for the file glglue-1.0.0.tar.gz.
File metadata
- Download URL: glglue-1.0.0.tar.gz
- Upload date:
- Size: 53.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68302d3379fca57f81daa319541e3ea3c7cb160b05cfa271f8313079b6c0efd1
|
|
| MD5 |
80a6fce9ffc6b5484c6053a23d8a3fd6
|
|
| BLAKE2b-256 |
a19f91c93be70e1b1f3ec6f8d0713f93e86b1b20d1f3c557c7f16f088d210b5c
|