Hi all! I’m having a problem with the textureloader where it can’t find my texture.
I do something like:
texname = "tex.jpg";
tl.registerPath( "../medias/textures/" );
app.setTexture(
m_textLoader.loadTexture( texture ,
"RGB" ,
mipmap ,
Texture.BASE_LEVEL ,
Texture.BASE_LEVEL_LINEAR ,
Texture.WRAP
)
);
it says that It couldn’t find tex.jpg
I tried putting it in the says directory (of the .class) nothing.
I work with package, so the structure looks like
org/myname/project/prog
org/myname/project/medias
I thought that it begans to look at the root of the package, but no chance
I’m using netbeans IDE 3.5.1 with java 1.5
thanks alot

