magneto Posted January 28, 2015 Share Posted January 28, 2015 Hi, Right now I am using Scatter SOP to scatter some points and then do an attribute transfer to create some spots on the surface of a model without UVs. Then I bring this attribute into the shader and use it. But I am curious if I can move the scatter step into the shader as well? If I had UVs, I assume I use these to scatter some points but without UVs, can this be done? I don't know the best way to do it in shaders. After creating some points on the geometry, I want to be able to check if P lies within the radius of any of these points. Or is this an unreasonable way to do this, and I should just add some Soft Dots using a for loop and use this in a similar manner which is what Scatter SOP + AttributeTransfer SOP is doing anyway? Thanks Quote Link to comment Share on other sites More sharing options...
mawi Posted February 1, 2015 Share Posted February 1, 2015 Sounds like a voronoi noise. Dist1 is distance to closest point. 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted February 1, 2015 Author Share Posted February 1, 2015 Thanks Martin, that works great 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.