Velocity doesn't work after converting paritcles to vdb

   459   4   1
User Avatar
Member
4 posts
Joined: Sept. 2023
Offline
I have a particle simulation and after caching I copy a sphere to the points and then I use a VDBfrompolygons node and then convertvdb node. I did that to merge the spheres when they interact with each other. However; I don't have velocity anymore, as a result, the motion blur doesn't work at rendering. Any suggestions for this problem?
Edited by Targol1381 - March 11, 2024 13:57:09
User Avatar
Member
2537 posts
Joined: June 2008
Online
You can recover your velocity using an attribute transfer from your original source to the meshed particles. Another option is to include the velocity in the VDBFromPolygons. That node discards most attributes, but you can add them in to travel downstream as a companion VDB. ConvertVDB can recover them, but you have to set it up manually.
Edited by Enivob - March 11, 2024 13:25:44
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
8555 posts
Joined: July 2007
Offline
if it's literally just spheres you are copying onto your points and if your points have f@pscale attribute you can use

Particle Fluid Surface SOP
- set Method to Spheres
- set Particle Separation to 1 and Voxel Scale to equivalent of your VDB From Polygons
- include any attributes you want to transfer in Transfer Attributes parameter
- play with Filtering tab if you want the spheres to blend together a bit
Edited by tamte - March 11, 2024 13:52:00
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
4 posts
Joined: Sept. 2023
Offline
Enivob
You can recover your velocity using an attribute transfer from your original source to the meshed particles. Another option is to include the velocity in the VDBFromPolygons. That node discards most attributes, but you can add them in to travel downstream as a companion VDB. ConvertVDB can recover them, but you have to set it up manually.

Thank you so much. It worked with an attribute transfer node.
User Avatar
Member
4 posts
Joined: Sept. 2023
Offline
tamte
if it's literally just spheres you are copying onto your points and if your points have f@pscale attribute you can use

Particle Fluid Surface SOP
- set Method to Spheres
- set Particle Separation to 1 and Voxel Scale to equivalent of your VDB From Polygons
- include any attributes you want to transfer in Transfer Attributes parameter
- play with Filtering tab if you want the spheres to blend together a bit

Thank you so much for your help.
  • Quick Links