scale 2 d image

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.
Post Reply
juliusctw
Posts: 392
Joined: Fri Apr 21, 2006 6:56 am
Contact:

scale 2 d image

Post by juliusctw »

Hello

I need to scale a 2 D image, is it do-able in irrlicht, are there any efforts in doing that?
darC
Posts: 6
Joined: Tue Aug 30, 2005 6:58 am
Location: bangalore
Contact:

try using a billboard

Post by darC »

check this link on scaling a texture
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=11295

u can use IBillboardSceneNode and use setScale() and setSize() and achieve what u want.

u can also use IGUIImage with the size u want and Texture as ur image.
there are 10 kinds of people in this world,
one who can read binary and one who cant.
juliusctw
Posts: 392
Joined: Fri Apr 21, 2006 6:56 am
Contact:

thank you very much

Post by juliusctw »

i'll give it a try
Post Reply