yaniboy
2021年3月11日 16:42:22
Hello,
This is my first post to this forum so please let me know if I can do anything to provide more information to assist anyone in answering my questions.
I am looking to create a custom velocity field limited to the interior of an object. I have a couple questions.
I am using a vdb to create my velocity field. Is there a way to limit that velocity field to the interior of my object opposed to the limits of the bounding box?
What would be a good method to procedurally create fields that turn away from the interior surface of my object to create the look of flow inside of the object. I have tried using collision which could work but is very expensive and not very art directable.
Thanks in advance,
Yani
Enivob
2021年3月13日 08:52:27
You could try something like this. Invert the normals, then get them to lie down along the surface using the cross product. Route those normals to velocity for you output.
yaniboy
2021年3月13日 12:14:46
Thank you very much Enivob for your response. This is helpful. I am now curious if there is a way to merge this velocity with the one I had previously. The effect I am after is an hourglass with sand flowing from the bottom to the top section and I would like the top section to appear turbulent. I have tried various maths in vops to combine the tangential velocity field and a curly cross product velocity field. Actually the initial field I uploaded is a combination of a cross product and the tangential field I generated using an add node in vops but did not yield the result I wanted. I have also tried volume merge in sops but it doesn't appear to work. I feel like I am missing something very obvious.
mestela
2021年3月13日 21:19:27
yaniboy
2021年3月14日 00:22:28
This is awesome! Thank you Matt! I hadn't thought to use the curl noise in this fashion and I think this will get me on the right path. Also I never realized I could use the alpha attribute like that. I will definitely use that again. Thank you for all the work you have put into the cgwiki.
snailsnell
2025年8月4日 16:06:48
I am wondering if there is a way to do this with a velocity field that doesn't use curl noise!! I am making a velocity field that is directed by some input curves. I need to clip it to the shape of a VDB / constrain it only to the inside of the VDB, but having trouble finding a method