Texture not visible when importing from Google SketchUp as obj

Hello,

as the titles says, i have problems importing von Google SketchUp. I tried this tutorial and now i want to replace the city with my own object.

I replaced only the loadModel() function:

[java]

sceneModel = assetManager.loadModel(“Models/Social3D/Social3D.j3o”);

sceneModel.setLocalScale(2f);

CollisionShape sceneShape =

CollisionShapeFactory.createMeshShape((Node) sceneModel);

landscape = new RigidBodyControl(sceneShape, 0);

sceneModel.addControl(landscape);

[/java]

And the light function:

[java]

private void setUpLight() {

AmbientLight al = new AmbientLight();

al.setColor(ColorRGBA.White);

rootNode.addLight(al);



DirectionalLight dl = new DirectionalLight();

dl.setColor(ColorRGBA.White);

dl.setDirection(new Vector3f(0f, -5f, -2.8f).normalizeLocal());

rootNode.addLight(dl);

}

[/java]

Unfortunately the result is not as expected:

Google SketchUp:

Imgur: The magic of the Internet

Imported:

Imgur: The magic of the Internet

and:

Imgur: The magic of the Internet

The exported obj.file contains the information for the textures, but the jMonkeyEngine Importer did’nt imported the textures, so I copied and pasted it into the same folder as the converted .j3o file.



Thanks in advance.

Can you please post the MTL file that you exported?