pclaes Posted May 24, 2011 Share Posted May 24, 2011 (edited) Hi, This is a file I put together to show how I did the erosion effect two years ago. I was asked if I could share the hip so here it is. It's been a while since I did that and I lost the original file so I rebuilt it. It's not that hard to do, basically it's all driven by a sopsolver and some particles. The particles collide with the surface and "erode" and "deposit" a bit of material. I visualized it using red and blue. Blue was eroding, red was depositing. So initially the particle is empty and ready to pick up material, so it starts of blue. When it collides a trigger occurs and the blue starts to go to zero and the red starts to increase, after a while the blue is zero and the red also starts to go to zero, this suggests the particle has evaporated and deposited all the material that it has picked up. In the meantime the particle has been moving over the surface and it has been transferring those colors to the surface inside a sopsolver in dops. Those transferred colors are driving displacements. Blue will represent the amount of inward displacement, red represents the amount of outward displacement. And when you mix in some noise in the displacement shader at rendertime, driven by the color, it gives a fairly interesting erosion effect. It is important to not just erode, but also deposit material to make it more believable, that mass needs to go somewhere. And the shape of the erosion and depositing can change based on the forces you apply to your particles. You could also do this completely with volumes and build an isosurface from that volume. That way you would be able to carve out holes in the mesh rather than just displace the surfaces. I did not do the shader, but that is easy enough, just use the color to drive the displacement amount. Have fun learning. Edit: let's see if I can input the vimeo too: Guess not... http://vimeo.com/24145987 particle_erosion_02.hip Edited June 3, 2011 by pclaes 3 Quote Link to comment Share on other sites More sharing options...
Macha Posted May 24, 2011 Share Posted May 24, 2011 (edited) Neat, I like it Peter! Edited May 24, 2011 by Macha Quote Link to comment Share on other sites More sharing options...
Ezz Posted May 24, 2011 Share Posted May 24, 2011 Thanks Peter - very usefull :-) Erik Quote Link to comment Share on other sites More sharing options...
Matt_K Posted May 24, 2011 Share Posted May 24, 2011 Thanks! Will definitely come in handy. Matt. Quote Link to comment Share on other sites More sharing options...
claudio_101 Posted May 24, 2011 Share Posted May 24, 2011 thanks for sharing Peter. Cheers Quote Link to comment Share on other sites More sharing options...
GallenWolf Posted May 25, 2011 Share Posted May 25, 2011 Thanks for sharing!! Quote Link to comment Share on other sites More sharing options...
~nature~ Posted May 27, 2011 Share Posted May 27, 2011 Always good jobs from peter! It's amazing, thanks so much for sharing^^ Quote Link to comment Share on other sites More sharing options...
ChristopherP Posted June 1, 2011 Share Posted June 1, 2011 thanks a lot for sharing this! extremely helpful (getting back into houdini at the moment) and interesting going through your setup, changing up things, etc etc cheers chris Quote Link to comment Share on other sites More sharing options...
ikarus Posted June 2, 2011 Share Posted June 2, 2011 (edited) sweet example, btw if u want to embed a vimeo video in a post just put [media]vimeo url[/media] tags Edited June 2, 2011 by ikarus Quote Link to comment Share on other sites More sharing options...
pclaes Posted June 3, 2011 Author Share Posted June 3, 2011 Glad you guys like it. Cool! Didn't know about the "media" tag. Quote Link to comment Share on other sites More sharing options...
sanlin Posted March 14, 2012 Share Posted March 14, 2012 hi Peter! thanks for sharing the file with us. I had just looked at this post lately... But I was wondering how do we bring the color to the shop for the displacement shader to be able to use it? I am always confused how to bring those information across dop, sop, shop etc.. Do you mind to show us how please? its always fun learning from you. Shandy Quote Link to comment Share on other sites More sharing options...
chrys Posted March 15, 2012 Share Posted March 15, 2012 so helpfull. thank Peter Quote Link to comment Share on other sites More sharing options...
sanlin Posted March 18, 2012 Share Posted March 18, 2012 Hi I just got the shader to be working. If any of you guys were wondering and have no idea like I was before about how to do the shader, here is the file. Thanks to Erik JE to help me out as well. particle_erosion_01.hip Quote Link to comment Share on other sites More sharing options...
mayday Posted April 24, 2012 Share Posted April 24, 2012 It is really helpful. Many thanks cheers Quote Link to comment Share on other sites More sharing options...
maple Posted May 31, 2013 Share Posted May 31, 2013 hi peter,thank you for share this sence Quote Link to comment Share on other sites More sharing options...
TimHart Posted November 2, 2015 Share Posted November 2, 2015 Awesome thank you! 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.