New Addon: Import Autodesk .max #105013

Closed
Sebastian Sille wants to merge 136 commits from (deleted):nrgsille-import_max into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 88fc1661f0 - Show all commits

View File

@ -1287,8 +1287,8 @@ def get_arch_material(ad):
try: try:
material.set('diffuse', get_color(ad, 0x1A)) material.set('diffuse', get_color(ad, 0x1A))
material.set('specular', get_color(ad, 0x02)) material.set('specular', get_color(ad, 0x02))
material.set('reflect', get_value(ad, 0x05)) material.set('reflect', get_value(ad, 0x04))
material.set('shinines', get_value(ad, 0x0B)) material.set('shinines', get_value(ad, 0x0A))
material.set('transparency', get_value(ad, 0x02)) material.set('transparency', get_value(ad, 0x02))
except: except:
pass pass