It appears that the volumemin/max doesn't function on VDB's. I can't find an equivalent vex function either. Say I want to normalize a curvature field, how should I go about that?
Converting to native format also seems to produce bad results because of the change in values at the edge of the narrow band.
Any ideas?
Min/Max values for VDB?
8863 4 2- tjeeds
- Member
- 339 posts
- Joined: Aug. 2007
- Offline
- sho
- Member
- 45 posts
- Joined: July 2005
- Offline
- galacticfungus
- Member
- 1 posts
- Joined: Jan. 2017
- Offline
I needed to do this recently and found a solution in vex, this is possible in 16.5 and probably earlier using something like the following
debrisMax will contain the highest value of any voxel in the volume debris.
int primNum = nametoprim(geoself(),"debris"); float debrisMax = primintrinsic(geoself(),"volumemaxvalue", primNum);
debrisMax will contain the highest value of any voxel in the volume debris.
- sho
- Member
- 45 posts
- Joined: July 2005
- Offline
- tjeeds
- Member
- 339 posts
- Joined: Aug. 2007
- Offline
-
- Quick Links