Digital Art Zone

 
   
4 of 10
4
mcjShrinkWrapA for DS 4.5+ - shrink wrap figures and objects—simple basic version A
Posted: 06 July 2013 12:34 AM   [ Ignore ]   [ # 46 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4914
Joined  2012-04-07

Not ready to show yet but thought you’d like to know that the script is being used to make a neat bodysuit of sorts.

 Signature 
Profile
 
 
Posted: 08 July 2013 08:07 AM   [ Ignore ]   [ # 47 ]
Active Member
Avatar
RankRank
Total Posts:  627
Joined  2008-02-22

The webpage say:  “Warning - if you accidentally selected a gigantic wrapper object, the script may be stuck in processing mode for a very long time.  A new version which lets you escape a bad situation like this will be posted very soon !”

Lets say a bodysuit?  How long are we talking?  Is this days, or hours, or like 20 minutes?  I’ve been running one now for about 10 minutes.  I assume it is still “working”?

 Signature 

+800 or so old forum posts, just so you know I’m not a newb!  tongue laugh

Profile
 
 
Posted: 08 July 2013 12:21 PM   [ Ignore ]   [ # 48 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4914
Joined  2012-04-07
3doutlaw - 08 July 2013 08:07 AM

The webpage say:  “Warning - if you accidentally selected a gigantic wrapper object, the script may be stuck in processing mode for a very long time.  A new version which lets you escape a bad situation like this will be posted very soon !”

Lets say a bodysuit?  How long are we talking?  Is this days, or hours, or like 20 minutes?  I’ve been running one now for about 10 minutes.  I assume it is still “working”?

If you ‘touch’ the tab and it’s still busy it will put up one of those warning messages in brackets ‘not responding’ ... touch nothing until that goes away. [although I wouldn’t wait for days!] If you touch the tab and nothing happens, exit it, and check the Parameter Tab for the new morph.

edit to add: The bodysuit I’m making was made in sections. Did each leg, each arm and the main torso. Then knit together in Hexagon.
The wrapper can do strange things with skirts around legs. So for skirts, I made a clothing dress dummy to use instead of Genesis for the process.

 Signature 
Profile
 
 
Posted: 08 July 2013 12:26 PM   [ Ignore ]   [ # 49 ]
Active Member
Avatar
RankRank
Total Posts:  627
Joined  2008-02-22

I waited about 30 minutes, then I had to kill DS.  I retried and started small with a tube.  Even with that, I found you need to be very careful starting around the legs, as it has a hard time wrapping around 2 legs. Create, stretch, smoothing/collision mod, export, import and rig…works.

 Signature 

+800 or so old forum posts, just so you know I’m not a newb!  tongue laugh

Profile
 
 
Posted: 08 July 2013 03:43 PM   [ Ignore ]   [ # 50 ]
Power Member
Avatar
RankRankRank
Total Posts:  1896
Joined  2006-01-19
3doutlaw - 08 July 2013 12:26 PM

I waited about 30 minutes, then I had to kill DS.  I retried and started small with a tube.  Even with that, I found you need to be very careful starting around the legs, as it has a hard time wrapping around 2 legs. Create, stretch, smoothing/collision mod, export, import and rig…works.

so far in my tests, i limited the tube complexity to under 8000 faces ( often only 1K or 2K faces )
another factor is what the collider is attached to

for each vertex in the shrinkable tube ( ex: 8000 faces )
the collider scans through the collided object’s tens of thousands of faces

one way to speed things up would be to hide the character’s head,
eyeballs, feet and hands/fingers, export this as an obj,
re-import this obj and use it as the collided object

—-
down the road i’ll offer speed improvements - for example, someday the collider
should use a BVH (Bounding Volume Hierarchy) structure to avoid
passing in review each facet of the collided object

—-
also, i will probably integrate the shrink-wrapping functions in the mcjCollider itself
which will probably give a 10X or 100 X speed improvement over a script

—-
i worked on the “spandex” effect which was used to create the A3 Bodycon
it should be part of the next shrink-wrapping script

—-

Test done a minute ago, in DS4.5 64bit—- 64x32=2048 faces tube - shrunk around an Aiko5 leg, 30 seconds

i would expect a 8092-faces tube to take 4x that time, if it was also done around an Aiko5 body part

 

Profile
 
 
Posted: 08 July 2013 04:49 PM   [ Ignore ]   [ # 51 ]
Power Member
Avatar
RankRankRank
Total Posts:  1896
Joined  2006-01-19

*** mcjShrinkWrapper News ***

a progress indicator / terminator was added

same bat name same bat page : https://sites.google.com/site/mcasualsdazscripts3/mcjshrinkwrapa

Image Attachments
wrapthis.jpg
Profile
 
 
Posted: 08 July 2013 04:56 PM   [ Ignore ]   [ # 52 ]
Power Member
Avatar
RankRankRank
Total Posts:  1896
Joined  2006-01-19

wrap tip ( or maybe a bad advice i don’t know yet )

during the wrap process, the colliders are projected from the surface of the tube toward Aiko5’s leg

if many of those colliders miss the target ... example the part of the tube near the ankle

the wrapping will be defective

so in Figure 1 you can see i did a pre-shrinking of the shrinkable tube using a D-Form

and in picture 2 we’ll see if that was a good idea

—-

Figure 2 : it worked !!

in fact i did more than that, after shrinking the D-Formed tube with a gap of 5mm

i used mcjShrinkWrapA to further shrink the morphed tube to a new gap of 1.5mm

Another idea : shrink the shrink wrapper tube onto a primitive-Cone

then further shrink it on the leg

 

Image Attachments
preWrap.jpgsiyes.jpg
Profile
 
 
Posted: 08 July 2013 05:18 PM   [ Ignore ]   [ # 53 ]
Power Member
Avatar
RankRankRank
Total Posts:  1896
Joined  2006-01-19

also note i added a 64x32 shrinkable tube to mcjShrinkWrapA’s web page

it’s oval/rectangular and possibly better suited for dresses and bustiers

Image Attachments
tuber.jpg
Profile
 
 
Posted: 08 July 2013 05:52 PM   [ Ignore ]   [ # 54 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4533
Joined  2004-08-11

Thanks so much for the update!  grin

 Signature 

    —- Wolff On The Prowl—-

Pan Project

Profile
 
 
Posted: 08 July 2013 09:44 PM   [ Ignore ]   [ # 55 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4914
Joined  2012-04-07

Wow! More neat improvements, thank you grin

 Signature 
Profile
 
 
Posted: 10 July 2013 06:55 AM   [ Ignore ]   [ # 56 ]
Power Member
Avatar
RankRankRank
Total Posts:  1896
Joined  2006-01-19

** mcjShrinkWrap news **

as was said before, the next version will have a sort of spandex effect

one of the first task of the script (or plugin) is to figure out

if the piece of cloth is a tube or a sheet / scarf / veil / table-cloth

and to sort the vertices as rows and columns or as rings

then the script will tighten the fabric threads as if they were made of rubber

this will create bridges over the valleys ( cleavage ) and belts around pulleys ( legs )

Image Attachments
marionette.gif
Profile
 
 
Posted: 10 July 2013 09:23 AM   [ Ignore ]   [ # 57 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4533
Joined  2004-08-11

WOW… this is really getting better and better!  COOL BEANS!  grin

 Signature 

    —- Wolff On The Prowl—-

Pan Project

Profile
 
 
Posted: 10 July 2013 02:29 PM   [ Ignore ]   [ # 58 ]
Power Member
Avatar
RankRankRank
Total Posts:  1896
Joined  2006-01-19
RAMWolff - 10 July 2013 09:23 AM

WOW… this is really getting better and better!  COOL BEANS!  grin

the part of the program that analyses the tube or sheet of cloth is written

so you’ll be able to use your own sheet or tubes, not just standardized ones issued by me

 

Image Attachments
sheethappens.jpgtobeatubeornottobeatube.jpgyo.jpgringaround.jpg
Profile
 
 
Posted: 10 July 2013 05:18 PM   [ Ignore ]   [ # 59 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4914
Joined  2012-04-07

Sheet of 5 rows?

 Signature 
Profile
 
 
Posted: 10 July 2013 06:59 PM   [ Ignore ]   [ # 60 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4708
Joined  2005-08-03
Patience55 - 10 July 2013 05:18 PM

Sheet of 5 rows?

Looks like it’s counting the edges/separating lines as opposed to the squares themselves.


Or maybe 4 is the new 5?

 Signature 

Wearing duck crap doesn’t make you a duck - Floki
@Deviantart | @ShareCG
Tutorial: V4 Transmap Brows on Genesis via DS only.
——————————-
Websleuths - Help bring the missing home and give names to those who don’t have them.

Profile
 
 
   
4 of 10
4