urlGrey Posted December 13, 2012 Share Posted December 13, 2012 Hello. Long time lurker first time caller. I was following the sidefx advanced tutorial on fluid solvers from scratch (http://www.sidefx.co...2200&Itemid=344), which has been ++useful and helped me understand a lot of the fundamentals and workings of these things in Houdini. He doesn't, however, go into *collisions* until the flip fluid-style setup, and I need help understanding collision implementation with my current gas dealio (jpg attached). I understand I need an SDF volume (right?) and to use the appropriate non-divergent node, and I understand the data and fields and the solvers I've used so far. I tried making an SDF volume with a box and bringing it in via the sop scalar field node and trying to set up a collision field with it all, but I imagine that's more or less wrong. Attached is a screen shot of the very simple setup I have so far (ignore the bypassed nodes) that just incorporates density and velocity with a pump thrown in. Thanks for your help! -Grey (I also tried picking apart a dop network made from the pyro shelf tool and a rigid body, but, while it works, I don't know why:) Quote Link to comment Share on other sites More sharing options...
urlGrey Posted December 16, 2012 Author Share Posted December 16, 2012 Finally figured it out! I overlooked an example file and just stumbled upon it last night. I pretty much just copied what they did in "SourceVorticlesAndCollision" without the vorticles. All I had to do was switch out the multisolver with a smoke solver (which I didn't think would work until I saw that example file), and bring in the collision objects as shown. I guess it's nice that the smoke solver just handles it for you like that, but I'm still a teensy bit curious how you'd use the Collision Field to go about it 0.0 Quote Link to comment Share on other sites More sharing options...
anim Posted December 16, 2012 Share Posted December 16, 2012 the think is, if you are using smoke solver, then you are not building it from scratch, since it is already implemented there but you are just doubleclick away from figuring out how just dive into smoke solver to see how are the collisions set up Quote Link to comment Share on other sites More sharing options...
ikarus Posted December 18, 2012 Share Posted December 18, 2012 you should take a look at this node http://www.sidefx.com/docs/houdini12.1/nodes/dop/gasbuildcollisionmask the outputs of this node (collision + collisionvel) go directly into the projection dop and that's all you really need to do. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.