[Closed] Convert Autodesk_Material to VRay or standard
does anyone know a simple way to convert autodesk materials to vray or standard? the properties are completely different for each type of autodesk_material and there’s like 20 different types. They do not follow any kind of usable pattern that I can see. If they had a different class then maybe it would be more manageable but they all return Autodesk_Material… These materials came from a client’s model and I’m guessing they were generated from importing from some CAD package like revit. Getting the client to change them is not an option. If It helps I only really need the diffuse color and diffuse map equivalents.
You can set your renderer to vray and set all the materials to vray materials with this.
It wont convert any materials though.
renderers.current = VRay()
for i = 1 to 24 do
(
setMEditMaterial i (VRayMtl ())
)
Does the Vray Scene convertor work for Autodesk materials?
Right-click in viewport “VRay Scene Convertor”
Can’t test it in my old version of max sorry.
i discovered that each autodesk_material has a .ConvertToGeneric property that returns a autodesk generic material which is much more managable. gives me access to the diffuse colour and maps which is all i need.