Digital Art Zone

 
   
1 of 10
1
mcjShrinkWrapA for DS 4.5+ - shrink wrap figures and objects—simple basic version A
Posted: 27 June 2013 07:19 PM   [ Ignore ]
Power Member
Avatar
RankRankRank
Total Posts:  2095
Joined  2006-01-19

this evening i’ll quickly cook up a script which uses the services of the free mcjCollider
plugin to shrink wrap tubes around figures and objects—eventually i’ll post a version
that can also make “spandex” effects

it’s ready ! https://sites.google.com/site/mcasualsdazscripts3/mcjshrinkwrapa

but the manual / web page will be expanded to cover the different ways to use the script


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Using this tool or in fact any modeling tool to create content / clothes etc ...
when it is based on the ( Daz copyrighted ) figure shapes ( example, creating a dress around a Genesis figure”
can be done legally as long as you comply with the EULA.

please refer to the post by Administrator DAZ_BHowell

found here http://www.daz3d.com/forums/viewthread/24707/P60

===========================================================================

The complete EULA for the DAZ Content can be found here http://www.daz3d.com/eula

===========================================================================
here’s an important excerpt from DAZ’s Eula

any derived or additional works are designed to require or encourage the use of Content available through the online DAZ store either by (i) requiring the use of such Content to function, or (ii) allowing only limited function when not used in conjunction with Content from the online DAZ store; and upon receipt of a written request from DAZ, User will immediately cease any and all distribution of the derived works User has created from the Content licensed from DAZ, if DAZ has determined, at its sole discretion, that (i) the derived work is substantially similar to or is a clone of existing Content; or (ii) the derived work fails to require the use of Content available through the online DAZ store.
===========================================================================


note that none of this constitutes a legal advice from me

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Image Attachments
shrink.jpg
Profile
 
 
Posted: 27 June 2013 07:39 PM   [ Ignore ]   [ # 1 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4899
Joined  2005-08-03

Ah yes. Homemade bracers, shin guards, and thick neck thingies. /watches

 Signature 

Wearing duck crap doesn’t make you a duck - Floki
@Deviantart | @ShareCG
Tutorial: V4 Transmap Brows on Genesis (DS)
Script: Bulk convert V4/M4 mats for Genesis2 (DS/Poser)

Profile
 
 
Posted: 27 June 2013 08:27 PM   [ Ignore ]   [ # 2 ]
Addict
Avatar
RankRankRankRank
Total Posts:  5128
Joined  2012-04-07

Watching this too {happy smiley}

 Signature 
Profile
 
 
Posted: 27 June 2013 08:28 PM   [ Ignore ]   [ # 3 ]
Power Member
Avatar
RankRankRank
Total Posts:  2095
Joined  2006-01-19

half way there i just have to make sense of transforms ... since i allow the tube to be scaled moved and rotated before the shrink operation

 

Image Attachments
shrink2.jpg
Profile
 
 
Posted: 27 June 2013 08:40 PM   [ Ignore ]   [ # 4 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4899
Joined  2005-08-03

I wonder how Daz will view distribution of things created using this, since they don’t allow the use of shrinkwrapping in modelling software if the intention is to distribute what is being made, although they do allow you to use the transfer util/autofit to conform the clothing and then re-export it for touch ups.

 Signature 

Wearing duck crap doesn’t make you a duck - Floki
@Deviantart | @ShareCG
Tutorial: V4 Transmap Brows on Genesis (DS)
Script: Bulk convert V4/M4 mats for Genesis2 (DS/Poser)

Profile
 
 
Posted: 27 June 2013 08:46 PM   [ Ignore ]   [ # 5 ]
Power Member
Avatar
RankRankRank
Total Posts:  2095
Joined  2006-01-19

yay it works

i just have to add the option to set the minimal distance from the wrapped object

in this case it was 0, but i dialed the shrink-wrap-morph strength to 98%


figure 2 : 2mm gap

Image Attachments
shrink3.jpgshrink4.jpg
Profile
 
 
Posted: 27 June 2013 08:51 PM   [ Ignore ]   [ # 6 ]
Addict
Avatar
RankRankRankRank
Total Posts:  5128
Joined  2012-04-07
Casual - 27 June 2013 08:46 PM

yay it works

i just have to add the option to set the minimal distance from the wrapped object

in this case it was 0, but i dialed the shrink-wrap-morph strength to 98%

super Kool!

 Signature 
Profile
 
 
Posted: 27 June 2013 08:56 PM   [ Ignore ]   [ # 7 ]
Addict
Avatar
RankRankRankRank
Total Posts:  5128
Joined  2012-04-07
Vaskania - 27 June 2013 08:40 PM

I wonder how Daz will view distribution of things created using this, since they don’t allow the use of shrinkwrapping in modelling software if the intention is to distribute what is being made, although they do allow you to use the transfer util/autofit to conform the clothing and then re-export it for touch ups.

That depends upon which program is really doing what. If it’s a copy of the figure’s mesh, then [generally speaking - as in for most of us] it’s a no-no for redistribution but I’m sure Casual knows what he’s doing. And it’s up to everybody to use whichever programs and methods they have responsibly, not the inventor’s. {Whether it’s Zbrush or a D/S script.}

 Signature 
Profile
 
 
Posted: 27 June 2013 09:03 PM   [ Ignore ]   [ # 8 ]
Power Member
Avatar
RankRankRank
Total Posts:  2095
Joined  2006-01-19
Vaskania - 27 June 2013 08:40 PM

I wonder how Daz will view distribution of things created using this, since they don’t allow the use of shrinkwrapping in modelling software if the intention is to distribute what is being made, although they do allow you to use the transfer util/autofit to conform the clothing and then re-export it for touch ups.

well then i’ll just post a warning on my release web page reminding whichever way Daz3D worded the prohibition

 

Profile
 
 
Posted: 27 June 2013 09:09 PM   [ Ignore ]   [ # 9 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4899
Joined  2005-08-03
Patience55 - 27 June 2013 08:56 PM
Vaskania - 27 June 2013 08:40 PM

I wonder how Daz will view distribution of things created using this, since they don’t allow the use of shrinkwrapping in modelling software if the intention is to distribute what is being made, although they do allow you to use the transfer util/autofit to conform the clothing and then re-export it for touch ups.

That depends upon which program is really doing what. If it’s a copy of the figure’s mesh, then [generally speaking - as in for most of us] it’s a no-no for redistribution but I’m sure Casual knows what he’s doing. And it’s up to everybody to use whichever programs and methods they have responsibly, not the inventor’s. {Whether it’s Zbrush or a D/S script.}

I wasn’t intending for Casual to change anything, I was more or less thinking out loud. lol
I’ll be getting this thing regardless. haha

 Signature 

Wearing duck crap doesn’t make you a duck - Floki
@Deviantart | @ShareCG
Tutorial: V4 Transmap Brows on Genesis (DS)
Script: Bulk convert V4/M4 mats for Genesis2 (DS/Poser)

Profile
 
 
Posted: 27 June 2013 09:27 PM   [ Ignore ]   [ # 10 ]
Power Member
Avatar
RankRankRank
Total Posts:  2095
Joined  2006-01-19

now adding the GUI

Image Attachments
shrink5.png
Profile
 
 
Posted: 27 June 2013 09:27 PM   [ Ignore ]   [ # 11 ]
Addict
Avatar
RankRankRankRank
Total Posts:  5128
Joined  2012-04-07
Vaskania - 27 June 2013 09:09 PM

... edit ...
I wasn’t intending for Casual to change anything, I was more or less thinking out loud. lol
I’ll be getting this thing regardless. haha

Me too!

 

 Signature 
Profile
 
 
Posted: 27 June 2013 09:52 PM   [ Ignore ]   [ # 12 ]
Power Member
Avatar
RankRankRank
Total Posts:  2095
Joined  2006-01-19

performing a test ....

figure 2 : results

remember the shrink wrapper scripts projects the tube toward the figure( using mcjCollider )

if mcjCollider hits nothing, the vertex of the tube stays where it is

i was using an oval shaped tube,

figure 3 : now lets try with a circular/round wrapper tube

figure 4 results, it’s better but there were misses

figure 5 i’ll do it with Aiko5 in an easier pose

Image Attachments
tester.jpgissooz.jpgtest2.jpgrezz.jpgbarrel.jpg
Profile
 
 
Posted: 27 June 2013 10:24 PM   [ Ignore ]   [ # 13 ]
Power Member
Avatar
RankRankRank
Total Posts:  2095
Joined  2006-01-19

test result - works better when the figure/object to be wrapped is at the focus (same axis) as the wrapper tube

note that i have a script named mcjPrimMaker which can be used to generate

custom tubes, but i’ll supply you with 3 tubes, oval 48x16, round 32x16 and ellipse 32x16

now i want to make sure it works for cases wher the tube is inside-out

hey i could project the tube from the inside and it would never miss !

Image Attachments
okay.jpg
Profile
 
 
Posted: 27 June 2013 10:27 PM   [ Ignore ]   [ # 14 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4899
Joined  2005-08-03
Casual - 27 June 2013 10:24 PM

test result - works better when the figure/object to be wrapped is at the focus (same axis) as the wrapper tube

note that i have a script named mcjPrimMaker which can be used to generate

custom tubes, but i’ll supply you with 3 tubes, oval 48x16, round 32x16 and ellipse 32x16

now i want to make sure it works for cases wher the tube is inside-out

hey i could project the tube from the inside and it would never miss !

I enjoy your random notepad-style posts of your process.
I always picture you like the Doc Emmet Brown of 3D. Constantly pacing around with thoughts just spewing out. lol

 Signature 

Wearing duck crap doesn’t make you a duck - Floki
@Deviantart | @ShareCG
Tutorial: V4 Transmap Brows on Genesis (DS)
Script: Bulk convert V4/M4 mats for Genesis2 (DS/Poser)

Profile
 
 
Posted: 27 June 2013 11:03 PM   [ Ignore ]   [ # 15 ]
Power Member
Avatar
RankRankRank
Total Posts:  2095
Joined  2006-01-19
Vaskania - 27 June 2013 10:27 PM


I enjoy your random notepad-style posts of your process.
I always picture you like the Doc Emmet Brown of 3D. Constantly pacing around with thoughts just spewing out. lol

well i had to make a hat for A5

but ok ok ok i get back to the shrink wrap script

figure 2 looks a bit less scary Blender rendered but i dont have time for long renders!

figure 3 - an inside-out tube was plaved inside A5 and projected outward

figure 4 - same thing except, this time the spacing was set to -1cm, so the tube was pushed out of Aiko5

figure 5 - ok i think it’s ready, i added the inside-out checkbox, so you can expand a tube from inside a figure

Image Attachments
Aiko5_Brown.jpgabrown.jpginsideout.jpgya2.jpgready.jpg
Profile
 
 
   
1 of 10
1