Too slow 2D

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.
Sir_Hans
Posts: 143
Joined: Sun Dec 06, 2009 2:23 pm
Location: Germany

Post by Sir_Hans »

GRAVITY
Posts: 13
Joined: Thu Feb 25, 2010 6:58 pm

Post by GRAVITY »

thanks a lot ...

but =) ... how about real time scalling? =)
Ubuntu 9.10 + Codeblocks 8.02 + irrlicht 1.7.1
GRAVITY
Posts: 13
Joined: Thu Feb 25, 2010 6:58 pm

Post by GRAVITY »

Help pls )
Ubuntu 9.10 + Codeblocks 8.02 + irrlicht 1.7.1
Sir_Hans
Posts: 143
Joined: Sun Dec 06, 2009 2:23 pm
Location: Germany

Post by Sir_Hans »

What do you mean by real time scaling?
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

http://www.irrlicht3d.org/wiki/index.ph ... ingAnImage

^ When you call IGUIEnvironment::AddImage, give it the rectangle of the size you want the image drawn, then just call IGUIImage::setImage(tex), where tex is the texture of the image you want to draw, and
IGUIImage::setScaleImage(true).
Post Reply