save state on points

   2990   8   3
User Avatar
Member
102 posts
Joined: March 2012
Offline
i have pointcloud which gets black when close to object(in vopsop), but when object goes away the points get white back.
i need to those points remain black all the time after object goes away.
how can i do that?
User Avatar
Member
190 posts
Joined: April 2009
Offline
Get the attribute into Chops and use a lag on it.
Then get it back to sops.

I've made and attached a quick example for you.

Hope it's clear.

Attachments:
keep_color_chops.hipnc (104.2 KB)

User Avatar
Member
102 posts
Joined: March 2012
Offline
RudiNieuwenhuis
Get the attribute into Chops and use a lag on it.
Then get it back to sops.

I've made and attached a quick example for you.

Hope it's clear.
Thank you alot!
User Avatar
Staff
2540 posts
Joined: July 2005
Offline
Here's another method that uses the Solver SOP to accumulate Cd colour that should support much higher point counts than the CHOPs method.

Inside the Solver SOP is a simple VOP network that compares Cd from the current frame to the previous time step. If the current colour is greater, use it. If not pass the previous time step colour.

Attachments:
accumulate_color_with_sop_solver.hip (171.0 KB)

There's at least one school like the old school!
User Avatar
Member
102 posts
Joined: March 2012
Offline
jeff
Here's another method that uses the Solver SOP to accumulate Cd colour that should support much higher point counts than the CHOPs method.

Inside the Solver SOP is a simple VOP network that compares Cd from the current frame to the previous time step. If the current colour is greater, use it. If not pass the previous time step colour.
thanks!
User Avatar
Member
102 posts
Joined: March 2012
Offline
when im clicking on input_1 im getting 4816: Fatal error: Segmentation Fault
can someone check it please.
houdini ver 12.0.652

Attachments:
melt.zip (3.5 MB)

User Avatar
Member
102 posts
Joined: March 2012
Offline
nothing?
User Avatar
Staff
2540 posts
Joined: July 2005
Offline
If you are having a specific crash with a hip file and it is reproducible, and you are using a current build (you have all three), please submit the bug to support at sidefx.com.

Have a look at this link for how to submit a bug:
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=15603 [sidefx.com]

Much appreciated.

If you are an apprentice user, you may or may not get a reply but the issue will be processed.

In the mean time, it could be graphics related so try changing the display to H11 in the preferences.
There's at least one school like the old school!
User Avatar
Staff
5156 posts
Joined: July 2005
Online
I've submitted bug 49640 for a crash in the Object Merge SOP.
  • Quick Links