How to change vdb grid voxel_fog_density name to density?

a.mayaUser
Enthusiast

How to change vdb grid voxel_fog_density name to density?

a.mayaUser
Enthusiast
Enthusiast

Hi everybody,

when I do simple conversion like using the convert_to_volume or the mesh_to_volume node to a vdb file I always get the voxel_fog_density grid name which I'd like to call just density.

Is there a node to change this default grid name? Or any other property/attribute name, since I'm asking...

Reply
378 Views
6 Replies
Replies (6)

sepu6
Advisor
Advisor

Set geo property and you want to target the voxel tile tree

0 Likes

a.mayaUser
Enthusiast
Enthusiast

Thanks @sepu6, but I'm not sure I'm connecting the right way: the set geo property it does indeed create a second grid called density, but my goad is to take the already existing voxel_fog_density and just rename it.

0 Likes

sepu6
Advisor
Advisor

if do that you won't be able to see the density field in Maya (in the VP) You can still render it -  if you want to export it as a VDB you can just delete the voxel_* properties with the "erase properties" node and export just the density field. 

0 Likes

a.mayaUser
Enthusiast
Enthusiast

It's just for export as vdb: but the erase properties doesn't fit the purpose, I can't use the already existing voxel_fog_density if I delete it, I just need to change its name for exporting to other sw.

sepu6
Advisor
Advisor

Can you show me the graph? what I mentioned above works. I've done it many times. I am not sure what is not working.

0 Likes

morten.bojsen-hansen
Autodesk
Autodesk

2024-09-11_22-41.png

0 Likes