Contraz / demosys-py

A light high performance modern OpenGL 3.3+ Python Framework https://demosys-py.readthedocs.io/
ISC License
64 stars 5 forks source link

demosys-py should also be used as a utility library #65

Closed einarf closed 4 years ago

einarf commented 6 years ago

Users should not be forced into using the standard draw loop and actually use the package to help loading resources and opening a context using a simple script.

Example:

from demosys import setup
setup( .. parameters .. )

# Create window and register ctx
# Load resources
# Make draw loop

I would assume this is the use case for most people. Making some application object defining an event loop might be needed. This questions the requirements of having a settings module.

einarf commented 4 years ago

We have moderngl-window for this now. Not a worry any more