structure opened this issue on May 03, 2015 ยท 4 posts
structure posted Sun, 03 May 2015 at 11:02 AM Forum Coordinator
It would be nice if you modellers out there would get together and agree on a standard for material naming (or zoning).
I was trying to write a script that would automatically update EZSkin definition files just by loading a new character and pressing a button. (it checks that the definition does not already exist)
I was doing rather well with it until I came across some of Snarly's EZSkin definitions and found that, although some models have the same names in their materials, they belong in different categories.
for example, cornea, - great, easy to see where that goes right? WRONG. some characters have a cornea, and it is ignored, some have one in the eyetrans catagory, still others are in the invisible category, a nightmare to try to code for.
instead of using
if mat in material:
you have to use something like
if mat in material and figure != 'thisscrewedupmaterialzonesfigure' and figure != 'thatscrewedupmaterialzonesfigure':
etc. etc.
Locked Out