Hey,
I'm really at a loss at how to do this. So I thought I'd ask:
I have a curve that's drawn in Houdini. The curve is closed so it's a polysurface. The polysurface can change shape, but it's often a concave 2d object. So getting the objects bounding box's center doesn't give good results on something that is say a “C” shape.
I'd like to be able to scatter a set of points across this surface. However, is it possible to scatter the points so that they are more dense in the ‘middle’ of the surface? Or less dense on towards the exterior edge loop.
And if possible can I color the points to reflect the density?
I hope that's explained OK. Any push in the right direction is always massively appreciated.
Thank you!
Scatter Points over surface
3772 2 0- Kieran Belkus
- Member
- 12 posts
- Joined: May 2014
- Offline
- fxrod
- Member
- 133 posts
- Joined: July 2005
- Offline
1. Isolate the edge points on the concave “c” surface.
2. Color them red.
3. Use attribute transfer with a nice “blend” width.
4. Invert the color attribute.
5. Scatter by Cd.
You can, of course, use a float attribute. But color is easier to see.
2. Color them red.
3. Use attribute transfer with a nice “blend” width.
4. Invert the color attribute.
5. Scatter by Cd.
You can, of course, use a float attribute. But color is easier to see.
Francisco Rodriguez
Effects Animator | Walt Disney Animation Studios
Effects Animator | Walt Disney Animation Studios
- Kieran Belkus
- Member
- 12 posts
- Joined: May 2014
- Offline
-
- Quick Links