gl.glGenTextures(tempi, textures, 0);
temp=new String[tempi];
for(int i=0;i<tempi;i++)
temp[i]=obj.mtex.getValueNo(i);
for(int i=0;i<tempi;i++){
openedFile of;
//if(mpqLoader==null) continue;
//if(!(mpqLoader instanceof PluginRequest)) continue;
PluginRequest mpql = (PluginRequest)mpqLoader;
of = mpql.requestRessource(temp[i]);
texture[i] = TextureReader.readTexture((blp) of.obj);