Digital Art Zone

 
   
7 of 10
7
mcjShrinkWrapA for DS 4.5+ - shrink wrap figures and objects—simple basic version A
Posted: 20 July 2013 01:35 AM   [ Ignore ]   [ # 91 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4466
Joined  2004-08-11

COOL BEANS>  looking forward to seeing this implemented!  grin

 Signature 

    —- Wolff On The Prowl—-

Pan Project

Profile
 
 
Posted: 04 August 2013 06:10 AM   [ Ignore ]   [ # 92 ]
Power Member
Avatar
RankRankRank
Total Posts:  1833
Joined  2006-01-19

now that i’m back from the aiko-shoe-making detour

i’ll resume work on the shrinkWrapper script or plugin

here you see in blue the profile of ... something wrapped onto something

and in magenta, the convex hull that is supposed to give us a tent / spandex effect

—- the second image clarifies the situation

the line in green would be like a cloth stretched on top of the something

and the line in magenta would be a hammoc on which the something lays

——

and you know what all this reminds me of ? .... this   ... http://www.youtube.com/watch?v=AOiuh2Upa8s

—-

Turns out what i want has a name, it’s called Andrew’s Monotone Chain Algorithm

http://en.wikibooks.org/wiki/Algorithm_Implementation/Geometry/Convex_hull/Monotone_chain

Image Attachments
coberit.jpgoverunder.jpgtestsheet.pngtestsheet2.jpgtestsheet3.jpg
Profile
 
 
Posted: 04 August 2013 09:40 AM   [ Ignore ]   [ # 93 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4466
Joined  2004-08-11

My head hurts from the technical stuff!  lol Still watching and hoping you can get all this working even better than before.  cool grin

 Signature 

    —- Wolff On The Prowl—-

Pan Project

Profile
 
 
Posted: 05 August 2013 06:34 AM   [ Ignore ]   [ # 94 ]
Power Member
Avatar
RankRankRank
Total Posts:  1833
Joined  2006-01-19
RAMWolff - 04 August 2013 09:40 AM

My head hurts from the technical stuff!  lol Still watching and hoping you can get all this working even better than before.  cool grin

some progress! i caught the moon in a net

not there yet but that’s progress, the curve shows how the “spandex” part of the script would treat a cloth shrink-wraped onto a ball+floor

Image Attachments
spidermoon.png
Profile
 
 
Posted: 05 August 2013 01:42 PM   [ Ignore ]   [ # 95 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4466
Joined  2004-08-11

Very nice but do you think there is a way to even out the curvatures where the verts on the ground are more gradual up to the verts where they are more populated on the moon ball?? 

Looking at your dialog your working in what would happen if you spaced out the dots more evenly from the ground to where that first dot is up on the curve on either side??

 Signature 

    —- Wolff On The Prowl—-

Pan Project

Profile
 
 
Posted: 05 August 2013 08:06 PM   [ Ignore ]   [ # 96 ]
Power Member
Avatar
RankRankRank
Total Posts:  1833
Joined  2006-01-19
RAMWolff - 05 August 2013 01:42 PM

Very nice but do you think there is a way to even out the curvatures where the verts on the ground are more gradual up to the verts where they are more populated on the moon ball?? 

Looking at your dialog your working in what would happen if you spaced out the dots more evenly from the ground to where that first dot is up on the curve on either side??

i had an experimental version where, as a last step, i reconstructed the curves/loops by first measuring the loop. then spreading the vertices at constant distances, i could add that as an option.

but this wont affect the shape of the curves which are like rubber-bands under tension

it’s not a simulation of an elastic knitted cloth, in fact for now its just rows or columns of rubber-bands along one axis

when i’ll combine 2 axis it should give interesting results

one thing i may also do is a tapering effect based on something like the D-Form’s weights

in the   distant dream future i’d like to add semi-random wrinkle/folds in the areas that are not in contact with the wrappee

 

Profile
 
 
Posted: 05 August 2013 08:17 PM   [ Ignore ]   [ # 97 ]
Power Member
Avatar
RankRankRank
Total Posts:  1833
Joined  2006-01-19
RAMWolff - 05 August 2013 01:42 PM

Very nice but do you think there is a way to even out the curvatures where the verts on the ground are more gradual up to the verts where they are more populated on the moon ball?? 

Looking at your dialog your working in what would happen if you spaced out the dots more evenly from the ground to where that first dot is up on the curve on either side??

oh but actually in the script, ( my laboratory version, that is ) presently, there IS a system that “re-populates” the curve, it’s just that in the previous plot they were not computed , but in a forum post before that one you could see how the curves had the same number of vertices at the end of the process

so it would look more like this

Image Attachments
repop.jpg
Profile
 
 
Posted: 05 August 2013 10:16 PM   [ Ignore ]   [ # 98 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4466
Joined  2004-08-11

Ooo, now were talking!  That’s lovely!

 Signature 

    —- Wolff On The Prowl—-

Pan Project

Profile
 
 
Posted: 06 August 2013 12:37 AM   [ Ignore ]   [ # 99 ]
Power Member
Avatar
RankRankRank
Total Posts:  1833
Joined  2006-01-19

Fig 1 - a momentous event, the first time the script came up with an acceptable rubberband effect for ribbon/plane wrappers
Fig 2 - corrected interpolation issue
Fig3 - complex case
Fig 4 - improved
Fig 3 - stuff to look into

 

 

Image Attachments
momentous1.jpgsecond.jpgnetted.jpgimprov.jpgmouse.jpg
Profile
 
 
Posted: 06 August 2013 08:50 AM   [ Ignore ]   [ # 100 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4466
Joined  2004-08-11

This is just awesome!  WOW!

 Signature 

    —- Wolff On The Prowl—-

Pan Project

Profile
 
 
Posted: 06 August 2013 10:01 AM   [ Ignore ]   [ # 101 ]
Power Member
Avatar
RankRankRank
Total Posts:  1833
Joined  2006-01-19
RAMWolff - 06 August 2013 08:50 AM

This is just awesome!  WOW!

had some fence issues to solve ( is a flat line concave or convex? asked the computer )

next time i should have the first example of lets call it a spandexish mesh

Image Attachments
fence.jpg
Profile
 
 
Posted: 06 August 2013 10:48 AM   [ Ignore ]   [ # 102 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4466
Joined  2004-08-11

WHOA, that’s looking perfectumundo!  Getting the shrink wrap to work over many areas of the body will greatly benefit from the new improvements.

 Signature 

    —- Wolff On The Prowl—-

Pan Project

Profile
 
 
Posted: 06 August 2013 11:04 AM   [ Ignore ]   [ # 103 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4763
Joined  2012-04-07

Still here too. Haven’t got a clue how you do all that, but it looks like it’ll be fun to play with ... web wires, forcefields, ...

 Signature 
Profile
 
 
Posted: 06 August 2013 10:15 PM   [ Ignore ]   [ # 104 ]
Power Member
Avatar
RankRankRank
Total Posts:  1833
Joined  2006-01-19
Patience55 - 06 August 2013 11:04 AM

Still here too. Haven’t got a clue how you do all that, but it looks like it’ll be fun to play with ... web wires, forcefields, ...

i think my characters are getting tired of the spiderman tests but they wont mind having new clothes done with it

 

Image Attachments
spidergreen.jpgaikomiku.jpg
Profile
 
 
Posted: 06 August 2013 10:43 PM   [ Ignore ]   [ # 105 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4763
Joined  2012-04-07
Casual - 06 August 2013 10:15 PM
Patience55 - 06 August 2013 11:04 AM

Still here too. Haven’t got a clue how you do all that, but it looks like it’ll be fun to play with ... web wires, forcefields, ...

i think my characters are getting tired of the spiderman tests but they wont mind having new clothes done with it

 

Okay grin

 Signature 
Profile
 
 
   
7 of 10
7