Procedural squares

   1379   1   0
User Avatar
Member
1 posts
Joined: Oct. 2014
Offline
I'm sure this is a simple problem for some of you- I have a row of squares. The number of squares is not constant (i.e. the user may add or subtract squares from the row). However, I still want to be able to scale the squares individually. To keep the controls as simple as possible, I would like to use a single translate node that can access any square.

What I currently have sort of works- I can choose any square and scale it (via connectivity->group by attribute->translate by group). But when I switch to the next square, the previous square returns to its former size and the new square assumes the scaled value. What I need is for each square to retain its scaled value somehow.

Maybe there is a better way to go about this rather than using a translate node?
User Avatar
Member
208 posts
Joined: Nov. 2010
Offline
My first thought would be to drop it in a Solver SOP. Have you looked at the example's here:

http://www.tokeru.com/cgwiki/?title=Houdini#Create_edges_with_vops [tokeru.com]

some of them are pretty close to your problem.

Kevin
  • Quick Links