Jump to content

(Solved)FLIP: cutoff low density areas Help


gangland

Recommended Posts

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 by gangland
Link to comment
Share on other sites

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 by ikoon
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • gangland changed the title to (Solved)FLIP: cutoff low density areas Help

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...