/pyglui

cython powered OpenGL gui that works with glfw

Primary LanguagePythonMIT LicenseMIT

pyglui

Cython powered OpenGL gui.

  • Similar to AntTweakBar but truly python compatible. No need for ctyped variables.

  • Uses render-to-texture for ulta low cpu use when static.

  • Designed to be used with glfw but should run with other window managers as well.

  • Uses pyfontstash for rendering text.

  • Uses cygl to access GL functions (which in turn uses GLEW)

Install

  • install glew (instructions can be found here)
cd ~/
git clone http://github.com/pupil-labs/pyglui --recursive
cd pyglui
sudo python setup.py install

(for Windows Microsoft Visual Studio 2008 is required)

Demo

  • pip install psutil (psutil is used in the demo to show cpu load)
  • cd /example
  • python example.py

Update

Since we use submodules please do get and install updates:

git pull --recurse-submodules
git submodule update --recursive
python setup.py install

Demo screenshot as of 2014-12-05