On 08/07/14 14:40, Da, Jose Luis wrote:
Sorry to bother you again. Did I explain myself well? Just a reply,
even if it was "I have no idea" would be fantastic!
On 27 June 2014 09:45, Da, Jose Luis <[email protected]
<mailto:[email protected]>> wrote:
Juan: I do not think that the shadow window is the problem I have
and I load all my resources after I initialize the context.
Anyway, thank you for your response.
Adam:
*So it isn't specifically the stencil buffer that is broken? Do
you have the latest driver for your GPU? Do the pyglet examples
display correctly?*
I do not think that the stencil buffer is broken. I think it is
the openGL Config (pyglet.gl.Config) what does not work. I have
tried other examples and old codes that work correctly when the
openGL Config is not enabled. However, when I initialize the
window in the following way, the pyglet window is completely blank:
allowstencil = pyglet.gl.Config()
window = pyglet.window.Window(config = allowstencil)
Note that the pyglet.gl.Config() call is empty, but if I add the
stencil option (below), the pyglet window is still blank.
allowstencil = pyglet.gl.Config(stencil_size=8)
window = pyglet.window.Window(config = allowstencil)
And yes, I have the latest driver for my GPU.
Thank you for your answers!
jl
Can you check this bit of the docs
http://pyglet.org/doc-current/api/pyglet/pyglet.window.html#specifying-the-opengl-context-properties
and see if the configuration is supported.
--
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 http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.