Search found 3 matches

by FliesLikeABrick
Sun Jun 10, 2012 4:10 pm
Forum: Everything 2d/3d Graphics
Topic: Loading texture from memory-backed IReadFile
Replies: 4
Views: 2408

Re: Loading texture from memory-backed IReadFile

Thanks for the sanity check! There was a typo in the thread function which was setting the len for the png, total derp on my part. This turned out to be a silly issue, sorry for wasting your guys' time! It appears that this whole thing was because I took the error message to mean it was trying to ac...
by FliesLikeABrick
Sun Jun 10, 2012 12:51 pm
Forum: Everything 2d/3d Graphics
Topic: Loading texture from memory-backed IReadFile
Replies: 4
Views: 2408

Re: Loading texture from memory-backed IReadFile

Can you post your helper function? It turns out I was very wrong in my original post, it was actually my createImageFromFile() call which was generating the error, not the addTexture() call. Here is what I am doing now, similar to what you just mentioned: IReadFile *file = IRR.device->getFileSystem(...
by FliesLikeABrick
Sun Jun 10, 2012 11:56 am
Forum: Everything 2d/3d Graphics
Topic: Loading texture from memory-backed IReadFile
Replies: 4
Views: 2408

Loading texture from memory-backed IReadFile

Hello all, In concept, I am trying to solve an issue very similar to the one in this thread: http://irrlicht.sourceforge.net/forum/viewtopic.php?p=214692 The solution proposed by vitek in this post is simple and certainly appears that it should work, however it does not. http://irrlicht.sourceforge....