[Bf-committers] Images in Panels..

Dima Glibitsky dima.glib at gmail.com
Fri Jul 27 06:32:56 CEST 2012


> you can use bgl to load your own textures on top of quads drawn by bgl. So yes its possible, but not simple, but also not difficult. Also you will also have to handle scrolling, since the bgl draw is separate from Blender main GUI , so that means a serious amount of code. But if you don't mind the extra works it won't be very hard. Bgl also will give some cooler tricks than Blender GUI because bgl is basically opengl 1.1 wrapper, so that gives some extra power to the coder.

dimitris chloupis, is there any example of such a system? As far as I
know, Blender's python API gives no information about panel's
scrolling and layout, so even with bgl the addon-developer simply
doesn't know *where* to draw the quads.


More information about the Bf-committers mailing list