((ASEModel.ASEMaterialInfo) materials.get(j)).file,
fileURL,
	private void convertToTriMesh() {		for (int i = 0; i < numOfObjects; i++) {			ASEObject object = (ASEObject) objectList.get(i);			Vector2f[] texCoords2 = new Vector2f[object.getVertices().length];			for (int j = 0; j < object.faces.length; j++) {				int index = object.faces[j].vertIndex[0];				texCoords2[index] = new Vector2f();				texCoords2[index] =					object.tempTexVerts[object.faces[j].coordIndex[0]];				index = object.faces[j].vertIndex[1];				texCoords2[index] = new Vector2f();				texCoords2[index] =					object.tempTexVerts[object.faces[j].coordIndex[1]];				index = object.faces[j].vertIndex[2];				texCoords2[index] = new Vector2f();				texCoords2[index] =					object.tempTexVerts[object.faces[j].coordIndex[2]];			}						int[] indices = new int[object.faces.length * 3];			int count = 0;			for (int j = 0; j < object.faces.length; j++) {				indices[count] = object.faces[j].vertIndex[0];				count++;				indices[count] = object.faces[j].vertIndex[1];				count++;				indices[count] = object.faces[j].vertIndex[2];				count++;			}			object.setIndices(indices);			object.updateVertexBuffer();			object.updateNormalBuffer();			object.setTextures(texCoords2);            object.setModelBound(new BoundingSphere());            object.updateModelBound();            this.attachChild(object);		}		for (int j = 0; j < numOfMaterials; j++) {			ASEModel.ASEMaterialInfo mat =				(ASEModel.ASEMaterialInfo) materials.get(j);			if (mat.file.length() > 0) {				MaterialState ms =					DisplaySystem						.getDisplaySystem()						.getRenderer()						.getMaterialState();				ms.setEnabled(true);				ms.setAmbient(					new ColorRGBA(						mat.ambient[0],						mat.ambient[1],						mat.ambient[2],						1));				ms.setDiffuse(					new ColorRGBA(						mat.diffuse[0],						mat.diffuse[1],						mat.diffuse[2],						1));				ms.setSpecular(					new ColorRGBA(						mat.specular[0],						mat.specular[1],						mat.specular[2],						1));				ms.setEmissive(new ColorRGBA(0, 0, 0, 1));				ms.setShininess(mat.shine);				this.setRenderState(ms);			}		}		for (int j = 0; j < numOfMaterials; j++) {			// Check if the current material has a file name			if (((ASEModel.ASEMaterialInfo) materials.get(j)).file.length()				> 0) {				TextureState ts =					DisplaySystem						.getDisplaySystem()						.getRenderer()						.getTextureState();				ts.setEnabled(true);				ts.setTexture(					TextureManager.loadTexture(						((ASEModel.ASEMaterialInfo) materials.get(j)).file,						Texture.MM_LINEAR,						Texture.FM_LINEAR,						true));				this.setRenderState(ts);			}		}                	}