Re: [gtkmm] Raw Image Output



Dirk Hörner schrieb:

Hello readers,

I have raw data (r,g,b(,a)) from a raytracer and want to display it (if
possible live (as data comes in)) with the help of gtkmm.

What method do you recommend? What classes/functions?

I browsed through all the demos but haven't found any hints.

Thanks for your time,
Hello * :-)

I'm a newbie to gtkmm - so my tip couldn't be what you want.

I use Gdk::Pixbuf (http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGdk_1_1Pixbuf.html) for my raw data. With Gtk::Image (http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Image.html) I display the image.

There are some classes for animation, but I tried it not yet. See
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classes.html
for an overview.

greetings
tom



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