Motion blur from VDB morph
1408 9 1- mzigaib
- Member
- 951 posts
- Joined: 4月 2008
- Offline
- mzigaib
- Member
- 951 posts
- Joined: 4月 2008
- Offline
I mean how would be a good way to produce a vector field for motion blur from something like this?
https://www.youtube.com/watch?v=nDTkjbEwdOM [www.youtube.com]
or this:
https://www.youtube.com/watch?v=GnSdgyhlsWE [www.youtube.com]
https://www.youtube.com/watch?v=nDTkjbEwdOM [www.youtube.com]
or this:
https://www.youtube.com/watch?v=GnSdgyhlsWE [www.youtube.com]
- ironsightdesign
- Member
- 17 posts
- Joined: 4月 2020
- Offline
- rafaels
- Member
- 696 posts
- Joined: 3月 2009
- Offline
Can you use a gradient of the field to sample as velocity? Or basically whatever velocity field you're using to advect the volume...
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
- mzigaib
- Member
- 951 posts
- Joined: 4月 2008
- Offline
- rafaels
- Member
- 696 posts
- Joined: 3月 2009
- Offline
mzigaib
or this:
https://www.youtube.com/watch?v=GnSdgyhlsWE [www.youtube.com]
In this one he is literally using the gradient of a density field to generate a velocity field for advection. It seems coherent to me that such velocity field would be appropriate for motion blur calculations.
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
- ironsightdesign
- Member
- 17 posts
- Joined: 4月 2020
- Offline
rafaels
Can you use a gradient of the field to sample as velocity? Or basically whatever velocity field you're using to advect the volume...
The object is being revealed with a box moving over it and SDF Intersect. Im also using MOPs to replicate a c4d cloner setup to add to the edge of the volume. Those are being scaled up as the box moves to reveal the object, but not sure if there's a way to transfer that motion/velocity onto the final vdb.
- mzigaib
- Member
- 951 posts
- Joined: 4月 2008
- Offline
rafaelsmzigaib
or this:
https://www.youtube.com/watch?v=GnSdgyhlsWE [www.youtube.com]
In this one he is literally using the gradient of a density field to generate a velocity field for advection. It seems coherent to me that such velocity field would be appropriate for motion blur calculations.
It is hard to tell since I can not see any final render to analyse it but it seems to me it is going to fall in to the situation that I was talking about before where you have velocity everywhere you should have velocity only where it is moving and also there is the matter of the intensity of the velocities where you don't have any way to calculate where is faster or the actual acceleration since this is just coming from the information of SDFs gradient.
If I don't have a way to say and show to a sup exactly and clearly how motion blur is working when I send something like this I would rather not use it and here I don't think I can do that.
Edited by mzigaib - 2024年1月10日 12:49:32
- rafaels
- Member
- 696 posts
- Joined: 3月 2009
- Offline
I see your point. I tried something quick and dirty and it'll depend a lot on how fast you'd be advecting your fields... but this worked for my hypothetical case:
Again, I don't think it'll work for all cases especially if your growth pattern is very abrupt.
- Mesh the current frame and the previous frame (with a timeshift);
- Subtract the current point position to the closest position on the mesh of the previous frame (e.g. using xyzdist in a vopnet);
- Then you can either clamp the velocity values based on the minimum threshold and smooth out all the velocity vectors to prevent any jumping around;
Again, I don't think it'll work for all cases especially if your growth pattern is very abrupt.
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
- mzigaib
- Member
- 951 posts
- Joined: 4月 2008
- Offline
-
- Quick Links