Forum: Poser Technical


Subject: CR2 to Conforming CR2, simple process or high stress surgery?

Darkworld opened this issue on May 02, 2002 ยท 27 posts


KattMan posted Sat, 04 May 2002 at 8:33 PM

Let me give you a bit of background here. The poser wizard has a conforming wizard and here is how it actually works: You build your new clothing item and need to make it conform. You load it into the Conforming Wizard (CW). You select the Character CR2 it is to fit and load it as the target. Upon pressing load, the CW reads all the parameters from the existing CR2 and strips out the un-needed lines such as morph dials and such. Next it reads the OBJ file and looks for the named groups, any groups matching the actor listings are automatically matched up. Any groups that don't match exactly it saves in a list. You can then use the CW to match up these names to existing actors or create a new actor for them. Once everything is matched up, the CW will allow you to save the new CR2. Now the new CR2 will have all body parts in it. THis means that even a pair of pants has the full listing, including the fingers. Now you ask why not have just the parts needed? Well this leads into your problem. If you look at a CR2 you will notice that the neck has some settings referencing the head. If there is no head actor defined then things get real flaky and will get twisted out of shape and not look at all correct once you conform. There are two ways to fix this. You can either add the head (which the CW does) or you can go through and make sure you remove all listings in the neck that refer to the head. I chose to go with the first option due to small issues with conforming. If you remove the references to the head from the neck and you attempt to tilt the head, the neck part of the shirt will not move correctly. This requires an empty listing for the head so that the bend parameters will work properly. I could go one step further I believe. I'll talk about arms for this one. The collar connects to the shoulder and the shoulder to the forearm. If the shirt you model stops at the collar we know we will need the shoulder in order to get the bends to work properly. but we don't necessarily need the forearm. I'm thinking about one more upgrade to the CW that basically goes actor plus one. This would remove everything from the forearm down from the resulting CR2. I'll be working on that code after I get a few more of the add-ons completed. From this you may be able to figure out why your conforming CR2 didn't work properly when you hand edited the cr2. Perhaps you removed an actor and missed a reference from it's parent piece or missed a reference to it's child piece. You still need to edit the file to get the references, and many people do that. Some will strip out the un-needed sections and you really need to hand edit then. Alternatively you can use a blanked out reference CR2 as a starting point, this makes things easier.