Delete random Primitives over time With Vex?

   1530   4   0
User Avatar
Member
10 posts
Joined: 5月 2018
Offline
Im fairly new to vex and im trying to figure out the best vex code to delete random primitive over time starting at frame 50 or whatever.
User Avatar
Member
555 posts
Joined: 2月 2017
Offline
dunno about best, but here's one way…basically, a prim accumulates a random value in the red channel overtime….at a certain threshold, it gets blasted off.
Edited by vusta - 2020年2月26日 20:19:46

Attachments:
vu_DelPrimsOverTime.hiplc (231.1 KB)

User Avatar
Member
10 posts
Joined: 5月 2018
Offline
vusta
dunno about best, but here's one way…basically, a prim accumulates a random value in the red channel overtime….at a certain threshold, it gets blasted off.

Thanks For the reply. The method you created i dont think works with what im trying to do. Im trying to delete some primitives constraints so that my fracture object can break.

Attachments:
Delete_prims_OverTime.hiplc (388.1 KB)

User Avatar
Member
555 posts
Joined: 2月 2017
Offline
works…just copy your 3 nodes into my network, plug your ‘lines’ into the color node…you'll see it does the same job for lines as faces.

You'll probably have to incorporate the logic into your DOP with a SOP solver ? dunno how you have your DOP setup.
User Avatar
Member
555 posts
Joined: 2月 2017
Offline
here you are, same logic…works

Attachments:
vu_RBDRandomBreak.hipnc (1.0 MB)

  • Quick Links