Hi
i am trying to maxscript some paths in Octane's diffuse material.
So far i got this:
meditMaterials[1].materialList[3] = Diffuse_material ()
meditMaterials[1].materialList[3].diffuse_input_type = 2
meditMaterials[1].materialList[3].diffuse_tex = RGB_image ()
This will select the multisub material that i have in slot1 in the material editor.
It will then select the material ID slot 3. and create a Octane diffuse material.
It will then change the diffuse color to texture and assigne a RGB_image node to the texture slot.
What i want now is to be able to script what texture the RGB node is gonna read.
Do some one have the maxscript string for that?
I have tried Macro recording it but doesn't seem like 3ds max 2016 can record that.
Cheers.
-Mats