an0malaus opened this issue on Jul 09, 2019 ยท 8 posts
an0malaus posted Wed, 24 July 2019 at 4:47 AM
Yes, I would like the solution to be generally applicable. Unfortunately, the Poser Python API does not support the creation of new groups. Full stop! [Pause for breathing, heart rate and blood pressure to return to normal...] Reloading a figure you're trying to fix morphs on is not acceptable as part of an automated solution, which is the only possible way to have python add groups. It also runs headlong into Tony Vilters favorite problem: vertex duplication at actor group boundaries, which borks the ability to simply save a new version of the figure mesh with added groups without extra vertices breaking all the morphs.
That said, I have implemented an algorithm which can identify the edges of an actor's facets which are not shared (seams) and can map actor delta indices to original mesh vertex indices, so I could save a modified figure OBJ without vertex duplication.
Rigid decorations are one thing. I envisage a solution which will apply to soft decorations (like lace hems, etc) as well. Rigid decorations like buttons are well suited to one set of solutions (constant falloff deformer control), while soft decorations either require default deformer falloff, or are completely unsuitable for such control. Think of shirt collars, which are semi-rigid.
The original concept is to repair morphed clothing which was badly morphed when my skills and available tools were crude. If the Morphing Tool could smooth deltas, I could just select problematic morphs and just restore flattened details by painting along hems, etc. Maybe it's worth asking whether the Morphing Tool could have an open API, so new, add-on tools could be implemented. [Not holding my breath. I'm sure Bagginsbill will get his Custom Material Node API before I get hooks into the Morphing Tool]
I would certainly like to see programmatic support applicable to modifying weight maps (for deformers, as well as joints) within Python. Many's the time I've wished I could apply a linear falloff that doesn't require my non-existent painting skills to acquire uber-ninja-super-saiyan status to get the job done. ;-)
Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.