Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Corona Goodies - User Contributions => Topic started by: Christa Noel on 2016-11-15, 10:52:43

Title: batch convert material
Post by: Christa Noel on 2016-11-15, 10:52:43
Hi all,
this is a script I made based on this thread https://forum.corona-renderer.com/index.php/topic,13700.0.html (https://forum.corona-renderer.com/index.php/topic,13700.0.html)
I didn't create new conversion methods, it is pure from coronaconverter. http://www.racoon-artworks.de/CoronaConverter/mxsDocumentation.html (http://www.racoon-artworks.de/CoronaConverter/mxsDocumentation.html)  by DeadClown or Martin Geupel. so, you must have corona converter to run this script.
note: if you run this script but never run coronaconverter before, you may see coronaconverter appear and disappear vastly. this is okay because this script need coronaconverter struct to be defined first before conversion run.
cheers :)
Title: Re: batch convert material
Post by: maru on 2016-11-16, 12:48:30
It seems to work fine, however I encountered some problems:
1. Run the script, close script window, run the script again - it appears, but disappears if you click on background, and also it then misbehaves
2. One time I converted something, then wanted to convert again, but instead of selecting the file I close the "open" window. Then it crashed (was unusable, throwing maxscript errors, etc), but I could not reproduce this later.
Title: Re: batch convert material
Post by: Christa Noel on 2016-11-17, 07:50:51
It seems to work fine, however I encountered some problems:
1. Run the script, close script window, run the script again - it appears, but disappears if you click on background, and also it then misbehaves
2. One time I converted something, then wanted to convert again, but instead of selecting the file I close the "open" window. Then it crashed (was unusable, throwing maxscript errors, etc), but I could not reproduce this later.
hi Maru,
sorry I can't reproduce the first one. any other clue?
and, the second one, yes it gives an error when openfiledialog opened then cancelled without selecting any file but with the "override files" checked.
fixed and i updated attachment. thanx :)