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 c6eeea33be - Show all commits

View File

@ -1263,7 +1263,7 @@ def get_standard_material(refs):
material.set('specular', get_color(parameters, 0x02))
material.set('emissive', get_color(parameters, 0x08))
material.set('shinines', get_value(parameters, 0x0B))
reflect = refs[4] # ParameterBlock2
parablock = refs[4] # ParameterBlock2
material.set('glossines', get_value(parablock, 0x02))
material.set('metallic', get_value(parablock, 0x05))
except: