Material MapTo issue when Model Mapping have the same name
by elvince · in Torque 3D Professional · 07/12/2010 (4:07 am) · 3 replies
Dear all,
I have a annoying bug and I don't understand how to solve it except exporting my model with new material names.
Here the case:
Create 2 models: let's a girl & boy.
If in the model girl & boy material have the same name, even if you declare 1 material per model, one will be mapped to the 2nd one.
Ex:
Girl has head,leg,feet
Boy has head,leg,feet
In materials.cs of each model I created a Boy_Head material that mapto Head and the same with Girl_Head mapto head.
When I'm looking at my model in T3D shape editor, I have Girl head link with Boy_Head material.
it seems that the Key Criteria in the material name of the model and not the material name within T3D.
If I change the material link to Girl head to Girl_Head material, the boy head will map ti Girl_Head :(
If it's not a bug, I will appreciate to know how I should managed that.
thanks,
I have a annoying bug and I don't understand how to solve it except exporting my model with new material names.
Here the case:
Create 2 models: let's a girl & boy.
If in the model girl & boy material have the same name, even if you declare 1 material per model, one will be mapped to the 2nd one.
Ex:
Girl has head,leg,feet
Boy has head,leg,feet
In materials.cs of each model I created a Boy_Head material that mapto Head and the same with Girl_Head mapto head.
When I'm looking at my model in T3D shape editor, I have Girl head link with Boy_Head material.
it seems that the Key Criteria in the material name of the model and not the material name within T3D.
If I change the material link to Girl head to Girl_Head material, the boy head will map ti Girl_Head :(
If it's not a bug, I will appreciate to know how I should managed that.
thanks,
About the author
Recent Threads
#3
I was clearly confuse to see that map_to was linked to the diffuse map name, so I will have to set with my artist a naming convention for all models to avoid this issue in the future!
now everything is back in order :D
07/12/2010 (5:47 am)
no thanks.I was clearly confuse to see that map_to was linked to the diffuse map name, so I will have to set with my artist a naming convention for all models to avoid this issue in the future!
now everything is back in order :D
Torque Owner elvince
Neo Studio