Okay, I can load a texture etc. in irrlicht, but when I try to load the image it always seems to come out wierd.
Say the irr::core::rect<s32> nBox = (0,0,7,7), and the image is an 8*8 image, the image displayed would have parts 'cut-off'. So, I thought "Okay, I'll try this!": irr::core::rect<s32> nBox = (1,1,8,8)
Same result. Okay, WTF? I try some other stuff, and eventually pull out my hair, punch the wall, and come here for help. So, anyone know what co-ordinates I would have to enter to load a part of an image.
E.G I have an image represented by these numbers
0 0 0 0 0 0 0 0 0 0
0 0 1 1 1 1 0 0 0 0
0 0 1 1 1 1 0 0 0 0
0 0 1 1 1 1 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
And I want to load only the Box made from 1's from the image. What would I have to set the rect<s32> to, in order to do this?
Sorry if this doesn't make sense, I'm not quite sure how to explain it.