Re: 3D hunman model in GTK+3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013-08-28 16:18, oucmsc@xxxxxxxxx wrote:
> I'm just on the road of GTK+;and is thinking  about drawing  a 3D human
> bone modle in my software on Linux.
> after reading some material,  seemly  GTK+ don't support openGL .
> 
> could you recomend  a graphic toolkit or graphic library that support 3D
> feature.
> 
> I love GTK+ more than Qt,and C than C++;
> 
> thanks ,sincely;

You can manually setup GTK widgets so that you can draw to them with
OpenGL. You'll have to do it for each windowing system you want to
support (X11/GLX, Win32, Mac OS, etc), but it's not really that hard.

I wrote some example code on how to do this a while back [1] along with
a somewhat more portable file that will do most of the work for you [2].

[1] http://pileus.org/git/?p=grits;a=blob;f=examples/gl/gl.c
[2] http://pileus.org/git/?p=grits;a=blob;f=src/gtkgl.c

Attachment: signature.asc
Description: Digital signature

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux