View Single Post
Old 01-18-09, 08:19 AM   #945
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

Quote:
Originally Posted by Anvart
Yeah, Skwasjer ... plz, delete suffix (material ID) from material name ... it's not usefull ...
It is. See for example sea units:

First material, external texture, and label: cfg#TXR_NBB_Colorado. S3D generates mtl name: NBB_Colorado_f4ece1abbd4447e5

Second material is identical, external texture, and label: cfg#TXR_NBB_Colorado. S3D generates mtl name: NBB_Colorado_f4ece1a7bd4453a5

The only way to seperate them is by id. There are more examples where people don't specify a label-chunk (in which case the texture name is used for mtl name, but the texture may also be shared by other materials!!), which works fine in game, but causes problem for export/import. S3D also compares the id upon import, and if this matches then all is ok even though the 'readable' names are the same.

Anyway, his problem was related to a missing mtllib command in the obj-file, and not caused by S3D.

Last edited by skwasjer; 01-18-09 at 08:29 AM.
skwasjer is offline   Reply With Quote