Jpeg Issues with Devil? Maybe?

Started by Matthew Jones, September 05, 2005, 23:23:09

Previous topic - Next topic

Matthew Jones

WE have an issue loading JPG's with devil

We were using an AWT loader for our JPG's textures on our models . We recently switched to DEVIL so we could start loading TGA's in addition to the JPG's.
Everything works real good except all the surfaces of our models with JPG's have the texture mapping inverted. We haven't made changes in our models format so we suspect that we are missing somthing in the loading of our JPG's. Or maybe theres a bug or somthing. Not Sure.

Has Anybody else had a problem? Got Fix or solution maybe?

FOr the interum were just going to flip the uv coordinates on objects that use jpg's and that might be what we have to do I just thought I'd see.

I'll be happy to post my loading code if anybody thinks a problem might be in there.

Thanks in advance :?
Matthew Jones

Matzon

one usually have to flip the image, because of the whole opengl coordinate origin issue, however it sounds a bit odd that the TGA textures are fine, but the JPG ones are wrong.

Matthew Jones

We do, do some flipping in the model format to make everything work but not usually V part or UV. Then like I said just JPEGs.

Matt