2d graphics - can they be scaled ?
Posted: Sat Oct 29, 2005 9:03 am
ITexture* texture = driver->getTexture("../../media/irrlichtlogoalpha.tga");
env->addImage(texture,core::position2d<s32>(10,10));
Is it possible to change the size of an image using Irrlicht. That is, instead of just displaying the loaded image, you can actually stretch the image so its larger.
I noticed you could lock the texture, and get the pixels...what sort of structure would i use to get the data so i could modify it ?
env->addImage(texture,core::position2d<s32>(10,10));
Is it possible to change the size of an image using Irrlicht. That is, instead of just displaying the loaded image, you can actually stretch the image so its larger.
I noticed you could lock the texture, and get the pixels...what sort of structure would i use to get the data so i could modify it ?