I’m new in Urho3D and Blender. I want to export a simple model and its materials which have textures from Blender to Urho3D. I’m using the Blender add-on to do this.
This add-on only exports my model (in .mdl) and its materials (in xml), but doesn’t export textures. Despite of this, it also doesn’t export the armature and its animations.
Can anyone help me?
Thanks for your reply.
Both options are enabled, still nothing…
This is an example of exported material: (in Blender, this material has a texture, but in exported material it doesn’t.)
<parameter name="MatDiffColor" value="0.64 0.64 0.64 1"/>
<parameter name="MatSpecColor" value="0.5 0.5 0.5 50"/>
May be u used Cycles instead Internal render?
Can u show your .blend file?
Are your textures packed (File -> External Data -> Pack… ) ? This is a common issue that is mostly overlooked on any exporter afaik.
My .blend file is here at this link:
Yep, checked out your file and just as I have assumed. Try unpacking your textures files first then it should be good to go.
Thank you for reply. I unpacked all files, but it still doesn’t copy textures to the export destination. (It only unpacked textures in the directory where my .blend file is)
Still the exported material has NoTexture technique.
Enable “File overwrite” for rewriting old exproted materials
Also u use cycles render instead blender internal
Ok another thing and as 1vank mentioned earlier, there might be an issue in building/exporting with Cycles Render mode. Just play around with the exporter first on simple models before you move into complex stuff, and use Game Engine or Blender mode as much as possible.
To confirm that, I just tested with a ready to export blend file and textures are copied properly.