magneto Posted December 24, 2012 Share Posted December 24, 2012 Hi, I am trying to create point weights similar to Max's soft selection, which look like this: So similar to Soft Transform SOP, etc. But I want to be able to create these weights for any operation afterwards like for jittering the points, but using the weights as a multiplier, so red is 1, blue is 0, etc. What's the best way to do this? AttribTransfer? Happy xmas Quote Link to comment Share on other sites More sharing options...
edward Posted December 25, 2012 Share Posted December 25, 2012 Paint SOP? Quote Link to comment Share on other sites More sharing options...
magneto Posted December 25, 2012 Author Share Posted December 25, 2012 Thanks Edward, sorry I should have mentioned it. I need this applied on a set of points/primitives. So in that image the red polygon is the selected polygon. Basically I want to be able to achieve the same effect by specifying a group. So if it was a line of 10 meters, and I select 1 point and the range was 1 meter, then from that point any point within the 1m radius would receive a weight between 0 and 1. 0 for the end and beyond the radius. Hope that makes sense Quote Link to comment Share on other sites More sharing options...
ikarus Posted December 25, 2012 Share Posted December 25, 2012 you could blend the new position and old position using a pcopen/pcfilter to get the distance from the control points and mix using that value Quote Link to comment Share on other sites More sharing options...
Fabiano Berlim Posted December 25, 2012 Share Posted December 25, 2012 Attribute transfer. No doubt. Point cloud only if your geometry is too heavy. Merry xmas Quote Link to comment Share on other sites More sharing options...
gui Posted December 25, 2012 Share Posted December 25, 2012 You could use the soft transform option "keep viz ub geometry" and map the color to your attribute using an attribute create sop. As far as I know, the soft transform is very similar to the pt cloud setup, because it uses the distance from selection instead of the neighbours to spread the attribute. I don´t know what you wanna achieve, but this is a fast way to make it work. I used it to control the weight in this project. And Merry Christmas to you all! Quote Link to comment Share on other sites More sharing options...
magneto Posted December 28, 2012 Author Share Posted December 28, 2012 Thanks guys. @Ikarus: I need to try it, but I am not sure if linear interpolation would work? @Fabiano: I haven't tried AttribTransfer but thought it would be heavy. @gui: Soft Transform is a very good trick. Does exactly what I needed. Are you saying this is the same as the point cloud approach? I guess if you can get points in a radius and then assign them a 0-1 value based on where they are in this radius, it could work. Thanks alot again, and merry xmas 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.