Search found 123 matches

by Cloudef
Wed Dec 03, 2008 9:45 pm
Forum: Beginners Help
Topic: Non Power of Two texture work around?
Replies: 15
Views: 1857

Sure I load it normally using: Player[id]->state[state].body[parti].s[state2].i = Driver->getTexture(str2.c_str()); and draw using: void drawPlayer(int id) { int state=Player[id]->State; int state2=Player[id]->State2; int i; dimension2d<s32> imgSize; for(i=0;i < 3;i++) { if(Player[id]->state[state]....
by Cloudef
Wed Dec 03, 2008 9:33 pm
Forum: Beginners Help
Topic: Non Power of Two texture work around?
Replies: 15
Views: 1857

The thing is, that i moved from another engine and i have lot of images that are not power of two. Also i don't want to re-size the image only the canvas. If there is tool that can handle multiple image canvas then i could re-size them.
by Cloudef
Wed Dec 03, 2008 9:05 pm
Forum: Beginners Help
Topic: Non Power of Two texture work around?
Replies: 15
Views: 1857

Non Power of Two texture work around?

Hi, I'm new to irrlicht and I'm doing 2d game. Ive got so far all basic loading and stuff working, but i hate that I'm not apple to load non power of two textures and 90% of my media is non power of 2. I tough if there would be some workarounds? Lets say like re-size image canvas on fly or combine t...