Hi Filip!
The pyglet gl bindings should wrap everything in your underlying gl
libraries so just see if pyglet.gl.glFrontFace(pyglet.gl.GL_CCW) etc.
work. As an example, I have glFrontFace, but pyglet.gl.nonsense doesn't
exist.
>>> import pyglet
>>> pyglet.gl.glFrontFace
<_FuncPtr object at 0x7ffb2dcd2cc8>
>>> pyglet.gl.nonsense
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'pyglet.gl' has no attribute 'nonsense'
You can find all of the functions by running dir(pyglet.gl) and the
documentation is essentially the upstream opengl documentation.
On 16/05/18 13:08, Filip wrote:
Hello!
I wonder how to remove background polygons with pyglet and if that is
possilbe.
OpenGL supports this operation in standard, and it is needed to do
this lines to make this happen:
glFrontFace (GL_CCW) ; // GL_CW
glEnable (GL_CULL_FACE) ; // glDisable (GL_CULL_FACE) ;
glCul lFace (GL_BACK) ; // or GL_FRONT or GL_FRONT_AND_BACK
I tried to find this functions in documentation, but nothing.
Can anyone help me?
Many tnx!
--
You received this message because you are subscribed to the Google
Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.