Discussion:
[Bf-python] BGL
Khalifa Lame
2014-10-07 09:42:11 UTC
Permalink
I'm trying to make a an renderer based on opengl that makes use of
blender's bgl module.

I've read the API documentation, and although the examples have been
helpful up to this point, they don't help much when it comes to using bgl.

If someone could provide such an example, where bgl is used for rendering
or updating the preview and viewport, that'd be greatly appreciated.
--
khalibloo?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-python/attachments/20141007/04e2e7e2/attachment.htm
Daniel Monteiro Basso
2014-10-07 09:53:20 UTC
Permalink
Post by Khalifa Lame
If someone could provide such an example, where bgl is used for rendering
or updating the preview and viewport, that'd be greatly appreciated.
Here, take a look at how this "progress pie"
<Loading Image...> is drawn:
https://github.com/sambler/myblendercontrib/blob/master/cmu_mocap_browser/download.py

Cheers,

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-python/attachments/20141007/bea0d5c5/attachment.htm
Khalifa Lame
2014-10-07 12:00:17 UTC
Permalink
thanks! that helps a lot.

On Tue, Oct 7, 2014 at 10:53 AM, Daniel Monteiro Basso <
Post by Daniel Monteiro Basso
Post by Khalifa Lame
If someone could provide such an example, where bgl is used for rendering
or updating the preview and viewport, that'd be greatly appreciated.
Here, take a look at how this "progress pie"
https://github.com/sambler/myblendercontrib/blob/master/cmu_mocap_browser/download.py
Cheers,
Daniel
_______________________________________________
Bf-python mailing list
Bf-python at blender.org
http://lists.blender.org/mailman/listinfo/bf-python
--
khalibloo?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-python/attachments/20141007/d555d5bc/attachment.htm
Loading...