Joker386 Posted June 20, 2012 Share Posted June 20, 2012 (edited) 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 June 20, 2012 by Joker386 Quote Link to comment Share on other sites More sharing options...
bloomendale Posted June 20, 2012 Share Posted June 20, 2012 (edited) 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 June 20, 2012 by bloomendale Quote Link to comment Share on other sites More sharing options...
ehsan parizi Posted June 20, 2012 Share Posted June 20, 2012 (edited) 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 June 20, 2012 by ehsan parizi Quote Link to comment Share on other sites More sharing options...
zarti Posted June 20, 2012 Share Posted June 20, 2012 .. 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 ? Quote Link to comment Share on other sites More sharing options...
ehsan parizi Posted June 20, 2012 Share Posted June 20, 2012 here it is! ScatterNode_EP.hip Quote Link to comment Share on other sites More sharing options...
Joker386 Posted June 21, 2012 Author Share Posted June 21, 2012 (edited) Thanks all my friends I can solve this problem with your helps thanks ehsan parizi for your scene. Edited June 21, 2012 by Joker386 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.