[Bf-committers] SDL2-based GUI toolkit for Blender (just a suggestion)

Arnaud Loonstra arnaud at sphaero.org
Sun Dec 1 12:36:08 CET 2013


On 12/01/2013 10:12 AM, Felipe Ferreira da Silva wrote:
[snip]
> I'm using SDL2 for inputs and drawing. The widgets are drawn using the
> SDL_Texture, and I will put support to OpenGL widgets (just converting the
> SDL_Texture of an widget to a OpenGL rendering and then back to
> SDL_Texture). I'm not even using the hardware accelerated option of SDL2,
> and the drawing is surprisingly fast.

Have you considered using the Ghost library of Blender? I think that's 
the lib Blender uses to draw everything. It's somewhat similar to GLUT I 
think and it's possible to use it as standalone lib. From there on you 
could mimic what Blender does?

Arnaud.
-- 
w: http://www.sphaero.org
t: http://twitter.com/sphaero
g: http://github.com/sphaero
i: freenode: sphaero_z25


More information about the Bf-committers mailing list