Cage opened this issue on Dec 20, 2006 · 1232 posts
Spanki posted Wed, 11 June 2008 at 2:46 AM
Quote - Cage, you may want to talk to Dimension3D concerning his new "Morphing Clothes" application for transfering morphs from one figure to another (!). He didn't divulge any secrets to moi but he did recommend a read of the documentation (wink, wink).
I just read his manual and... it sounds like he's doing something similar to what we're doing (several source verts influence dest/clothing verts weighted by thier distance), except his approach is more straight-forward than the one I came up with...
our version only ever uses the 3 (weighted) source vertices that make up the triangle/surface that a ray from each dest/clothing vertex (along it's normal) intersects.
because of the above, our method is more dependant on the normal (which can cause trouble for some meshes).
his method just computes weights for 'some number' (which may be definable? or within a definable distance, perhaps) of nearest vertices on the source mesh.
...we've discussed a nearest-point method a few times (and even some weighted group of nearby points), but I'd have to go back and find/re-read that to refresh my memory on any reasoning for not going that route.
Without having his tool, I can't comment on any relative speed comparisons, but (in case you hadn't followed this entire lengthy thread...) our latest effort, using the compiled python extension is really speedy - measured in seconds now, instead of what started out taking hours :).
His approach would definately have some advantages for generic clothing items, where ours needs some normal-tinkering to work well with cuffs and two-sided belts and such (anywhere the normals don't point directly out from the figure surface underneath the clothing). Of course it was never designed to work with clothing either :).
I can imagine that his tool works very well for both clothing and figures - if it was around when we started this project, I might not have got involved at all - then again, there are a few other packages available with similar functionality.
[ @cage - sorry bud, I'm still too tied up with other things at the moment, but I haven't forgotten about this ]
Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.