Path and everything is fine. With EDT_SOFTWARE the texture is displayed correctly. With EDT_OPENGL everything is white.
I thought it may be opengl, but then I tried the Movement example with OpenGL and the cube and the sphere have textures. Everything seems to work there.
I compared how they create the device etc. in the example, but found no difference.
Don't know what to try else.
I can not use DirectX because I'm on a linux machine.
are you sure that also nsquare texture is supported? some computers supports only
pow2xpow2
and not
pow2Axpow2B
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
does irrlicht examples compile and run corretly using OpenGL?
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
yeah irrlicht examples compile and run correctly with opengl...
the point with multithreading sounds interesting...i have the irrlicht engine running in an own posix thread. (the rendering loop with beginSecen etc.)...
I'm loading and setting the material and textures from a different thread while engine is already in rendering loop. the threads are protected by pthread_mutex_lock and unlock...
I think that it is the problem as I was doing almost the same, tough without mutexes, I used python in my app, python was running in other thread and it had exposed loading functions, so when I was loading from python it went white, I fixed it by running it in the same thread.
You must have everything which does OpenGL calls inside the very same thread. From device creation until releasing it at the end. You can spawn any thread from there, which does not do any graphics related stuff. No problem with that. But putting gl codes into different threads is not possible (besides some complex stuff such a s multiple contexts, or opengl 4, which might allow such things)