adamlwgriffiths / omgl Goto Github PK
View Code? Open in Web Editor NEWPythonic OpenGL Bindings
License: Other
Pythonic OpenGL Bindings
License: Other
Slightly weird error when I try mesh.py - other examples seem similar:
$ python mesh.py
Traceback (most recent call last):
File "mesh.py", line 32, in <module>
from OpenGL import GL
File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/OpenGL/GL/__init__.py", line 3, in <module>
from OpenGL.GL.VERSION.GL_1_1 import *
File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/OpenGL/GL/VERSION/GL_1_1.py", line 10, in <module>
from OpenGL import platform, constants, constant, arrays
File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/OpenGL/arrays/__init__.py", line 19, in <module>
from OpenGL.arrays.arraydatatype import *
File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/OpenGL/arrays/arraydatatype.py", line 14, in <module>
from OpenGL_accelerate.arraydatatype import ArrayDatatype as ADT
File "arraydatatype.pyx", line 1, in init OpenGL_accelerate.arraydatatype (src/arraydatatype.c:10964)
File "wrapper.pyx", line 3, in init OpenGL_accelerate.wrapper (src/wrapper.c:11183)
File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/OpenGL/error.py", line 224, in <module>
ErrorChecker = _ErrorChecker( platform )
File "errorchecker.pyx", line 17, in OpenGL_accelerate.errorchecker._ErrorChecker.__init__ (src/errorchecker.c:818)
TypeError: __init__() takes at least 2 positional arguments (1 given)
examples provide code, but no output for the print statements.
Provide this.
Hi.
Is OMGL currently usable?
How about creating setup.py file so that the library can be installed from git by pip?
Unfortunately, I have no experience at all with writing setup.py files, so I'm not sure if I can help with that.
And if it's realease-quality, how about submitting it to PyPI?
Shader program should be easily changable, its half the point of the pipeline.
ATM there is not method to change the shader, we need a setter for program.
Should program also be optional in the constructor?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.