Aram86 Posted September 30, 2015 Share Posted September 30, 2015 Hello , I got grid ( ocean surface generate in 3D max and exported as alembick scene to houdini, generated by ocean tool kit in max) , now i try to generate foam from it ( as particle in white water ). Any idea how do it ? I was try to put that grid instead of ocean surface on wave tank ( wavetank_initial -> wavetank ) but it not work as i expected. Any idea how to do it ? I know its much more easy to generate ocean surface in houdini and then is easy to fallow , but i just get that problem and try to fight with it. Quote Link to comment Share on other sites More sharing options...
Aram86 Posted October 1, 2015 Author Share Posted October 1, 2015 So no one can give me any idea ? Quote Link to comment Share on other sites More sharing options...
lazza79 Posted October 1, 2015 Share Posted October 1, 2015 (edited) I am probably the less expert of the forum but I'll give it a shot. I think that your goal is to generate foam from the cusps of the waves. You can use this trick: apply "measure" SOP to your grid, use the "curvature" parameter to isolate the cusps (I used an attribute VOP with a FIT to get the curvature > 0.5). At this point you know where the cusps are and using the color, you can generate points that you will eventually use to generate foam. I hope this helps you... If not, remember that I'm a noob! I'm attaching the file I created for the example Cheers! Lazza79 curvature.hipnc Edited October 1, 2015 by lazza79 Quote Link to comment Share on other sites More sharing options...
Aram86 Posted October 1, 2015 Author Share Posted October 1, 2015 I am probably the less expert of the forum but I'll give it a shot. I think that your goal is to generate foam from the cusps of the waves. You can use this trick: apply "measure" SOP to your grid, use the "curvature" parameter to isolate the cusps (I used an attribute VOP with a FIT to get the curvature > 0.5). 2015-10-01_111749.png At this point you know where the cusps are and using the color, you can generate points that you will eventually use to generate foam. 2015-10-01_111810.png I hope this helps you... If not, remember that I'm a noob! I'm attaching the file I created for the example Cheers! Lazza79 curvature.hipnc Thx for good idea I'm working on it , now just need to control birth rate , and what they do after they are birthed Quote Link to comment Share on other sites More sharing options...
fathom Posted October 1, 2015 Share Posted October 1, 2015 (edited) if you've got a constant topology, you can generate velocities using a trail sop. if you've got velocities, then you can run a simple sop solver that does the following: merge in your new foam points generated form whatever method you choose ray project your foam points into your surface grab the velocities from the surface hit position move your foam points based on this velocity increment the foam age and remove any that are too old repeat Edited October 1, 2015 by fathom 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.