Skip to content

Instantly share code, notes, and snippets.

View cgside's full-sized avatar

cgside cgside

View GitHub Profile
@cgside
cgside / transfer_materials_max_to_mays.py
Created December 24, 2022 19:01
Materials from max vray to Maya arnold
import os
mapsPath = 'path/to/textures'
def createFileTexture(fileTextureName, p2dName):
tex = cmds.shadingNode('file', name=fileTextureName, asTexture=True, isColorManaged=True)
#if not cmds.objExists(p2dName):
#p2d = cmds.shadingNode('place2dTexture', name=p2dName, asUtility=True)