2 from os
.path
import abspath
6 roughness
= abspath(argv
[2])
7 metal
= abspath(argv
[3])
8 fout
= abspath(argv
[4])
10 system('cp %s %s' % (ao
, fout
))
11 cmd
= 'convert %s %s -alpha off -compose copy_green -composite %s' % (fout
, roughness
, fout
)
14 cmd
= 'convert %s %s -alpha off -compose copy_blue -composite %s' % (fout
, metal
, fout
)