All textures are blank

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.
Post Reply
MolokoTheMole
Posts: 109
Joined: Tue Jan 09, 2007 1:18 pm

All textures are blank

Post by MolokoTheMole »

I ran into this problem on another machine (works fine on many others). It seems that no textures and fonts are loaded and the game looks like this:

Image

What could be the problem?
Its OpenGL, Irrlicht 1.5
Crimson Glory full Irrlicht game source code!
What I Do - my blog & dev log
Currently developing Link-Dead
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Show the console output, probably textures not found.
MolokoTheMole
Posts: 109
Joined: Tue Jan 09, 2007 1:18 pm

Post by MolokoTheMole »

No its not that simple:). All texture files are loaded. Its the same setup as on another machine.
Crimson Glory full Irrlicht game source code!
What I Do - my blog & dev log
Currently developing Link-Dead
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Old drivers probably, this happens a lot in OpenGL applications if you have old drivers or not enough video memory, even in commercial games.

If you think it's a bug then provide a very simple test case that demonstrates this issue and how to reproduce it then we can probably get around to fixing it.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

Or No drivers at all!, I had this issue and it turns out the video card driver was not installed so it used the defualt MS one which ran in REF mode(bascially software rendering by the driver).
"Irrlicht is obese"

If you want modern rendering techniques learn how to make them or go to the engine next door =p
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Oh yeah, I've read OpenGL 1.5 in the OP :oops: Maybe it's just that. check the console (again) for the OpenGL version (and maybe post just the whole console text)
Flatlander
Posts: 9
Joined: Sun Feb 25, 2007 7:18 pm
Location: Finland
Contact:

Post by Flatlander »

I have the same problem when using OpenGL device on my laptop (ancient Unichrome videocard, might be part of the problem). There are no visible textures at all and I'm not sure if it is a driver problem since all the other OGL software works fine. I think it still worked with some older Irrlicht releases.

Here's the programs output:

Irrlicht Engine version 1.5.1
Microsoft Windows XP Personal Service Pack 3 (Build 2600)
Using renderer: OpenGL 1.2
VIA/S3G UniChrome Pro IGP/MMX/SSE: S3 Graphics
OpenGL driver version is 1.2 or better.
GLSL not available.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

OpenGL 1.2 often lacks the proper texture formats (BGRA _REV things). Maybe check the supported OpenGL extension with the ozone3d GPUCaps tools. I already have some texture conversion code in the ogl-es branch, just need to clean this up and merge into the other drivers in order to cope with unsupported formats.
MolokoTheMole
Posts: 109
Joined: Tue Jan 09, 2007 1:18 pm

Post by MolokoTheMole »

I switched to Irrlicht 1.5.1 and it fixed the blank texture problem. But still the game is incredibly slow. It might be old drivers, its opengl 1.1 for sure. I'll change them and see what happens.
Crimson Glory full Irrlicht game source code!
What I Do - my blog & dev log
Currently developing Link-Dead
Post Reply