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
1720 4 0- chris wells
- Member
- 57 posts
- Joined: 1月 2015
- Offline
- tamte
- Member
- 8837 posts
- Joined: 7月 2007
- Offline
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
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- chris wells
- Member
- 57 posts
- Joined: 1月 2015
- Offline
- Soothsayer
- Member
- 874 posts
- Joined: 10月 2008
- Offline
- chris wells
- Member
- 57 posts
- Joined: 1月 2015
- Offline
-
- Quick Links