somebody help me to solve this challenge

   1840   6   0
User Avatar
Member
22 posts
Joined: 3月 2018
Offline
Hi
i want to colorize red each primitive just before it's deleted.Lets say primnum no.16 vanishes at frame 10 and i want it to turn red at frame 9 and then vanishes at frame 10
Im removing primitive randomly using removeprim function and animating threshold.
Do you guys have any idea how to solve this?
Edited by Mazb1351 - 2020年9月20日 09:41:35

Attachments:
vanish.png (1018.6 KB)

User Avatar
Member
242 posts
Joined: 1月 2008
Offline
You could use a solver sop, color red based on threshold and delete all red primitives on next timestep or..
You can use a timeshift to cook another frame and check if the prim is there or..
You can add to your threshold and color all prims red that are closing in to the delete-threshold or…
You can generate a random delete frame attribute, subtract one and set color to red at that frame.

So many options.
User Avatar
Member
555 posts
Joined: 2月 2017
Offline
don't like ppl who want answers but are precious about their files.

so until I see some effort, I won't post my file.

Attachments:
FOD.gif (1.3 MB)

User Avatar
Member
22 posts
Joined: 3月 2018
Offline
mawi
You could use a solver sop, color red based on threshold and delete all red primitives on next timestep or..
You can use a timeshift to cook another frame and check if the prim is there or..
You can add to your threshold and color all prims red that are closing in to the delete-threshold or…
You can generate a random delete frame attribute, subtract one and set color to red at that frame.

So many options.
Thanks mawi for the idea
User Avatar
Member
22 posts
Joined: 3月 2018
Offline
vusta
don't like ppl who want answers but are precious about their files.

so until I see some effort, I won't post my file.
Thanks vusta.Actually i tried it before but i was doing some minor mistakes but i now i got my solution.
Edited by Mazb1351 - 2020年9月21日 03:32:31
User Avatar
Member
555 posts
Joined: 2月 2017
Offline
Mazb1351
vusta
don't like ppl who want answers but are precious about their files.

so until I see some effort, I won't post my file.
Thanks vusta.Actually i tried it before but i was doing some minor mistakes but i now i got my solution.
ok, good that you've worked it out yourself.

I don't mind disclosing myfile, not precious at all.

This will have fade effect as well, depending on how long the duration is.

Just before FOD, Frame of Death, it is Red…but the decaying stage starts before that, it starts off black then to red.

Attachments:
FOD2.gif (496.2 KB)
vu_FOD.hiplc (110.0 KB)

User Avatar
Member
22 posts
Joined: 3月 2018
Offline
vusta
Mazb1351
vusta
don't like ppl who want answers but are precious about their files.

so until I see some effort, I won't post my file.
Thanks vusta.Actually i tried it before but i was doing some minor mistakes but i now i got my solution.
ok, good that you've worked it out yourself.

I don't mind disclosing myfile, not precious at all.

This will have fade effect as well, depending on how long the duration is.

Just before FOD, Frame of Death, it is Red…but the decaying stage starts before that, it starts off black then to red.
awesome! really appreciate it. looks simpler than i did.Thanks for sharing.
Here is my result though
Edited by Mazb1351 - 2020年9月21日 08:28:33

Attachments:
flipbook.mp4 (2.5 MB)
flipbookGif.gif (4.5 MB)

  • Quick Links