gangland Posted February 25, 2022 Share Posted February 25, 2022 Hey guys. I building an underwater scene. In dop I using high buoyancy values. i would like to delete the velocity and density field right above the water surface directly in dop. it would improve to memory consumption. Also cut the velocity field(in the surface of sea) that in future would advect points. i not figuring how to do that, can anyone help me? air_v00.hip Quote Link to comment Share on other sites More sharing options...
bunker Posted February 25, 2022 Share Posted February 25, 2022 (edited) you can do that with a gaswrangle node inside DOPs // using height as threshold if(@P.y>chf("max_Y_value")){ f@density = 0; v@vel = 0; } // or anthing outside the water area if(f@surface>0){ f@density = 0; v@vel = 0; } Edited February 25, 2022 by bunker 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.