gangland Posted December 16, 2020 Share Posted December 16, 2020 (edited) Hello guys, i trying to delete areas where has low density of particles. i saw a tips on this page: http://www.cgchannel.com/2020/03/10-expert-tips-for-better-houdini-flip-fluid-simulations/ on hint 5, he wrangle an array using a pcfind then apply to pscale. ive done same here, even copy to wrangle code into a basic setup here, but still not working. maybe it has something with the content of the page that isnt working? i dont know. thanks in advance ps: i attaching an simple .hip file flip_density_.hip Edited December 16, 2020 by gangland Quote Link to comment Share on other sites More sharing options...
ikoon Posted December 16, 2020 Share Posted December 16, 2020 (edited) Hi Gabriel, I didn't check whole file, but you set low "Max Pts = 0.636" here: /obj/import_flip/pointwrangle1 That argument should be two or more (the current point itself also gets returned as a first point) See here in the docs: https://www.sidefx.com/docs/houdini/vex/functions/pcfind.html Only the maxpoints closest points within the given radius will be returned. Edited December 16, 2020 by ikoon Quote Link to comment Share on other sites More sharing options...
gangland Posted December 16, 2020 Author Share Posted December 16, 2020 5 hours ago, ikoon said: Hi Gabriel, I didn't check whole file, but you set low "Max Pts = 0.636" here: /obj/import_flip/pointwrangle1 That argument should be two or more (the current point itself also gets returned as a first point) See here in the docs: https://www.sidefx.com/docs/houdini/vex/functions/pcfind.html Only the maxpoints closest points within the given radius will be returned. Jiri, you was absolutely correct, that argument wasnt returning any neighbor, i feel totally fooled by that vex expression lol. thanks 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.