Snarlygribbly opened this issue on Dec 21, 2011 · 75 posts
Snarlygribbly posted Fri, 23 December 2011 at 7:29 PM
Attached Link: EZSkin v1.5.0
Ok, I've uploaded a version that let's you add your own figures to EZSkinIt's not documented yet and is largely untested, so make sure you backup your existing copy of EZSkin before overwriting it with this new version.
You will find an XML file called 'ezskin.xml' in the package. Place it in the same folder as the EZSkin script. Do not rename it.
The XML file contains definitions of new figures. The example included has definitions for Maddie and Matt.
If this is successful, I'll document it properly soon. In the meantime, the principle is this:
In the XML file (you have backed it up first, haven't you?)
Define a FIGURETYPE for all figures which share the same material zones. Give the FIGURETYPE a name beginning with '@'. This ensures that it will not conflict with any names used internally by EZSkin.
Within the FIGURETYPE, define one or more OBJECTS. This is the name of the geometry file associated with the figure. To find out the correct object name easily, run the figure_mats.py script against the figure.
Also within the FIGURETYPE, define all of the material zones in the figure, and the appropriate EZSkin shader to be used for that material zone. Again, you can use the figure_mats.py script to get all the material zones, albeit listed in a fashion suitable for my use rather than yours!
You can have multiple FIGURETYPES within the XML file, so add as many as you need. They must have different names, of course.
NB: EVERYTHING IS CASE SENSITIVE <<-- vErY imPOrTaNt
TIP: Unused material zones are ok. If you have some figures that have almost identical material zones but differ slightly, just make a FIGURETYPE with all the aggregated material zones and assign all the figures to it. It'll still work and it's less typing.
When EZSkin is run, it will look for this XML file and load all the definitions it finds within it.
If it doesn't, tell me about it tomorrow ... I'm going to bed in a minute :-)
Free stuff @ https://poser.cobrablade.net/