CinnamonMetal Posted March 22, 2019 Share Posted March 22, 2019 When adjusting the max iterations for the forEach SOP, I want each box to grow as I iterate; rather nothing is happening ? Loop_Delete.hipnc Quote Link to comment Share on other sites More sharing options...
Noobini Posted March 22, 2019 Share Posted March 22, 2019 I'm only guessing what you're trying to do here... vu_Loop_Delete.hipnc Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted March 22, 2019 Author Share Posted March 22, 2019 I want the cube to grow larger per each iteration; you did the curve Quote Link to comment Share on other sites More sharing options...
tmdag Posted March 22, 2019 Share Posted March 22, 2019 (edited) nothing is happening as you are trying to "scale" each point of your curve, not the box. Even if we fix your scene, logic is wrong. By "scaling" point - you are just changing it's position relatively to the centroid. That's all. Therefore it is very hard to understand what were you trying to do. If you are trying to grow cube, what is that curve for ? Edited March 22, 2019 by tmdag Quote Link to comment Share on other sites More sharing options...
Noobini Posted March 22, 2019 Share Posted March 22, 2019 (edited) 1 hour ago, CinnamonMetal said: I want the cube to grow larger per each iteration; you did the curve no, that's what YOU did...I'm copying your action from the right loop....hence I said I'm guessing that you're trying to do... what I fixed is so that as you adjust iteration, you can see it responds in the viewport here's where it increases the size of the box...but why bother looping it ? Why not just use a wrangle and create a slider as the "iteration" (or Multiplier) ? vu_Loop_Delete2.hipnc Edited March 22, 2019 by Noobini 1 Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted March 22, 2019 Author Share Posted March 22, 2019 (edited) @Noobini What I mean't was; for each iteration the cube scales larger and larger; rather then all the cubes scaling at once based on the pScale attribute ? Edited March 22, 2019 by CinnamonMetal Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted March 22, 2019 Author Share Posted March 22, 2019 What is the different between a local variable the other variables used within Houdini ? I'm wondering because when you create an attribute from the iteration attribute you get the same attribute in this case iteration, only now it's a float along with a string attribute called varmap ? And must you copy the iteration metadata attribute using an attribute copy; can one not simply read the iteration attribute from the metadata in a wrangler ? Quote Link to comment Share on other sites More sharing options...
tmdag Posted March 23, 2019 Share Posted March 23, 2019 (edited) Loop_Delete_scale2.hipnc Edited March 23, 2019 by tmdag 1 Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted March 23, 2019 Author Share Posted March 23, 2019 Yes @tmdag, beautiful. I hope someone can answer my questions from my previous post ? 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.