Add Flush Ends to a Staggered Clone Pattern

Photo of Rick Barrett

Instructor Rick Barrett

Share this video
  • Duration: 03:12
  • Views: 2176
  • Made with Release: 17
  • Works with Release: 17 and greater

Use C4D's Formula Effector to Scale Clones at the End of Each Row

To finish the Brick Wall begun in an earlier Quick Tip, you'll use the Formula Effector to adjust the position and scale of clones at the end of each row. Two Formula Effectors with a simple module function makes it easy to create flush ends for a brick wall.

Less...

Transcript

- In this CINEMA 4D quick tip, we'll continue with the brick wall that we started in the prior quick tip and you may have noticed that while we got the stagger offset with the single cloner what we didn't take care of is these end caps. So that would be just fine if you were going to be zoomed in enough that you wouldn't see them but let's just look at how we would clean up those end caps and make it a completely solid wall that's flush on both ends. And the way I would do that is to go into my formula effector I already have first of all and I need to just clean this up a little bit. I'm going to make sure that the position X is 75 because that's exactly half of the width of each brick, which is 150. And what we want to do now is just create some additional formula effectors. So let's just go ahead and rename this really quick. We're going to name this "Bricks" and we're going to call this first formula "Stagger." And we're going to create another new formula effector. So we'll just go ahead and choose "Formula Effector" from the Effector menu. And again, it's automatically applied because the cloner was selected. We're going to go ahead and clear out the default formula and we're basically going to utilize the first formula effector trick that we learned which is modifying a specific clone based on the modulus. So we know here that this is the first brick that we need to shorten up. And we know that the modulus of that brick is 6 because 0, 1, 2, 3, 4, 5, 6 and so if we do a modulus based on dividing by 12, we're going to have 6 here, 6 here, 6 here and 6 here. So again, we're going to go Mod, ID, 12 and we're just going to say equals 6. And now you can see that those specific bricks scaled up because that's the parameter that's specified here in the parameter tab. Instead of scaling them up, what we're going to do is turn off uniform scale and we're going to scale them down on the X axis. We're going to scale them in half, minus point five and then we need to just shift the position a little bit. And this is going to be 75 divided by 2. So again that's the, basically a fourth of the width of my brick. And there you go we've got a nice flush wall on this side. So we'll call this "Flush Left." And we'll basically just copy the same effector and we're going to go ahead and put it into the effectors tab. And we'll call this one "Flush Right." And in this case, what we'll do is go ahead and set the formula to be equal to five because we want to shorten up these bricks here, which are ID 5, and then this one will be ID 17. So when we divide by 12 we get a remainder of 5 and so on. So when ID is five you can see that shorten those up and we just need to reverse this position offset and now we have a completely flushed brick wall with one cloner and three formula effectors.
Resume Auto-Scroll?