- Sat Oct 17, 2009 12:14 am
#312146
If you use mxm replacement material(s) with texture maps, the texture map needs channel ID in Maxwell (channel ID identifies the UV layer for the texture map). Usually Maxwell materials use channel ID 0 or 1.
In modo you don't have channel IDs, but you have named uv maps (for example: "Texture").
With the default settings the plug-in automatically assigns channel ID numbers to the named uv maps. This automatic numbering should work well with the automatically converted modo materials, but the automatic conversion can't decide which uv map you would like to assign to the replacement material texture map, so you have to set it manually.
For example:
You have a replacement mxm file with channel ID 1. And you have a mesh item with uv map "Texture". Because you have only one uv map, it will get channel ID 0 (the automatic numbering starts from 0). The mesh uv map will be exported with channel ID 0, so when Maxwell Render starts it looks into the mxm material -> according to the material settings it should search for channel ID 1, but the Mesh only have channel ID 0, so it will stop with an error.
What you can do in this situation:
In modo if you want to change uv map or uv projection settings for an image map, you can do it if you tweak the properties of the texture locator item. If you want to change how the plug-in handles the "modo texture map -> Maxwell channel ID number" assignment, you also have to change the Properties + parameters of the texture locator items.
As an example: If you have a texture locator item, with "Projection type" -> "UV Map", and the selected UV Map is "Texture", first you have to select the texture locator item, click on the "Texture Locator +" button, change "Channel ID assignment" to "Manual", and change "Channel ID" to 1. After this "Texture" will be exported with Channel ID 1. It is also possible to set the Channel IDs of all the modo UV maps to 1 (or to any number). -> Open the "Properties + GLOBAL values" window, click on the "Texture Locator" button, change "Channel ID assignment" to "Manual", and change "Channel ID" to 1.
I hope it helps!
Brett: if you found BUG somewhere, please send me the scene for further investigation.
Thanks,
Márton