Is there a way to turn the number of voxels in a vdb into something accessible via vex? Short story long, I'm trying to test to see if an object can be turned into a vdb, and if it produces no voxels. Then use a different technique.
thanks
find number of voxels
2603 4 0-
- chris wells
- Member
- 57 posts
- Joined: Jan. 2015
- Offline
-
- tamte
- Member
- 9265 posts
- Joined: July 2007
- Online
you can probably use volumeres() [www.sidefx.com] Hscript function
or volumeres() [www.sidefx.com] VEX function
to see if any of the dimensions is 0, in which case the volume primitive has probably no voxels
you can probably also use Bound SOP, if it returns all points at origin, the input has probably no voxels
or volumeres() [www.sidefx.com] VEX function
to see if any of the dimensions is 0, in which case the volume primitive has probably no voxels
you can probably also use Bound SOP, if it returns all points at origin, the input has probably no voxels
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- chris wells
- Member
- 57 posts
- Joined: Jan. 2015
- Offline
-
- Soothsayer
- Member
- 875 posts
- Joined: Oct. 2008
- Offline
-
- chris wells
- Member
- 57 posts
- Joined: Jan. 2015
- Offline
-
- Quick Links