Sei sulla pagina 1di 33

14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

AnextraminitutorialwhereIgointowhathappensifyourtopbottomisshorter(and/orskintight)oryou'reseperatingthebottominsteadandwhattodo
whenyouwanttoseperateapairofpantsbutthetopiscoveringthewaistline.Thistutorialcoversthecombiningoftwomeshpartsandmergingofvertex
data/normaldatasotherearenogapsatthewaist.ItisbasicallyPartTwooftheprevioustutorial(orQuestionsandAnswerstime,ifyouwant).

ForthisminitutorialIamgoingtoassumeyou'vereadmyothermeshingtutorialorareatleastfamiliarenoughwiththematerialtomakesenseofthis.I'll
beskippingquiteafewstepsandreallyonlygoingintothenecessarybits.Iamnotfixinganytextures,importingorexportingmeshes,makingmesh
packages,etc.Youshouldbeabletodoallthatoragain,readtheothertutorial.

InessencethisisanextendedpartofmytutorialthatIjustcouldn'tquitefitintothatonewithoutmakingaconfusingmessofitall.Thisisheretotellyou
howtodealwithsituationswhereyourseperatesaregappyatthewaistoryoudon'tknowhowtoseperatesomethingthat'spartiallycovered(suchasapair
data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontsty 1/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo
ofpantscoveredbyaverylongsweater).ThislastbitisverysimilartohowtoswapshoesonameshorsimilarthingsalsohandledinMTS2'sUnimesh
tutorials,part3(linkforthcoming,MTS2iscurrentlydown).

Makesureyouhavethenormaldatamergeandvertexdatamergeplugins.

PartOne
(skintight/shorttopsandbottoms)

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontsty 2/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Youmayhavealreadynoticedthatsometimesyouwanttoseperateabottom(oratop)anditlookslikeyoucanjustcutitinhalfandbedonewithit.Such
asforthisoutfit(ifwepretendthetopisn'textendingdowninfrontofthewaist).Mostofthewaistlooksperfectlyfinealready,asimplecuttingoffofthe
legsanddone,right?

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontsty 3/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Exceptwhenyouswivelthecamera(ormaybeyoualreadyimporteditingame)younoticetherearegaps!Thingsdon'tlineupnicelyasthefullbodymesh
isnarrowerthanthetoprowofnormalpairofbottoms(orbottomrowofatop).

Forcaseswhereayouaremakingabottom,orfortopswheretheshirtisshorterthanthewaist,youalwayshavetomakesuretoalignthetoprow(for
bottoms)orbottomrow(fortops)exactlysothatitmatchesupsmoothlyandwithoutseamsorgaps.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontsty 4/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Thesolutionisquiteeasy.Withbothgroupsnothidden,selectapairofverticesthatshouldbeatthesamelocation(butaren't),suchasindicatedinthe
screenshot.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontsty 5/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Nowfortheeasywaytofixthis.WiththetwoverticesselectedclickonVertex>VertexDataMergethenclickonVertex>NormalDataMerge.

Whatthisdoesiscopythecoordinatesfromtheverticesinthefirstgroupontothoseofthesecondgroup,essentiallymovingthemallinthesameposition.
Handy,huh?

Nowifyourepeatthisforallthevertexpairsaroundthewaist(onepairatatime)you'llhaveatotallysmoothandgapfreewaistline.

Here'salittleextratip:Thisworksformorphstoo!Butifyouwanttocopythedatafromamorph,makesureyourenametheguidelinemorph(theone
whosedatayou'recopying)oryou'llgetanerror.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontsty 6/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Note:Normalsarewhatcontroltheshadingoftheoutfit.Ifthenormaldataisn'tmergedyourmeshmayappeartohaveaseamatthewaistbecausethe
lightisbouncedoffitdifferentlythanthetopyou'reputtingabovethewaist.

You'llstillhavetogothroughalltheotherstepsofseperatingamesh,renamingthefile,etcetcbutreally,that'sallthereistoit.Oneseamlessseperated
pairofpantswithnogaps.

ThereisalsoahardwayandI'mgoingtoputithereinitalicssoyoucanlearnabitextraaboutthewhysandhowsofthesetools.Ifyoudon'twanttolearn
more(althoughIreallyrecommendyoudo),skipthispartandgoontoparttwo.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontsty 7/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Goingbacktoanearlierpointinourtutorial,whilehavingthetwoverticesselected,clickonVertex>ExtendedManualEdit

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontsty 8/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Thislooksreallyintimidatingthefirsttime.Butwhatyou'relookingatisasetoftablesthatlistthecoordinatesofeveryselectedvertex,theirnormal
coordinatesandtheboneassignments(ifyouhavethetopleftbuttonsselectedasIdoanyway).

Thetworowswiththe0infrontofthemaretwoverticesfromourfirstgroupandthetworowswiththe1infrontofthembelongtothesecondgroup.Itis
perfectlynormaltohavemorethanonevertexintheexactsamelocation,sointhiscaseour2selectedverticesareactually4.Ifyoulookatthexandthez
coordinatesyouseethatwhilethetwoverticesfromthesamegroupmatch,betweenthetwogroupstheydonot.

Ifyouchangethenumbersinthetablesyouactuallymovethevertices.Soanotherwaytogettheverticesinthesamepositionisasimplecopyingofthe
data.Youwanteverythingtobealignedtothefirstgroup(thisisyouractualingamebottommesh,afterall,thatisalreadygaplessandsmooth).Simply
copythenumberlistedundertheXfromMesh0ontothenumbersforMesh1thendothesamewiththeZcoordinates.Repeatforthenormalcoordinates.
data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontsty 9/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo
Done!Sobasicallywhatthemergetoolsdoisexactlythis(copyingthenumbers)butwithoutyouhavingtodoalotofcopypasting.

Onelastthing.Iamnotgoingtoexplainthebonesrightnow,animationsarebetterleftalonestill,butnotehowtheyarethesameacrossall4vertices.This
isimportant.Ifoneofthebonesisassigneddifferentandyouloadyourmeshingameyou'llalsogetweirdgaps,evenifitlooksnormalwhenthesimis
standingstill.Soiftheboneassignmentsdifferyou'llalsohavetocopytheseover.

PartTwo:
(Help!Mypantshavenowaist!)

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 10/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Herewehaveasituationthat'sabitmoredifficult.Thispairofpantsdoesn'thaveawaistduetothelengthofthesweater.Wecouldcutitinhalfbutthen
we'dbetakinghalfasweateralongwithitandthatwouldn'tlookgoodatall.

Butsomethingcanbedoneaboutthattoo.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 11/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Beforewestartonameshlikethiswe'regoingtopickabottomasourbasethathasthekindofwaistyouwant.Takeyourtimetoselecttheoneyouthink
ismostappropriatetofitontothepantsyouwannaseperate.HereI'vepickedthesebaggypants.

Whenstartingyournewmeshimportthesebottomsthenimportthefullbodymesh.Asexplainedintheothertutorial.

(Remembertocopyoutthetextinthecommentfile)

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 12/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

FirstLet'sremovethepartsofthefullbodymeshwedon'tneed(withthebottomgrouphidden).Whenwe'redonewe'llprobablyhavequitealowcutwaist
likethis,maybethereisn'tevenmuchofawaistleft.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 13/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Nowselectthebottommesh.Whilenormallyweleavethisonealoneuntiltheend,thistimewe'regoingtocutpiecesoutofthisonetoo.

Selectallofitfromtheshoesupuntilaboutwhereyouthinktheothermeshbeginsanddeleteit.Basicallywhatwewantleftisonlythewaist,longenough
sothatitmatchesascloseaspossibletowherewecuttheothermesh.Thecloseracutyoucanmakethebettersosearchforthebestlocation(itis
possibletoremovemorefromthefullbodymesh,forexample,ifthatgivesyouacleanercut).

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 14/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Withbothgroupsunhiddentheendresultlookssomethinglikethis.Sometimesyoucanhaveacutsocleanthatyoucan'ttellthereevenhasbeenacut,
unfortunatelythispairofpantswasabitmorecomplicated.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 15/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Nowselectapairofverticeslikethis.Aha,yousay,we'regoingtodothevertexdataandnormaldatamergeagain,aren'twe!?Yep.

However,tothosethatwishtoknowmoreI'mgoingtopointoutalittlesomethinghere.

(youcanskipthenexttwobitsifyoudon'twanttobeconfusedbythisfornow,againIsuggestyoudostudyuponthiseventually.Itpaystoknowwhat
you'redoingandwhy)

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 16/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Ifwelookattheextendedmanualedit(Vertex>ExtendedManualEdit)datafortheseverticesyoucanseesomething.Heretheboneassignmentsdo
notlineup.Hadyoumerelycopiedthecoordinatesandputthismeshingameyouwouldhavesomehugegapsoncethesimstartedmoving.

Alwayschecktheboneassignments!

Ibelievethedatamergetoolscopytheboneassignmentsanyway,butitdoesn'thurttodoublecheck.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 17/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Havingdonethevertexandnormaldatamergeforeveryvertexpairweshouldhavesomethingthatlookslikethis.Goodright?Nowwe'redone?

Sadly,notquite.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 18/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Selecttheentiremesh(Edit>SelectAll).

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 19/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

We'regoingtoassignatexturetotheentiremesh,yourememberhowtoright?(1.ClickNew,2.Clicktoselectatexture3.Clickassign).

Ohdear,nowyoucanseeinthecircledareawhereweconnectedthetwomeshesthatthetexturedoesn'tlookrightatall.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 20/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

OpentheTextureCoordinateEditor(Window>TextureCoordinateEditor)

TheCoordinateEditorseperatesthedifferentgroups.Lookatthecircledpartandseethatitsaysbottominthepulldownmenu.Thatisourfirstgroup.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 21/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Ifyoupulldownandselecttheotherone(body)yougettoseetherestofthemesh.

Thisisn'tveryuseful,isit?Howcanyoufixitifwe'vegotthesepartssplitovertwogroups!Well,wecanmergethegroupsintoone.Butbeforewedothat
weneedtodoonelittlething.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 22/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Onthebodygroup,selectthetopfewrows.We'regoingtomovethesedownalittle.Ifwedon'tandwemergethetwogroupspartofthemwilloverlapand
that'llmakeitreallyhardtofixourproblem.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 23/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

There,that'sbetter.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 24/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Nowwithbothgroupsstillselected,clickontheregroupbutton.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 25/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Weshouldendupwithonegroup,usuallynamedRegroup01orsomethinglikethat.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 26/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

NowbacktoourTextureCoordinateEditor.

Noticethegapbetweenthetwoparts?Partofthatisbecausewemoveditabit,ofcourse,butthisiswhythetexturelookedsostrangeonthemodel.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 27/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Firstlet'smakethingsabiteasiertoworkwith.Changethenumbernexttoscale(I'veherechangeditto1)andclickthescalebutton.This'llzoomthingsin
abit.

AsinregularMilkshape,youcanholddownCTRLandclick+dragtomovethingssoyoucancenterthepartyouneedtoworkon.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 28/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Nowwiththingsabitmorezoomedin,selectaverticeasshown.Andsimplymoveittoit'smatchingverticebelow.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 29/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Likethis.

You'llwanttodothisforeverypairofverticesuntilthetwopartslineupcompletely.

IbelievethereisalsoaUVmergetoolonMTS2somewherethatcoulddothisfareasier(likethevertexandnormaldatamerge,exceptfortheUVmap).I
haveneverusedithowever(onlylearnedaboutitrecentlyactually)soIamdoingitthiswayfornow.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 30/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Onceyou'vecompletelylinedupbothhalvesofthepantsandthereisnomoregapontheUVmapyoucanclosetheEditor.Asyoucanseeinthe3dview
now,thetexturelooksalotbetter.

Nowwejustneedtorenameourgrouptobottom.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 31/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Andcopythecommentsoverfromtheoriginalbottomgroup.

(asit'llprobablyhavemergedthetwosetsofcomments)

Nowyoucantreatitjustlikeanyregularmeshyou'vealreadymade.

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 32/33
14/8/2015 Fantasyrogue'sSimStuffTutorial:SeperatesMeshingPartTwo

Andthat'sit.Well,exceptforthetexture.Asmostfullbodymesheslikethisdonothaveawaistpaintedonthetextureeitheryou'regoingtohavetopaint
oneinyourself.Thatissomethingforadifferentkindoftutorialhowever

data:text/htmlcharset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20255%2C%20255)%3B%20fontfamily%3A%20Verdana%2C%20sansserif%3B%20fontsize%3A%2011px%3B%20fontst 33/33

Potrebbero piacerti anche