Maya2dts material mapping issue
by Grant Clarke · in Torque Game Engine Advanced · 09/27/2005 (5:25 am) · 2 replies
Hi there,
Using maya2dts to export models into TSE and having problems mapping custom materials to my models. If I look at the model with showTool Pro the material will be called myTexture.png
when I create my custom material it looks like the following:
I tried adding the .png to the end of the texture name in the mapTo line of the material, but that didn't seem to make a difference. As a test I openned up the dts file in a binary file editor and removed the .png from the material name and that solved the issue, but I'm looking for a proper solution. Is there way to get the maya exporter to not append the file extension on to the material name when it is exported?
cheers,
Grant
Using maya2dts to export models into TSE and having problems mapping custom materials to my models. If I look at the model with showTool Pro the material will be called myTexture.png
when I create my custom material it looks like the following:
new CustomMaterial(MyMaterial)
{
shader = MyShader;
version = 1.1;
mapTo = myTexture;
};I tried adding the .png to the end of the texture name in the mapTo line of the material, but that didn't seem to make a difference. As a test I openned up the dts file in a binary file editor and removed the .png from the material name and that solved the issue, but I'm looking for a proper solution. Is there way to get the maya exporter to not append the file extension on to the material name when it is exported?
cheers,
Grant
About the author
Torque Owner Clark Fagot