Texture Rendering Error - Jmonkey alpha2

Someone can say me the cause of this?

Try creating tangents…

it’s the code of my material :

Material My Material : Common/MatDefs/Light/Lighting.j3md {

MaterialParameters {

m_Shininess : 14

m_NormalMap : Textures/wall_normals.png

m_DiffuseMap : Textures/wall.png

m_HighQuality : true

}

}

_______________________________________

and it’s the wall.png texture



___________________

and it’s the wall_normals.png texture

<img src=http://img99.imageshack.us/img99/3715/wallnormals.png’/>

ok man, i created tangent binormals in scene composer, but this error occurred : java.lang.IllegalArgumentException: Can only generate tangents for meshes with texture coordinates

at com.jme3.util.TangentBinormalGenerator.processTriangles(TangentBinormalGenerator.java:146)

at com.jme3.util.TangentBinormalGenerator.generate(TangentBinormalGenerator.java:128)

at com.jme3.util.TangentBinormalGenerator.generate(TangentBinormalGenerator.java:113)

at com.jme3.gde.scenecomposer.SceneEditorController.doCreateTangents(SceneEditorController.java:284)

at com.jme3.gde.scenecomposer.SceneEditorController$3.call(SceneEditorController.java:266)

at com.jme3.app.AppTask.invoke(AppTask.java:141)

Caused: java.util.concurrent.ExecutionException

at com.jme3.app.AppTask.invoke(AppTask.java:157)

at com.jme3.app.Application.update(Application.java:439)

at com.jme3.gde.core.scene.SceneApplication.update(SceneApplication.java:203)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:144)

at com.jme3.system.lwjgl.LwjglCanvas.runLoop(LwjglCanvas.java:226)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:198)

[catch] at java.lang.Thread.run(Thread.java:619)

There you go. You need to create a uv texturemap in your editor before you can use textures on it.

ok thanks, now i have other problem in the faces:

comparisons___

jmonkey alpha 2





blender 2.49b





and i already recalculate outside in blender!!!

the code of my material Scene.material :

material Material/TWOSIDE/TEXFACE/avantasia.jpg

{

receive_shadows on

technique

{

pass

{

ambient 0.500000 0.500000 0.500000 1.000000

diffuse 0.800000 0.800000 0.800000 1.000000

emissive 0.000000 0.000000 0.000000 1.000000

cull_hardware none

cull_software none

texture_unit

{

texture avantasia.jpg

colour_op modulate

}

}

pass

{

ambient 0.0 0.0 0.0

diffuse 0.0 0.0 0.0

specular 0.500000 0.500000 0.500000 1.000000 12.500000

scene_blend add

cull_hardware none

cull_software none

}

}

}

the code of my wall.j3m material :

Material My Material : Common/MatDefs/Light/Lighting.j3md {

MaterialParameters {

m_Shininess : 14

m_NormalMap : Textures/wall_normals.png

m_DiffuseMap : Textures/wall.png

m_HighQuality : true

}

}

i think that i didn’t configured sure the ogre exporter in blender.

ok problem solved, i didn’t make sure “Recalculate Normals” in blender, now i make :P.

I encountered other problem, in blender my material is sure :



but when i create a material j3m in jmonkey alpha 2 occours it:



i don’t know if j3m supports TwoSide!!!