glglue provide boilerplate codes that glue OpenGL with some GUI. it is handling mouse event, keyboard event, window resize event and draw event.
Requirements
Python 2.7
Features
glut window
tkinter’s togl widget
pyQt4’s qgl widget
wxPython’s GLCanvas widget
Usage
glut
#!/usr/bin/python
# coding: utf8
import glglue.sample
import glglue.glut
if __name__=="__main__":
controller=glglue.sample.SampleController()
glglue.glut.mainloop(controller)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glglue-0.0.1.tar.gz
(4.6 kB
view details)
File details
Details for the file glglue-0.0.1.tar.gz.
File metadata
- Download URL: glglue-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
814e77431cb1ee42188aaa3258f84effe987dbd7b234e68ec4c300fbecb1a7b6
|
|
| MD5 |
da2f9f78ca1471f45c2da2c7526f51ba
|
|
| BLAKE2b-256 |
e33a8365ee99f8ae28c7128ef02b54bef14c30afad5783379ed63481068bf3c2
|