検索 - User list
Full Version: Art Direction velocity fields on interior of object
Root » Houdini Indie and Apprentice » Art Direction velocity fields on interior of object
yaniboy
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
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
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
This might give you some ideas.

The curlnoise vop has options to steer noise away from a surface, some more notes here:

https://www.tokeru.com/cgwiki/index.php?title=HoudiniVolumes#Swirly_lines.2C_or_worms_with_volumes_and_curl_noise [www.tokeru.com]
yaniboy
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
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB