Texture not applied to mesh

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Texture not applied to mesh

runiter
I have a 3D house with a set of textures and they all used to work. But now I noticed that one particular texture (the wall texture) does not get applied to the wall geometry, leaving wall with default white color. All the other texture are applied properly as they should. This problem only happens in Mac OS X. In Windows all textures including the wall textures are applied as they should.

Debugging shows that Ardor3D and JOGL locate the wall.jpg texture file without any problem. Where can I go from here in debugging this problem?
Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D
Reply | Threaded
Open this post in threaded view
|

Re: Texture not applied to mesh

gouessej
Administrator
Why do you focus on the OS? Maybe the texture is too big, rectangular or its size isn't a power of two. Maybe a particular colour type is not supported in one case. This is probably an OpenGL problem rather than something about the OS.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Texture not applied to mesh

runiter
yes it was texture size problem. In the past I'd get an error when the size wasn't power of two but this time there was no error. Just a white texture to replace.
anyways I fixed. thank you.
Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D
Reply | Threaded
Open this post in threaded view
|

Re: Texture not applied to mesh

gouessej
Administrator
Maybe your driver claims to support non power of two textures whereas it doesn't.
Julien Gouesse | Personal blog | Website