Problems With Textures in Irrlicht 1.3

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Gladius_Coldhead
Posts: 56
Joined: Thu Oct 12, 2006 5:15 am

Problems With Textures in Irrlicht 1.3

Post by Gladius_Coldhead »

Hi. =[

When i try to use irr 1.3 with opengl, i cant see the textures @_@

This happen with irr 1.2 too.
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

try to disable lighting for your scenenode and the textures should be shown.
Or do you get a message that the texture could not be loaded ?
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
Gladius_Coldhead
Posts: 56
Joined: Thu Oct 12, 2006 5:15 am

Post by Gladius_Coldhead »

Aye, the engine load the textures, but OGL dont display =[

by the way....I can see the textures with Burning Video.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Please post the complete console output.
Gladius_Coldhead
Posts: 56
Joined: Thu Oct 12, 2006 5:15 am

Post by Gladius_Coldhead »

"
....
OpenGL driver version is 1.2 or better.
Loaded mesh: ../../media/room.3ds
Loaded texture: ../../media/wall.jpg
Loaded texture: ../../media/stones.jpg
Loaded texture: ../../media/water.jpg
Loaded texture: ../../media/particlewhite.bmp
Loaded texture: ../../media/fire.bmp
Loaded texture: ../../media/axe.jpg
Loaded texture: ../../media/dwarf.jpg
Could not open file of texture: ../../media/dwarf2.jpg
Could not open file of texture: dwarf2.jpg
Loaded mesh: ../../media/dwarf.x
"

OBs: i can see textures with D3D too @_@ , but not with opengl
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Why did you omit the driver versions etc? That's important stuff.
Gladius_Coldhead
Posts: 56
Joined: Thu Oct 12, 2006 5:15 am

Post by Gladius_Coldhead »

ok. this gonna hurt....

Irrlicht Engine version 1.3
Microsoft Windows 98 SE
Using renderer: OpenGL 1.2
KM400/KN400/MMX/K3D: S3 Graphics
OpenGL driver version is 1.2 or better.
Loaded texture: ../../media/irrlichtlogo2.png
Loaded mesh: ../../media/room.3ds
Loaded texture: ../../media/rockwall.bmp
Loaded texture: ../../media/rockwall_height.bmp
Loaded texture: ../../media/earth.bmp
Loaded mesh: ../../media/earth.x
Loaded texture: ../../media/earthbump.bmp
Loaded texture: ../../media/particlered.bmp
Loaded texture: ../../media/particlewhite.bmp
Loaded texture: ../../media/fireball.bmp



@________@
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Do you use one of the standard examples, or did you change some code? Do you use provided binaries or do you compile on your own? Which compilers do you use (for the latter case)? What happens with other examples?
Gladius_Coldhead
Posts: 56
Joined: Thu Oct 12, 2006 5:15 am

Post by Gladius_Coldhead »

I try use all exemples and recompile them, i try with my own codes too.I try recompile the version from website and from SVN(latest revision)...but...don't opengl dont work @_@

DX works perfectly, but opengl dont display textures.
Phant0m51
Posts: 106
Joined: Mon Jan 15, 2007 6:07 am

Post by Phant0m51 »

You're using a pretty old video card there, but if it's working in D3D I don't know why it wouldn't work in OGL.
Gladius_Coldhead
Posts: 56
Joined: Thu Oct 12, 2006 5:15 am

Post by Gladius_Coldhead »

Yes, very strange @_@

Burning's Video and D3D8 works perfectly.
Robert Y.
Posts: 212
Joined: Sun Jan 28, 2007 11:23 pm

Post by Robert Y. »

I bet it is the same thing that I'm experiencing. I thought it was caused by OpenGL 1.1, but apparently in OpenGL 1.2 it can occur too (?).
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=20184
On my older cards with basic windows drivers all textures are replaced by a white colour, so all textured models are white and draw2dimage also gives white rectangles instead of the texture images. This doesn't occur in Irrlicht 1.0, but was introduced since version 1.1.

Screenshot of the problem:
http://www.fileden.com/public.php?actio ... _id=736441
Last edited by Robert Y. on Mon Apr 09, 2007 6:48 am, edited 1 time in total.
Gladius_Coldhead
Posts: 56
Joined: Thu Oct 12, 2006 5:15 am

Post by Gladius_Coldhead »

Ya, maybe is this my problem....this wappen with Irrlicht 1.2 too.

Well, how fix it?
Robert Y.
Posts: 212
Joined: Sun Jan 28, 2007 11:23 pm

Post by Robert Y. »

Well, how fix it?
Am curious about that too. As you seem to have this with OpenGL 1.2 it seems it isn't caused by the OpenGL 1.1 <-> 1.2 differences, so it probably has to do with OpenGL extensions. Could you please run Ozone3d caps viewer (http://www.ozone3d.net/gpu_caps_viewer/) and click the Full Report button and post the results? This may help the developers to pinpoint the problem.

See also this thread:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=20184
Gladius_Coldhead
Posts: 56
Joined: Thu Oct 12, 2006 5:15 am

Post by Gladius_Coldhead »

any idea?
Post Reply