Jump to content

Problem With Scatter Node !


Recommended Posts

Hi

I created a path and use a custom node to growth a surface along path in every frame.

I scattered some points on the surface but I want do something to fix position of the scattered point's on the surface !

I turn off "Scatter Based On Primitive Area" on the scatter Node .

but only when I set "Point per Area" to 1.0 the point's has fixed position and if I set this parameter to less than 1.0 the points has random position in every frame.

How I can fix this problem ?

you can download my scene file.

thanks

ScatterNode.hip

Edited by Joker386
Link to comment
Share on other sites

I'm very new to Houdini and may be wrong, but:

You need to set int values as Points per Area cause fractional part is kind of probability - 1.5 means 100% to spawn 1 point and 50% to spawn 2nd point per area. So you may see 1 points at frame 1, 2 points at frame 2..

But whaen you're using int numbers you spawn the same number of points every frame and while you don't change seed number it seems your points stick to underlying surface (actually they are not).

Edited by bloomendale
Link to comment
Share on other sites

One possible solution:

append a timeshift sop after scatter, set it to the last frame of your frame range, and then add a ray sop, time shift out > ray left input, and facet output>ray's right input.(select reverse rays in ray sop and create point group, rayHitGroup) and then add a delete sop, and delete everything except rayHitGroup!

there might be better solutions for this one, but since you have a changing topology, I don't know anyway that works perfectly.

Edited by ehsan parizi
Link to comment
Share on other sites

..

How I can fix this problem ?

hi ,

how about creating all the scattered points referring to the last frame of scene ..

and then delete those 'inverse-progressively'™ according / using somehow the growth ?

Link to comment
Share on other sites

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...