Forum: Poser Python Scripting


Subject: Making clothes fit

rodney opened this issue on Sep 09, 2001 ยท 4 posts


jbrugion posted Sun, 09 September 2001 at 10:42 PM

Actually, was looking at eventually distributing *.pyc files along with header descriptions. I had originally hoped to have it work as a simple dialog app where the code would do everything. Should have known better. Now looking at a set of toolkit classes and apps that automates it as much as possible but there will have to be an human in the loop at some point. Since the end goal is artistic, vice purely mathematical, there is almost a need for human intervention for it to "look good". My current code is pure Python. I spent a lot of time, and a few dead end traversals, trying to get the code to run as quickly as possible under Python with no compiled native C/C++ code. Part of that was pure laziness, not wanting to have to deal with an extension dll setup and compile. As far as the problems go, almost all the techniques that are available will work well on the "field" verts/polys. The ugliness sets in, as with all computational problems, at the boundaries, interfaces and sharp corners. I played with several techniques and all of them look good on the middle of the forearm or on the middle of the gut. Where the fun starts is at the elbows, breasts, buttocks, shoulder and other complex parts. Spent a couple of months tweaking that one up. I don't mean to discourage you. By all means keep trying, you might just find a quick easier way of working this problem than I did. As you said, there is no one way to solve this problem.