Posts: 278
Threads: 66
Joined: Jul 2009
Reputation:
0
Hello,
I modified the object (crane) divided into 3 parts to use MoveObject. In blender, I imported the .dff file and cut it to 3 objects and exported it. But in kdff it says "Make Col error: 2". How to fix it?
Thanks for help.
Posts: 1,180
Threads: 55
Joined: Apr 2005
Reputation:
0
The console version of kdff might provide better error information. Error 2 means it couldn't read the dff geometry. There may be multiple geometries (meshes) in the dff. Screenshots from kdff gui or RW Analyze can be helpful.
Posts: 1,180
Threads: 55
Joined: Apr 2005
Reputation:
0
It failed because one of the materials in jerab0.dff has multiple textures assigned:
chainlinkac1_128
chainlinkac1_128a
I need to do some more research on how the blender exporter is dealing with alpha textures. We normally don't use a seperate texture for the alpha but embed the alpha channel in the txd texture. For now you could remove the second texture from the material, and save to a new dff name just for the purpose of generating the col. Then attach the col to the original dff. I'll update kdff later if it's needed.
Edit:
It looks like a problem with the blender importer. The original model didn't have multiple textures assigned to the material.