Forum: Poser - OFFICIAL


Subject: Create conforming boots - What am I doing wrong?

bandolin opened this issue on Jan 06, 2009 ยท 74 posts


svdl posted Sun, 18 January 2009 at 3:07 PM

Decided to write a little utility that can add the ERC slaving code automatically.

You can download it here: www.svdlinden.nl/webposerstuff/downloads/ercaddersetup.zip

The zip file contains an .msi setup file which will install the program ERC Adder. Written in C# 2005, so you'll need .NET 2.0

Usage is extremely simple. Load your clothing figure (e.g. the boots) in the "Clothing Figure" textbox, using the Browse button (haven't implemented functionality for directly typing in the textbox yet).
The "target figure" is the figure the clothing should conform to, e.g. Apollo Maximus. You should load his .cr2 too.

The program then analyzes the list of targetGeoms in the target figure.
Next, it opens the clothing figure .CR2, reads it line by line and writes the lines to a new file.
As soon as the block of five ERC lines should be written - when it is in the process of writing a targetGeom channel that also exists in the target figure - it'll do so.
Finally, it renames the original clothing figure to .cr2.bak, and the new file will be renamed to .cr2.

No exception handling implemented, it's a quick and dirty solution (took me all of 30 minutes to write...).

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff