I have a volume with density values from an isooffset node.
Inside is 1.0 outside is 0.0 but on the border I have all kind of values ranging from 0 to 1.
How can I discretize / binarize the values with houdini ?
ATM I am using a python node with a numpy.where statement which is really slow ..
Maybe with a volume wrangle node ?
but how could I formulate the condition ?
binarize volume
2484 3 1-
- dulo
- Member
- 383 posts
- Joined: June 2010
- Offline
-
- eetu
- Member
- 606 posts
- Joined: May 2007
- Offline
-
- dulo
- Member
- 383 posts
- Joined: June 2010
- Offline
-
- animatrix_
- Member
- 4806 posts
- Joined: Feb. 2012
- Online
dulo
rint() is the way to go, but just out of interest .. is it possible to have conditions in wrangle expressions ?
Yes.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]

-
- Quick Links