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
2665 4 0-
- chris wells
- Member
- 57 posts
- Joined: 1月 2015
- オフライン
-
- tamte
- Member
- 9291 posts
- Joined: 7月 2007
- オフライン
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: 1月 2015
- オフライン
-
- Soothsayer
- Member
- 875 posts
- Joined: 10月 2008
- オフライン
-
- chris wells
- Member
- 57 posts
- Joined: 1月 2015
- オフライン
-
- Quick Links