Hi,

I am using pyglet.gl.Config() for enabling anti-aliasing for circles and 
arcs:

config = pyglet.gl.Config()
config.sample_buffers = 1
config.samples = 4 

And this introduces flicker even when the frame rate is experimentally set 
to way smaller (10 Hz) than the time spent in any on_draw event (which is 
less than 0.002 secs). I have found that adding the following setting to 
the config, resolves the flickering which these multi-sampling config 
values from above seem to introduce in my case:

nui_pyglet_window_config.double_buffer = True

― which I had thought is part of the default config anyway 
<https://pyglet.readthedocs.io/en/latest/programming_guide/windowing.html#double-buffering>
 
(Config is a CocoaConfig as I'm running on linux).

does any of this make sense?

The hardware I am using is Intel UHD Graphics 630.

Thanks in case you have any special related insights.

Regards,
Matan










-- 
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 pyglet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyglet-users/d1341214-7b74-4e87-be4c-e0d2fd033923n%40googlegroups.com.

Reply via email to