Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 04-03-2006 , 10:49 AM
Falott's Avatar
Registered User
Join Date: Jan 2005
Location: vienna
Posts: 1,095

polyunite_merge_convertToSubD

first attempt - not really a script, but it´s WORKING!

I use to convert from poly to subD a lot when modeling and sometimes need to make a "complete" geometry out of the half one but forget to keep a original version. this script is not really neccesary but prevents me from pressing some extra shelf buttons.

my intention is to build a gui which too offers the possibility to automatcally snap-move all borderVerts to the mirrored axis. I still need to figure out.. cause this script isn´t working in case the borderVerts are just somewhere in space.

this is of course free for everyone to try.





// take your half geometry and create a full one - leaving the original mesh beside//
// select the geometry - make sure all borderVerts are snaped to zero on x-axis//

rename tmpOrig_1;
duplicate -n tmpSide1 tmpOrig_1 ;
duplicate -n tmpSide2 tmpSide1 ;
setAttr "tmpSide2.scaleX" -1 ;

// unite side1 and side2//
polyUnite -n tmpUnite tmpSide1 tmpSide2 ;
select -r tmpSide1 tmpSide2 ;
doDelete;

// merge united objects CVs//
select tmpUnite;
ConvertSelectionToVertices;
polyMergeVertex -d 0.0001 -ch 0;

select -r tmpUnite ;
DeleteHistory;
doSubdivCreate ( "2", { "1","1","100000","10"} ) ;
pickWalk -d up;
rename sDivUnite_1;
setDisplaySmoothness 3;

hide tmpOrig_1;


everything starts and ends in the right place at the right time.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off