Hi,
Does anyone know the reason why there isn't a boolean attribute type in Houdini?
I know you can make one with a simple integer value but the reason behind boolean attributes themselves is for the small footprint. And in houdini we find ourselves often working on the millions of points so any reduction of data helps right?
And I know you can define a boolean with a simple relation with an integer, float or even vector. I was thinking in performance. While a integer value is a 32 bit attribute with a huge range traditionally a boolean attribute is just 1 or 0, very efficient when dealing with huge amount of data.
Maybe a 1 or 0 int is the same footprint as a boolean attribute?
boolean attributes vs int attributes
3038 3 1- Nicolas Heluani
- Member
- 280 posts
- Joined: Dec. 2015
- Offline
- Olaf Finkbeiner
- Member
- 323 posts
- Joined: Jan. 2015
- Online
Hi Nicolas,
you can create a 8bit integer attribute for a boolean see:
http://www.sidefx.com/docs/houdini15.0/nodes/sop/attribcast [www.sidefx.com]
regards
Olaf
you can create a 8bit integer attribute for a boolean see:
http://www.sidefx.com/docs/houdini15.0/nodes/sop/attribcast [www.sidefx.com]
regards
Olaf
- Nicolas Heluani
- Member
- 280 posts
- Joined: Dec. 2015
- Offline
Olaf FinkbeinerThank you very much!
Hi Nicolas,
you can create a 8bit integer attribute for a boolean see:
http://www.sidefx.com/docs/houdini15.0/nodes/sop/attribcast [www.sidefx.com]
regards
Olaf
- Nima
- Member
- 471 posts
- Joined: Nov. 2013
- Offline
-
- Quick Links