ITexture scaling
Posted: Wed Jan 04, 2012 3:05 am
I've been looking through the Irrlicht documentation but maybe I'm not looking in the right place so I figured I ask here.
Is there a simple way to scale an ITexture image the same way that an IGUIImage does. I thought that initializing an ITexture* and using the draw2DImage method would deal with everything but because the texture and the window size differ the texture ends up being tiled. The funny thing is I know I can just use an IGUIImage and not bother with routing through the documentation but it just irks me using an IGUIImage when the image would just be an un-interactive texture. I know it's silly but please enlighten me if you can. Thanks
Is there a simple way to scale an ITexture image the same way that an IGUIImage does. I thought that initializing an ITexture* and using the draw2DImage method would deal with everything but because the texture and the window size differ the texture ends up being tiled. The funny thing is I know I can just use an IGUIImage and not bother with routing through the documentation but it just irks me using an IGUIImage when the image would just be an un-interactive texture. I know it's silly but please enlighten me if you can. Thanks