problem switching to Irrlicht 1.4.2
I hate to say this (no, I love it ) but it seems I discovered this already some times ago:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=27790
with my (debuged) version I have no problems loading this map:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=27790
with my (debuged) version I have no problems loading this map:
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 299
- Joined: Mon Nov 27, 2006 6:52 pm
- Location: GERMANY
- Contact:
uhhh, this made me curious, so I did some testings with my patched files...Masterhawk wrote:Neither the compiled svn/trunk nor the files from Acki gave me the expected results.
and something very strange turned out:
if you compile Irrlicht in debug mode then it doesn't work (no textures are loaded) !!!
you'll have to compile the dll in release mode and everything is fine !!!
EDIT: it's even stranger !!!
I tried to track down the exact cause and it's not the DEBUG define, but an optimization flag !!!
in release mode I use "Optimize fully (for speed) [-O3]" !!!
if you disable this optimization flag the textures are not found, only if this flag is enabled it works correctly !!!
maybe it also works with the other speed optimizations (-O, -O1 and -O2) - didn't test them...
EDIT 2: ok, I also tested the other opt. flags and it turned out that the textures are only loaded if -O2 or -O3 is enabled !!!
but it's really over my head why !?!?!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 299
- Joined: Mon Nov 27, 2006 6:52 pm
- Location: GERMANY
- Contact:
While my today's testings I noticed that the result depends on the driver I choose:
svn/trunk [compiled as release]: Multiple texture loadings
The optimization, whether it was -O2 or -O3, had any effect on the result
EDIT:
[Irrlicht 1.4.2 + Acki's files]
In Debug mode there occur very strange results
svn/trunk [compiled as release]: Multiple texture loadings
- [OpenGL] corrupted textures
[SOFTWARE + BURNINGSVIDEO] correct display of the textures
The optimization, whether it was -O2 or -O3, had any effect on the result
EDIT:
[Irrlicht 1.4.2 + Acki's files]
In Debug mode there occur very strange results
yes, that's what I get without -O2 and -O3, too:Masterhawk wrote: [Irrlicht 1.4.2 + Acki's files]
In Debug mode there occur very strange results
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 299
- Joined: Mon Nov 27, 2006 6:52 pm
- Location: GERMANY
- Contact:
yes, everything is fine with all drivers (SW, BV, OGL, DX8 and DX9):Masterhawk wrote:@Acki: Do the textures are also displayed correct when you use OPEN_GL as renderer?
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Looks like corrupted texture problem is caused by mipmaps not being generated correctly on your system, and is completely unrelated to the My3D loading problems. I'm guessing this is due to your graphics drivers saying they can create mipmaps but failing to do so on NPOT textures.
So what's your graphics card, OS and driver version? Is it an Intel mobile driver under Linux?
So what's your graphics card, OS and driver version? Is it an Intel mobile driver under Linux?
-
- Posts: 299
- Joined: Mon Nov 27, 2006 6:52 pm
- Location: GERMANY
- Contact:
-
- Posts: 299
- Joined: Mon Nov 27, 2006 6:52 pm
- Location: GERMANY
- Contact:
@bitplane: thx, i will try that asap
EDIT: Well I have to say...it works! I have no more crippled textures.
But now I have nearly the same problem Acki has. When I run the app from my IDE everything works fine but when I execute it via double-click the textures are gone. The error is nearly the same like on the upper pictures on this page.
EDIT2: Well finally I tested all possible variations.
[1.4.2 + Acki Files] corrupted filenames (no texture loadings) when run outside the IDE
[svn/trunk] multiple loadings of the textures
[svn/branch] everything works fine!!! just tested it with the small example but i guess it will work with my game, too!
EDIT: Well I have to say...it works! I have no more crippled textures.
But now I have nearly the same problem Acki has. When I run the app from my IDE everything works fine but when I execute it via double-click the textures are gone. The error is nearly the same like on the upper pictures on this page.
EDIT2: Well finally I tested all possible variations.
[1.4.2 + Acki Files] corrupted filenames (no texture loadings) when run outside the IDE
[svn/trunk] multiple loadings of the textures
[svn/branch] everything works fine!!! just tested it with the small example but i guess it will work with my game, too!