VDB voxel size from life

   4646   8   0
User Avatar
Member
16 posts
Joined: Oct. 2014
Offline
Hey all
I'm trying to get some volumes to grow in size according to their age, from newborn small to old large. Is there an expression I can type into the voxel size parameter that will “just work”?
I've used particles to build my volumes, so we can work with particles here.
User Avatar
Member
16 posts
Joined: Oct. 2014
Offline
I've got a mathematical expression that i can apply to my problem, basically fixing it. my only problem is that I can't access the $age variable in the vdb from particle voxel size parm. do you guys know how to transfer local variables so that i can access my particle lifetime?
User Avatar
Member
7734 posts
Joined: July 2005
Online
The size of the voxels must be the same for the *entire* volume.
User Avatar
Member
16 posts
Joined: Oct. 2014
Offline
edward
The size of the voxels must be the same for the *entire* volume.

so you're saying its impossible?
User Avatar
Member
7734 posts
Joined: July 2005
Online
If you want the size of voxels in the same volume primitive to be different, then yes, that is impossible.
User Avatar
Member
443 posts
Joined: Sept. 2012
Offline
You can fake this:

Attachments:
Grow_volume_over_time.hip (213.8 KB)

User Avatar
Member
16 posts
Joined: Oct. 2014
Offline
edward
If you want the size of voxels in the same volume primitive to be different, then yes, that is impossible.

i was able to do it using pscale. not impossible.

Attachments:
nrt08_fx_v015.hipnc (3.9 MB)

User Avatar
Member
7734 posts
Joined: July 2005
Online
I think you're confusing “voxel size” with “number of voxels corresponding to a particle”.
User Avatar
Member
4189 posts
Joined: June 2012
Offline
A great way to analysis Vdb is with ‘Vdbvisualizetree’ node. It allows you see the volume structure quantifiably.

Attachments:
Screen Shot 2014-12-07 at 8.00.21 am.png (602.5 KB)

  • Quick Links