Open GoogleCodeExporter opened 9 years ago
Added property on figure: enableUserInteraction. When set to False the taking
of screenshots is disabled, which improves performance.
See revision ff586759f97f
Original comment by almar.klein@gmail.com
on 16 Aug 2012 at 11:05
Original comment by almar.klein@gmail.com
on 16 Aug 2012 at 2:39
For screenshots, you might want to render to a framebuffer object and then save
it. Have a look at glumpy code:
http://code.google.com/p/glumpy/source/browse/glumpy/figure.py#271
Original comment by Nicolas.Rougier@gmail.com
on 17 Aug 2012 at 9:00
Thanks! That would be a great approach. We wanted to use FBO's for rendering
anyway, so this would fit in nicely.
Why is this approach faster than glReadPixels?
Original comment by almar.klein@gmail.com
on 17 Aug 2012 at 9:51
I'm note quite sure why it is slower but it might be a problem of
IO/synchronization between CPU/GPU from what I've found.
Original comment by Nicolas.Rougier@gmail.com
on 17 Aug 2012 at 10:53
Original issue reported on code.google.com by
almar.klein@gmail.com
on 15 Aug 2012 at 2:08