Jump to content

Moving points in an HDA

Recommended Posts

Hi there.

I dont know if my basic approach to this tool is correct. If any better ideas are out there. I would love to hear them.

Ok. So I am making a tool meant to be used in Maya. It is basically a scattering tool. With this the user is meant to paint the locations for grass to spawn. This will distribute a bunch of points or packed primitives. With a second brush they are meant to paint where rocks spawn. Again spawning points or packed primitives.. Obviously the grass is not meant to spawn where it can penetrate the rocks. So I use a point relax and the pscale to move the grass out of the way when a rock appears. All good so far.

I would like to be able to add a function to manually move points after they have been spawned. With my tests I can do this quite easily by adding a edit node in the right location on the tree. So I can simply move the points before the relax tool. This gives a rather cool effect of watching grass move out of the way as I move clusters of rocks around. My question is. What do I need to add to my menu to allow the user to hit a button and select and move any points at will?



Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...