Tomasz Dabert Posted June 20, 2016 Share Posted June 20, 2016 Hi, I am begginer in Houdini so my problem is rather simple for most of you I wanted to make a tool that will scatter circles on surface and later the radius of the circles will be driven by the distance to the curve I drew on top of it (as in the picture). It is important that the radius will start to shrink only if distance is smaller then a certain value that I choose. Where would you guys start? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
rbowden Posted June 20, 2016 Share Posted June 20, 2016 (edited) Have no idea what you are trying to do but, here is a quick method using the attribute transfer. Just adjust the deistance threshold or the blend width on the attritransfer to see what is going on. Definitely more than one way to pull off radius scaling like this though. circle_radius.hip Edited June 20, 2016 by rbowden Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted June 20, 2016 Share Posted June 20, 2016 yes, attributetransfer + copy-stamping. circles.hipnc Quote Link to comment Share on other sites More sharing options...
Tomasz Dabert Posted June 21, 2016 Author Share Posted June 21, 2016 Thank you guys! That was exactly what I needed! Quote Link to comment Share on other sites More sharing options...
acey195 Posted June 21, 2016 Share Posted June 21, 2016 (edited) 10 hours ago, konstantin magnus said: yes, attributetransfer + copy-stamping. circles.hipnc copy stamping is overkill for this , personally I would just use a wrangle to calculate the distance and apply a simpe pscale for the second copy input. That should be enough for this (and will be faster if you want to go ultra-high resolution) granted, copy stamping could be the best "beginner" solution... Edited June 21, 2016 by acey195 Quote Link to comment Share on other sites More sharing options...
Tomasz Dabert Posted June 21, 2016 Author Share Posted June 21, 2016 It works good up to a point when I wanted to apply second parameter based on a gradient on the same surface that would additionally scale points from left to right... How would you use the point wrangler? I know next to nothing about VEX... Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted June 21, 2016 Share Posted June 21, 2016 (edited) 1 hour ago, Tomasz Dabert said: How would you use the point wrangler? You can put a function like "xyzdist" into the pointwrangle and connect it to the copy SOP. f@pscale = xyzdist(@OpInput2, @P); As Twan mentioned its faster (and more compact). circles2.hipnc Edited June 21, 2016 by konstantin magnus Quote Link to comment Share on other sites More sharing options...
Tomasz Dabert Posted June 22, 2016 Author Share Posted June 22, 2016 I got it to work as I wanted! Thanks again for all your help! 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.