Jump to content

Accessing voxel grid data


ianbaxter1

Recommended Posts

Hi

If I have a voxel grid, by middle clicking I can see the fields and relevant resolutions. Now I want to see what the actual values are within these voxels.

If I have 5 million voxels I obviously don't want to view them all but can I access/view say the min/max density and min/max temperature of the voxel grid?

Cheers

Link to comment
Share on other sites

You can use Volume Reduce SOP to calculate the min/max values in volume primitives. You can also set it to store these values in primitive attributes to make them easily accesible in Attributes Spreadsheet / Details View.

Edited by melazoma
  • Like 1
Link to comment
Share on other sites

I use the Volume Slice SOP. This gives a 2D grid of points matching the voxels. If you look at the density attribute generated, you'll see the actual voxel values while the point colours give you an indication of how those values are changing.

Link to comment
Share on other sites

Any idea how to access OpenVDB voxel data?

For what purpose? You can process the VDB primitives via various SOPs (incl. Volume VOP SOP), and you can evaluate specific voxels if you want via the new hou.VDB (subclass of hou.Prim) primitive class.

EDIT: As mentioned above, the various volume hscript expression functions as well.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...