Load 3D model created using 3dsmax


I am new here. I have just begun using jmonkey 3 like a month ago. now I is trying to load a model that designed using 3dsMax inside jME3. the model that i create have simple color and i convert it into .obj format. but the problem is color of the model doesn’t appear correctly.

[java] Spatial model1 = assetManager.loadModel(“asset/Models/cube.obj”);

Material mat_default = new Material(assetManager,“Common/MatDefs/Misc/ShowNormals.j3md”);




model1.scale(0.005f, 0.01f, 0.005f);

model1.rotate(0.0f, 0.0f, 0.0f);[/java]

Please help guys because tomorrow I have to prove to my lecturer that jmonkey is one of game engine that good to develop our final project.

thank for advanced

You apply a material to the model, so you dont see the original imported material.

if i dont apply the material, the original material still cannot appears…is it problem with my source code? if u have the other solution pls help me… below is my screenshoot after i load the model.

What I usually do when exporting from Ogre to jME is set the material file to a default value like this:

[java]material Material


receive_shadows on





ambient 0.500000 0.500000 0.500000 1.000000

diffuse 0.640000 0.640000 0.640000 1.000000

specular 0.500000 0.500000 0.500000 1.000000 12.500000

emissive 0.000000 0.000000 0.000000 1.000000




Then once I convert the object to .j3o I’ll make a .j3m material with the UV texture I used to make the objects via the material editor, either 3 part lighting materials, or a standard simple textured, depending on how the UV was prepared.