ICE - create weightmap on intersection

26 views
Skip to first unread message

Rob Wuijster

unread,
Aug 12, 2013, 12:09:28 PM8/12/13
to soft...@listproc.autodesk.com
I'm pretty sure I've seen an ICE setup that did the above, but cannot seem to find it....

Think of sphere intersecting a plane, and on the outline of the sphere the weightmap is created for the plane. I want to use the WM to drive a RT setup.

cheers for any tips/links.

-- 



Rob

\/-------------\/----------------\/

Michael Heberlein

unread,
Aug 12, 2013, 12:23:35 PM8/12/13
to ro...@casema.nl, Softimage List
This should do the trick:

Inline image 1
intersection.png

Raffaele Fragapane

unread,
Aug 12, 2013, 11:28:07 PM8/12/13
to soft...@listproc.autodesk.com
At first glance that will do proximity, not intersection.
Basically, again at first look, if you get that close to a grid it will flag even with no intersection.

If you want to "bleed" an intersection you're better off doing it that.
First intersect (flag a point as in/out with a test inside), then do a second pass where for each point you check proximity, and if a point is flagged you also flag that point as inside (I would recommend separate flags so you can later make the distinction between intersection and bleed).
Lastly, pick up that flag and use it to set the weightmap weight value.
--
Our users will know fear and cower before our software! Ship it! Ship it and let them flee like the dogs they are!
intersection.png

Raffaele Fragapane

unread,
Aug 12, 2013, 11:31:10 PM8/12/13
to soft...@listproc.autodesk.com
Bugger. Hit sent early, that was a draft.
Below quote edited the way it was supposed to read.



On Tue, Aug 13, 2013 at 1:28 PM, Raffaele Fragapane <raffsx...@googlemail.com> wrote:
At first glance that will do proximity, not intersection.
Basically, again at first look, if you get the sphere close enough to a grid it will flag even with no intersection occurring.

If you want to "bleed" an intersection you're better off actually doing exactly that.
 
First intersect (flag a point as in/out with a test inside), then do a second pass where for each point you check its neighbors for that flag, and if a neighbor point is flagged you also flag that (currently beingchecked) point as inside (I would recommend separate flags so you can later make the distinction between intersection and bleed). Make sure you skip points already flagged as inside if you use a single attribute with multiple values.
 
Lastly, pick up that flag/attribute and use it to set the weightmap weight value.

Rob Wuijster

unread,
Aug 13, 2013, 3:14:42 AM8/13/13
to soft...@listproc.autodesk.com
Thanks all.

With all the info given, and finding Pooby's video (2) on ICE I was able to create a nice little, adjustable setup for this.
cheers,

Rob

\/-------------\/----------------\/

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3392 / Virus Database: 3211/6571 - Release Date: 08/12/13


Mário Domingos

unread,
Aug 13, 2013, 5:42:48 AM8/13/13
to ro...@casema.nl, soft...@listproc.autodesk.com
I've made this compound some time ago, maybe it helps.
M_PaintWeightmapWithGeo.scn
Reply all
Reply to author
Forward
0 new messages