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


On 27 June 2014 00:58, Adam Bark <[email protected]> wrote:

>  On 26/06/14 15:43, Jose Luis Da wrote:
>
> Hi Juan, thank you for your response.
>
>  The attached code from the thread you linked give me the same output
>  ('OpenGL version:', '2.1 NVIDIA-1.6.24')
> ('OpenGL 3.2 support:', False)
>
>  However, I do not have a lot of experience in pyglet, thus I do not know
> how to use the patch to solve this problem.
>
>  If I include the line *pyglet.options['shadow_window'] == False* I still
> get a blank screen.
>
>  I am using OSX 10.6, but I need the code to run on the recent OSX
> platforms too.
>
>   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?
>
>
>  El dijous 26 de juny de 2014 16:17:33 UTC+2, Juan J. Martínez va
> escriure:
>>
>> On 26/06/14 15:15, Jose Luis Da wrote:
>> > Hi all,
>> >
>> > I am having problems with a pyglet script which works as expected in
>> > Windows, but it only displays a blank image in OSX. I have found that
>> > the reason of this blank screen is the config context option, which I
>> > use to activate the stencil as:
>> >
>>
>> This rings a bell, could be this issue?
>>
>> https://code.google.com/p/pyglet/issues/detail?id=532
>>
>> Regards,
>>
>> Juan
>>
>   Good idea Juan but Jose is using all legacy drawing calls by the looks
> of it so a core profile would not work.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "pyglet-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/pyglet-users/Ml6B0yPKHkQ/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

-- 
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.

Reply via email to