On Fri, 16 Jul 2004 08:10:14 -0500, Dirk Reiners <[EMAIL PROTECTED]> wrote:
Hi Pascal, On Thu, 2004-07-15 at 16:33, pascal sproedt wrote:Hello list, I face some problems with using SimpleTexturedMaterial. I can't manage to load the texture: WARNING: could not read blue003.jpg WARNING: TextureChunk::initialize: can't mimmap non-2D textures that are not 2^x!!! WARNING: TextureChunk::initialize: can't scale non-2D textures that are not 2^x!!! Actually, it's done in the same way like in any tutorial. I can't see the difference...The most common reasons are 1) the image format hasn't been compiled into the library (but that would give another warning), or 2) the file isn't there. Try to set OSG_LOG_LEVEL to debug and redirect the output to a file. In that file look for "Check ", this is the PathHandler trying to find your file. This happens most often on Windows using VS, because it runs the programs in the Debug directory, not in the source directory. Hope it helps Dirk
Thanks a lot, Dirk, in fact it works when the textures are accessible within 'Debug'. So VS tricked me again... Yes, it helped :] Pascal ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
