Displaying a png frame sequence.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
neil_123
Posts: 67
Joined: Wed Apr 07, 2010 8:50 pm

Post by neil_123 »

So slavik262,

In order to create IImage * from a png or bmp file, I will have to use FreeImage library. Is that right way to go?

Best regards.
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

No... this is Irrlicht code. Just use IVideoDriver::createImage. Be sure to drop the image when you're done with it since the function name starts with "create..."
neil_123
Posts: 67
Joined: Wed Apr 07, 2010 8:50 pm

Post by neil_123 »

Thanks everybody,

For your kind help. I used slavik262's code almost verbatim, and it worked like
a charm.

Best regards
Post Reply