Hey Guys,
i created a world with texture in cinema4d. Then I export it with IOgre ADDon.
I copy the following data in my Model folder:
+World.material
World.material
earth.jpg (my texture)
World.mesh.xml
After that I convert my World.mesh.xml to j3o binary…
This is my code to load the model
[java] Spatial world = assetManager.loadModel(“Models/World/World.mesh.xml”);[/java]
My World.material:
[xml]// Materials for World
material Alpha
{
technique
{
pass
{
diffuse 0.35 0.38 0.41 1.00
}
}
}
[/xml]
Here I am missing the texture (earth.jpg).
In my Game i just see my “earth” without any texture…
I don´t wanna import my texture with jMonkey-SDK, because i am using quite complex Texture-Effects in Cinema 4d.
Thanks
dodo
Well you can forget about your complex texture effects… Only color, normal, diffuse and specular maps will be imported. Also why you load the mesh.xml when you create a j3o? Read the manual on asset management again.
1 Like
Okay thanks! normen you mean this article:
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_asset
??
Yes if you didn’t already. Also this one: https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:intermediate:multi-media_asset_pipeline
1 Like
thanks!!!