Skip to main content

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|                   |            |
|     etc|--repaint--------->| Draw       |
+--------+                   +------------+

Requirements

  • Python 3.10

Site

TODO

  • scene: node transform
  • pyside6: logger
  • pyside6: loop framerate

History

  • 20211121 1.5.0 scene and renderer. planar and interleaved VBO.
  • 20211117 1.4.0 update VBO, IBO. add VAO.
  • 20211115 1.3.2 add ImGuiController
  • 20211115 1.3.0 Update BaseController. Returns whether redraw is required.
  • 20211115 1.2.0 remove PySide2 and add PySide6. fix wgl.
  • 20190824 1.1.0 add PySide2
  • 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

$ py -m venv .venv
$ .venv/Scripts/Activate.ps1
(.venv)$ pip install -e .

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.8.1.tar.gz (75.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glglue-1.8.1-py3-none-any.whl (79.1 kB view details)

Uploaded Python 3

File details

Details for the file glglue-1.8.1.tar.gz.

File metadata

  • Download URL: glglue-1.8.1.tar.gz
  • Upload date:
  • Size: 75.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for glglue-1.8.1.tar.gz
Algorithm Hash digest
SHA256 d8590a140b109f145002eff27b4699866c9d22683b2cef92bc37ccde0a7f9e29
MD5 049f169800f2141ea46b368207aa1a08
BLAKE2b-256 95d64c8f50de9d84cfd2f4ac5d800bbc457981c629f1a34d74224a21e433e890

See more details on using hashes here.

File details

Details for the file glglue-1.8.1-py3-none-any.whl.

File metadata

  • Download URL: glglue-1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 79.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for glglue-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 105baaffaab6084dd7f4ef8fd78560751a9f6fc55135f974f204d7b5639f9b97
MD5 12e30403a73644d7671e2f4b975fe7b0
BLAKE2b-256 1521a2e9313fccc1475884e758795b1692250be74010e243a70b48a569b744a1

See more details on using hashes here.

Release history Release notifications | RSS feed

2.5.0

1 file

2.4.0

1 file

2.3.0

1 file

2.1.0

1 file

2.0.0

2 files

1.13.0

2 files

1.12.1

2 files

1.12.0

2 files

1.11.0

2 files

1.10.0

2 files

1.9.0

2 files

1.8.5

2 files

1.8.4

2 files

1.8.3

2 files

1.8.2

2 files

This release

1.8.1 This release

2 files

1.8.0

2 files

1.7.0

2 files

1.6.0

2 files

1.5.5

2 files

1.5.4

2 files

1.5.3

2 files

1.5.2

2 files

1.5.1

2 files

1.5.0

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.1

2 files

1.3.0

2 files

1.2.1

2 files

1.1.0

1 file

1.0.0

1 file

0.3.1

1 file

0.3.0

1 file

0.2.6

1 file

0.2.5

1 file

0.2.4

1 file

0.2.1

1 file

0.2.0

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page