Stacking MoGraph Effectors in C4D

Ready to rock? 

In this lesson you'll learn all about some of the MoGraph effectors available to you in Cinema 4D. There's an infinite amount of possibilities you can create with these tools, and we're only going to scratch the surface, but by the end of this lesson you'll have a good understanding of how to start using this powerful tool set in your own work.
    00:00:00,490(digital sounds)
    00:00:09,722(upbeat music)
    00:00:18,108- Hey there, Joey here for School of Motion
    00:00:20,106and in this lesson we are going to take a look
    00:00:21,981at a cool technique you can use
    00:00:23,629with some of the MoGraph Effectors in CINEMA 4D.
    00:00:26,757The idea here is to get you more comfortable
    00:00:28,918with the MoGraph Effectors and how they work
    00:00:31,244so you can start using them in your projects
    00:00:33,312to pull off really complicated looks
    00:00:35,245and animations with minimal effort.
    00:00:37,810Don't forget to sign up for our free student account
    00:00:39,732so you can grab the project files from this lesson
    00:00:42,373as well as assets from any other lesson on the site.
    00:00:45,241So now let's jump into CINEMA 4D.
    00:00:48,920- [Voiceover] Alright so we're in CINEMA
    00:00:50,507and I have a blank project here.
    00:00:55,384I am gonna set this up to be half HD 960 by 540.
    00:01:01,307I usually like to work at 24 frames a second.
    00:01:04,790And then remember when you change the frame rate in CINEMA
    00:01:07,429you have to change it in your Render Settings.
    00:01:10,178You also have to change your Project Settings,
    00:01:12,274which you can bring up by hitting Command + D.
    00:01:15,087I change that to 24 as well.
    00:01:17,753Alright, so you saw at the beginning of this video
    00:01:21,672kind of a preview of the effect we're going for here.
    00:01:24,610So I'm gonna kind of walk you through my thought process
    00:01:27,604when I was building that.
    00:01:28,974And hopefully that'll help you get a better grasp
    00:01:31,202on how MoGraph works and how you can stack effectors
    00:01:36,155and do different things to build these complicated effects.
    00:01:39,895So what I wanted to do
    00:01:41,219is basically have these cubes animate on
    00:01:43,954in some really cool intricate way and build a sphere.
    00:01:49,508So the first thing I did was I created a sphere.
    00:01:54,866And I left it as a standard sphere.
    00:01:57,645There's a whole bunch of different kinds of spheres.
    00:02:00,816But I knew that what I was gonna essentially do
    00:02:02,877was clone cubes on every single polygon of this sphere.
    00:02:09,239So leaving it as the standard kind of helped
    00:02:11,904because it's already sort of set up
    00:02:13,525with square polygons on the sphere.
    00:02:16,236So you're kind of already with the right shape.
    00:02:19,055Alright so let me move this back to zero
    00:02:21,558because I just nudged it.
    00:02:23,532So the next thing I'm gonna do is create a cube,
    00:02:27,323and I'm gonna hide my sphere for a second.
    00:02:29,805And I'm gonna make the cube smaller.
    00:02:33,615And you can always resize these things later on,
    00:02:37,951but it's nice to start kind of with the right general size.
    00:02:41,760Alright so I made this cube 50 centimeters
    00:02:43,934in every direction.
    00:02:46,118So now if I add a Cloner to the scene.
    00:02:48,696So if I go up to MoGraph, Cloner
    00:02:51,836and I drag the cube into the Cloner.
    00:02:54,148You can see by default that Cloner sets a Linear Mode
    00:02:57,372and that's not what we want.
    00:02:58,571What we want is Object Mode.
    00:03:00,998So Object Mode basically puts clones onto another object.
    00:03:06,938So my cube will be cloned
    00:03:08,319onto whatever object I tell the Cloner.
    00:03:11,396So let's switch this to Object
    00:03:14,314and you'll see now we have a little spot down here
    00:03:16,435to add an object.
    00:03:18,831And I'm gonna drag this sphere down into here.
    00:03:23,204And you'll see now we've got a whole bunch of cubes
    00:03:26,302cloned onto the sphere.
    00:03:27,566And it looks really funky
    00:03:28,976and it's overlapping,
    00:03:30,160and it's not exactly what we want.
    00:03:32,103This is a few reasons.
    00:03:32,936One is the Cloner right now,
    00:03:36,973this Distribution setting here is very important
    00:03:40,676when you're in Object Mode.
    00:03:42,413So this tells MoGraph where to put the clones
    00:03:46,718on your object.
    00:03:48,038So right now it's saying,
    00:03:49,163"Put a cube on every vertex of that sphere."
    00:03:53,477If we turn the Cloner off for a second
    00:03:54,766and turn the sphere on,
    00:03:56,229the vertexes are the points, okay?
    00:03:58,671So it's putting a cube at every single point.
    00:04:01,250I mean, that's fine.
    00:04:03,250That's not really a big deal,
    00:04:04,230but what I really wanted was for it to just put one
    00:04:07,118on every polygon alright,
    00:04:09,857so there would be a lot less of them.
    00:04:12,104Alright, so let me hide the sphere again.
    00:04:13,950Turn the Cloner back on.
    00:04:15,145And I'm gonna switch this Distribution
    00:04:17,125from Vertex to Polygon Center, okay?
    00:04:20,239So now we have a few less clones
    00:04:21,651but it still doesn't look right.
    00:04:23,608So then the next thing we need to do
    00:04:25,599is make the sphere bigger,
    00:04:26,999because what's happening is these cubes are overlapping
    00:04:29,494and that's why you're getting this weird funky look.
    00:04:32,073So if I click on the sphere
    00:04:33,837and just increase the radius,
    00:04:36,154you can see now the cubes have enough room
    00:04:38,474and they're separating, okay?
    00:04:41,597And I kind of want a little space in between 'em
    00:04:46,855so that there's no weird intersections,
    00:04:48,666even at the top and the bottom of the sphere
    00:04:50,472where they're closer together.
    00:04:51,614So something like that, okay?
    00:04:55,598So there we go.
    00:04:56,431So that's working pretty well.
    00:04:57,743Now what I really want is for each of these cubes,
    00:05:01,893kind of randomly and one at a time,
    00:05:04,738to animate on it some really funky intricate way,
    00:05:08,627arranging themselves into this sphere.
    00:05:11,273Alright so now, you know when you start out with MoGraph,
    00:05:15,177I mean the thing that you always
    00:05:17,135start playing around with first is Effectors.
    00:05:20,730So you know, you could try to use a Plain Effector,
    00:05:26,283and let me just do it as I'm talking here.
    00:05:28,739We could take a Plain Effector, for example,
    00:05:34,044and we could set it to adjust the Z position
    00:05:37,670of these clones, right?
    00:05:41,085And that's the correct movement,
    00:05:44,431but what if we wanted it to shoot out
    00:05:47,178and then spin around,
    00:05:49,408and then zoom back in,
    00:05:51,734all the while scaling up and then scaling back down
    00:05:54,382as it lands in position,
    00:05:56,257Also with some point level animations stuff happening.
    00:05:59,630And then we want each clone to animate at a different time.
    00:06:03,343It's hard to do that by animating just Effectors.
    00:06:07,444Now there's two main ways to do this,
    00:06:10,444and I'm gonna show you one today.
    00:06:11,826And in another tutorial I'll show you a different way.
    00:06:14,419But the way that I've found that works the best for this
    00:06:19,355is to put all of your animation on your cloned object,
    00:06:25,642and then you can use Effectors to offset the time.
    00:06:28,643And you manipulate a few of the options,
    00:06:31,134and you get exactly what you're looking for.
    00:06:33,454So let's turn the Cloner off for a second.
    00:06:37,829So, you know,
    00:06:38,662when you're working on an object that's gonna be cloned
    00:06:43,620the axis of your object is very important.
    00:06:46,075So if I turn the Cloner back on,
    00:06:47,674and one quick thing I have to note
    00:06:50,344is that if you're in this Cloner,
    00:06:53,473by default it has this Fixed Clone option turned on.
    00:06:58,350And what that means is that
    00:07:00,184when you put your cube into the Cloner,
    00:07:02,319it completely resets all the Position Scale Rotation
    00:07:05,974of that cube.
    00:07:06,807So if I move this cube, you'll see nothing happens.
    00:07:09,664That's because the Fixed Clone is on.
    00:07:11,353If I turn Fixed Clone off
    00:07:13,751and then move the cube,
    00:07:15,718then you'll see all kinds of interesting things happen.
    00:07:17,992So what I can do with this is if I now move the cube on Z,
    00:07:22,347it moves in and out
    00:07:24,763sort of in relation to the Cloner too.
    00:07:27,578So I can use that to my advantage.
    00:07:28,964And now if I were to rotate that cube,
    00:07:32,517all of the cubes rotate, okay?
    00:07:34,439So this is how we're gonna animate
    00:07:36,013what we want our cube to do, alright?
    00:07:38,518So let's turn the Cloner off again.
    00:07:40,976So I want to show you guys
    00:07:42,466that you can animate Position Scale Rotation
    00:07:45,435on these things, but you can also animate other things
    00:07:48,140if you have Deformers and things like that.
    00:07:50,250You can use those and create
    00:07:51,816these really complicated animations.
    00:07:54,025So what I wanted to do was some Point Level Animation
    00:07:56,677just to show you guys that that's possible too.
    00:07:59,853So what I'm gonna do is I'm gonna click the cube
    00:08:01,571and hit C to make it editable.
    00:08:05,002And what I'm gonna do, what I was thinking was
    00:08:07,346it would be cool if as the cube lands
    00:08:10,583the surfaces of that cube sort of inset a little bit.
    00:08:15,375And kind of carve themselves out
    00:08:16,945and create these little grooves.
    00:08:18,965So the way I'm gonna do that is go into Polygon Mode here.
    00:08:22,616And I'm gonna select all the polygons,
    00:08:24,427just hitting Command + A.
    00:08:26,150Alright, and then I'm gonna use the Extrude Inner tool
    00:08:29,977which is M + W.
    00:08:31,972And if you guys don't use these modeling hotkeys,
    00:08:34,491this is how I model.
    00:08:36,304If you hit M,
    00:08:37,955and you got to make sure
    00:08:38,788you don't move your mouse accidentally
    00:08:39,921because then it goes away.
    00:08:40,964So if you hit M, it brings up a list
    00:08:42,973of all your Modeling tools.
    00:08:44,420If you hit U, it brings up some Mesh tools you can use.
    00:08:49,773If you hit P, it brings up Snapping tools.
    00:08:51,661So these are all little pop-up menus.
    00:08:53,949So I'm gonna hit M,
    00:08:55,682and if you look down towards the bottom
    00:08:58,286you'll see Extrude Inner is W.
    00:09:01,339So with this menu up I hit W.
    00:09:03,200It brings up the Extrude Inner tool, alright?
    00:09:07,161So with all of these polygons selected,
    00:09:09,009if I click and drag with the Extrude Inner tool
    00:09:12,128you'll see that it extrudes,
    00:09:14,882but parallel to the surface of all the faces of these cubes.
    00:09:18,860So it actually doesn't change the topology at all.
    00:09:21,798It's just sort of adding a little bit more geometry
    00:09:24,590to this for me that I could then use in another way.
    00:09:28,270Alright so I like the way that looks.
    00:09:29,589Then I'm going to hit M again
    00:09:31,597and I want to use a Normal Extrude, okay?
    00:09:34,019So that's a T.
    00:09:35,122So M and T.
    00:09:36,811Now Normal Extrude, if I click and drag,
    00:09:38,169you can see what it does, right?
    00:09:39,565It creates this kind of shape, okay?
    00:09:41,864Now I want to animate from this shape to--
    00:09:47,592Sorry, I want to animate, ah boy.
    00:09:50,622I'm gonna undo a bunch of times here.
    00:09:52,267I want to animate from this shape to this shape.
    00:09:54,415Okay, so the way to do that
    00:09:56,322is you have to have the same number of points
    00:09:59,883on your starting shape and your ending shape.
    00:10:02,328So I can't just put a Keyframe here
    00:10:05,378and then put a Keyframe here by dragging the Extrude tool,
    00:10:09,671because when I drag this tool
    00:10:11,529it actually creates new points.
    00:10:14,324So what I need to do is actually extrude this thing
    00:10:16,729by zero first.
    00:10:18,488So I'm gonna hit M + T,
    00:10:19,656brings up the Extrude Options.
    00:10:22,267And I want to offset this thing by zero centimeters, okay?
    00:10:27,071So now I've just done that.
    00:10:28,458So even if I render this you'll see
    00:10:29,854it still looks perfectly smooth,
    00:10:31,308however with these faces selected,
    00:10:33,816if I use the Scale tool,
    00:10:35,505I actually can scale this inward
    00:10:38,689and there's still polygons inside.
    00:10:42,258So what I'm gonna do,
    00:10:43,389I could just animate this
    00:10:44,677using Standard Point Level Animation.
    00:10:46,581I'm actually going to use a Pose Morph Tag
    00:10:49,652because that makes it a little bit easier to animate.
    00:10:52,613So the way you use that is you right click on your cube.
    00:10:58,589And you are going to add.
    00:11:01,275It's in the Character Tags.
    00:11:02,721It's this one here: Pose Morph.
    00:11:05,711Alright, and when you add this tag
    00:11:07,674the first thing you have to do is tell it
    00:11:09,183which options you want to morph between.
    00:11:13,554And you can morph a whole bunch of different things.
    00:11:15,452And I'm going to morph points,
    00:11:17,534So Point Level Animation here.
    00:11:19,033So that's all I'm gonna click.
    00:11:21,085So what it does is it adds a Base Pose.
    00:11:23,715The Base Pose is whatever your object currently looks like.
    00:11:26,807And then it also adds Pose Zero
    00:11:29,021which is sort or the first pose that you're gonna morph to.
    00:11:32,649And you can have multiple poses.
    00:11:34,626In this case we're only gonna have this one extra pose.
    00:11:37,140So making sure Pose Zero is selected,
    00:11:39,818I'm going to scale these faces inward like this.
    00:11:43,683Okay, that's great.
    00:11:45,522So now up here where it says Mode,
    00:11:47,490right now we're in Edit Mode,
    00:11:48,652if I switch to Animate Mode
    00:11:51,043you'll see that now I have a slider for Pose Zero.
    00:11:54,028And if I go like like this,
    00:11:55,259you can see that now it's animating
    00:11:57,195between my start and my end.
    00:11:59,837And I'm also gonna delete this Phong Tag here,
    00:12:02,103because you can see it's smoothing out my object
    00:12:04,193which is not what I want.
    00:12:05,730So I'm gonna delete that
    00:12:06,563so I can get these nice hard edges.
    00:12:09,529So the reason I did this is
    00:12:11,562because one great thing about this Pose Morph Tag
    00:12:14,656is you can actually go past 100%.
    00:12:17,440And it will keep moving those points inward
    00:12:20,809on whatever path they were going.
    00:12:22,922So If I wanted this thing
    00:12:24,296to kind of bounce a little bit and pop out,
    00:12:26,647that'd be really easy to do.
    00:12:28,214Whereas if I was just using Point Level Animation,
    00:12:30,948you know clicking this button down here,
    00:12:33,241adding a PLA Track in the timeline,
    00:12:35,156it wouldn't be as easy.
    00:12:36,259So that's why I use this Pose Morph Tag.
    00:12:38,522Alright so what I'm gonna do,
    00:12:40,281for now I'm just gonna leave this off.
    00:12:42,534And we're gonna come back to this in a little bit.
    00:12:44,852So when this thing animates on,
    00:12:47,784what I want it to do is fly out
    00:12:49,961from the center of that sphere,
    00:12:52,504growing on as it does that, okay?
    00:12:54,778So what I'm gonna do
    00:12:56,388is I'm gonna go back into Object Mode here.
    00:13:00,672And on the first frame,
    00:13:02,359I want that cube to be set way back in Z, alright?
    00:13:07,646Probably something like, I don't know,
    00:13:09,932let's try 350, okay?
    00:13:12,576Now just to check,
    00:13:13,409if I turn the Cloner on you can see that,
    00:13:16,454actually that's the wrong way.
    00:13:18,207That's not the way we want it to go.
    00:13:20,225That expanded the sphere,
    00:13:21,543and I want to contract it.
    00:13:22,999So let's go negative 350.
    00:13:26,211Okay, and you can see now all of those cubes are
    00:13:28,169kind of bunched together in the middle.
    00:13:30,232So that's what we want
    00:13:31,065'cause they're gonna fly out at us like this, okay?
    00:13:36,079So, minus 350.
    00:13:39,781Okay, and then I'm gonna put Keyframe there.
    00:13:41,574Turn the Cloner off again.
    00:13:43,889Alright so what I want to do
    00:13:45,310is fly out and kind of balance and settle a little bit.
    00:13:49,052Alright, so we're starting at 350.
    00:13:53,007Let's go forward eight frames.
    00:13:56,757And we'll have it overshoot.
    00:13:58,673So it's not gonna go back to zero.
    00:14:00,374It's gonna go maybe to 150, okay?
    00:14:05,099Alright now we're gonna go four frames.
    00:14:10,637And we're gonna go minus 75.
    00:14:14,100And we're gonna go three frames.
    00:14:16,458And we're gonna go 30.
    00:14:21,033Two frames, minus 10.
    00:14:25,701Two more frames, zero.
    00:14:28,130Alright and if it looked like I was
    00:14:29,798just kind of randomly picking values,
    00:14:31,483I wasn't randomly picking them.
    00:14:33,725I hit Shift + F3 to bring up the Timeline.
    00:14:37,747And if I Spacebar and then click on this,
    00:14:40,209and hit H to expand this,
    00:14:41,877you'll see I deliberately tried
    00:14:43,490to create something like this.
    00:14:45,201Where it's like a decaying curve, okay?
    00:14:49,122And when you look at it in the Graph Editor
    00:14:50,908it's a lot easier to see if you're getting what you want.
    00:14:54,168So let's just preview this move really quickly.
    00:14:58,581Alright, so I'm going out too far initially.
    00:15:00,623It feels like it has to snap back too quickly.
    00:15:03,764So I'm just gonna move this down, alright?
    00:15:06,728The other thing I'm gonna do
    00:15:08,536is adjust these curves a little bit.
    00:15:10,821I want this cube to shoot out.
    00:15:13,061I don't want it to ease out the way it is here.
    00:15:14,913I want it to shoot out like this.
    00:15:17,542And then every time it gets to a new point
    00:15:20,052I want it to hang there a little bit longer
    00:15:23,638than it does by default.
    00:15:25,010So I'm gonna stretch out these handles
    00:15:29,226so that it moves quicker,
    00:15:31,492but then every time it gets to a new position
    00:15:35,852it's hanging there for a second.
    00:15:37,203So now let's check this out.
    00:15:39,710Alright, that's better.
    00:15:46,860Yeah, it's actually not too bad.
    00:15:49,346I think I may need to adjust
    00:15:50,359the timing of this a little bit.
    00:15:56,173Closer ...
    00:15:59,125Usually have to tweak these for a few minutes
    00:16:00,716to get them to feel really good.
    00:16:12,087Alright and I think we're almost there.
    00:16:20,191This one is just being a little much.
    00:16:24,974Okay, I can live with that.
    00:16:27,415Alright so now just to see what that looks like,
    00:16:30,104let's turn the Cloner on for a second.
    00:16:32,692So if we go to the first frame
    00:16:33,741you can see everything's really tight.
    00:16:37,478And as we move through they pop out,
    00:16:40,474kind of bounce back like this, okay?
    00:16:43,236Now when you have a lot of clones like this
    00:16:47,185it can really bog down your machine,
    00:16:49,826and it can be hard to preview stuff.
    00:16:51,992One thing you can always try
    00:16:53,007is go to Options and turn on Enhanced OpenGL.
    00:16:56,810Depending on your graphics card,
    00:16:58,443that might speed up your previews.
    00:17:00,963In this case it's not going to.
    00:17:02,287And I think that's because
    00:17:04,217the bottle neck here is not actually my graphics card.
    00:17:07,653It's the processor having to do all of this math
    00:17:10,775to make this Cloner work.
    00:17:13,058So one little trick I do sometimes
    00:17:15,253when I have setups like this
    00:17:17,029is I'll set my Resolution.
    00:17:19,681I'll lock the ratio and I'll go down,
    00:17:22,211let's say 640 by 360.
    00:17:24,107So it's a really small size.
    00:17:26,482And then I'll set this Output to Manual,
    00:17:30,696let's just say 30 frames.
    00:17:32,918And I'll turn on the Software Renderer.
    00:17:35,191So now if I hit Shift + R,
    00:17:37,559and just hit Yes because I don't need to save this,
    00:17:39,715it will very quickly build a software preview
    00:17:43,733in just a few seconds.
    00:17:46,561And then you can play that
    00:17:48,866and see it in real time, okay?
    00:17:51,624So in terms of the speed that those things come out,
    00:17:54,004that feels pretty good to me.
    00:17:55,101I'm happy with that.
    00:17:56,256The bounce, you know, could be better.
    00:17:57,718I could work on that,
    00:17:58,801but for the purposes of this tutorial
    00:18:01,014I'm not going to.
    00:18:02,413Alright so I'm gonna turn the Cloner off again.
    00:18:04,300So we have this nice bouncing-in animation.
    00:18:09,233The next thing I want is to scale this up
    00:18:11,813as it's coming in.
    00:18:13,596So that's easy.
    00:18:14,429All I'm gonna do is go to the first frame,
    00:18:16,581set the scale to zero.
    00:18:20,333And then I'm going to go forward
    00:18:21,261to this first position key frame
    00:18:23,857and I'm gonna set it.
    00:18:25,105Let's make it overshoot the scale a little bit.
    00:18:27,599So 1.2, let's say.
    00:18:33,858Alright and then as it snaps back
    00:18:36,989it will shrink down to one.
    00:18:43,108Alright so now if we preview that,
    00:18:45,373okay that's kind of cool.
    00:18:48,906Alright now let's make this even a little crazier.
    00:18:52,687So as it's shooting out maybe it rotates,
    00:18:54,785kind of banks 90 degrees.
    00:18:57,846So let's come here.
    00:18:58,857Let's put a Keyframe on the bank.
    00:19:01,659And then let's go forward,
    00:19:03,313and maybe right there is where it banks 90 degrees.
    00:19:10,960Alright, so you can see we're
    00:19:12,109just kind of slowly building up this animation.
    00:19:21,770So now what else could we do?
    00:19:26,706We could, maybe once it lands,
    00:19:30,622it then hangs there for a second.
    00:19:35,198Alright, and then it rotates on the pitch.
    00:19:39,377So really quickly, like six frames,
    00:19:42,877rotates forward on the pitch.
    00:19:46,479So negative 90.
    00:19:50,156Alright, and then it's gonna snap back
    00:19:53,517in Z a little bit.
    00:19:56,800Alright so we'll bring it back in a little bit.
    00:20:00,027So let's say minus 50.
    00:20:02,506Okay, and I haven't tweaked the curves on this,
    00:20:04,026but let's just see what this looks like.
    00:20:06,344Okay, so you got this interesting thing.
    00:20:08,263It pops out, it spins,
    00:20:09,287and then it almost looks like a puzzle piece
    00:20:11,634kind of locking into place.
    00:20:13,817Alright, so now let's check with the Cloner
    00:20:16,743and see what we've got.
    00:20:18,792I'm just gonna save this really quickly.
    00:20:24,841Just in case.
    00:20:25,972Alright, let's do that same software preview.
    00:20:29,776And I need to up my Frame Range here a little bit
    00:20:32,962since now I've got more animation.
    00:20:40,290And don't worry that these are all popping out
    00:20:41,736at the same time right now,
    00:20:42,816'cause we are gonna take care of that in the next step.
    00:20:49,659Alright, but timing wise it's pretty cool.
    00:20:53,613You know, it pops out really quickly.
    00:20:54,992It rotates fast and then
    00:20:56,148it sort of settles back into position, okay?
    00:21:00,590Okay so now we've got this move that we like,
    00:21:04,626and we've got the basic setup.
    00:21:06,196The last thing I wanted to do was
    00:21:07,438a little Point Level Animation.
    00:21:09,754So maybe what we do is,
    00:21:11,737as this cube settles back into position there,
    00:21:15,671that's when the Point Level Animation happens.
    00:21:17,545So as it's settling back we're gonna put a Keyframe
    00:21:20,151on this Pose Morph Tag right here.
    00:21:23,569Go forward until the last,
    00:21:25,524and then it's going to go past a hundred.
    00:21:29,196It'll go to 120.
    00:21:32,483And then back to 100.
    00:21:36,878Alright, so if we watch this ...
    00:21:40,800Okay, you can see that you've got
    00:21:42,713this pretty intricate little thing happening,
    00:21:44,546and every cube is going to do that.
    00:21:49,288Alright, Cloner's back on
    00:21:50,833and this is what we're gonna end up with.
    00:21:54,390Now just to set the scene up a little bit,
    00:21:56,466so we can check our Renders and stuff,
    00:21:58,315I'm gonna do a quick little setup here
    00:22:00,743with a background and some lights.
    00:22:02,997And for the background
    00:22:04,913I'm actually going to use the Scenery Preset,
    00:22:08,968which is an Object Preset
    00:22:10,571that School Motion will begin selling very shortly.
    00:22:14,884The Plugin is more or less done.
    00:22:16,300We're just trying to build up our Preset Library for it
    00:22:20,000so that you know, if any of you guys decide to get it,
    00:22:23,634you'll have a lot of options right out of the box
    00:22:26,635without having to tweak anything.
    00:22:28,596So I'm just gonna drag this in.
    00:22:32,333The Scenery Object,
    00:22:33,228it's really like an infinite environment
    00:22:36,077with tons and tons of options to build any kind of world
    00:22:39,650or look you want.
    00:22:41,522So what I need to do is move this whole set up here
    00:22:45,658because the Scenery Object is on the floor.
    00:22:48,932So what I'm gonna do is take the sphere
    00:22:51,578because all these clones are cloned onto the sphere.
    00:22:53,663So if I move the sphere they will follow.
    00:22:55,962I'm gonna move this sphere up
    00:22:59,783so that it's above the ground.
    00:23:01,181Okay cool, and now I want a dark environment.
    00:23:06,338So what I'm gonna do is click on the Scenery Object.
    00:23:10,900And the Scenery Object has a whole bunch of options here.
    00:23:13,832So I'm gonna change the floor color
    00:23:15,243to something really dark,
    00:23:17,555maybe like an 8%.
    00:23:22,952And then I'm gonna add a little bit of a gradient to it.
    00:23:29,069And then I'm gonna add a little bit of a vignette too
    00:23:31,577because that'll help fade the ceiling down a little bit.
    00:23:36,178So let's see what we have so far.
    00:23:40,187Alright, that's a pretty good start.
    00:23:41,775So now I'm gonna add some lights.
    00:23:44,383And I'm just gonna do a simple Three Point Light setup.
    00:23:47,881And frankly just to save time,
    00:23:49,420I'm gonna use the built-in ...
    00:23:52,330And see I have the GreyScale HDRI Light Kit,
    00:23:54,693I could use that.
    00:23:55,526But I'm gonna use the built-in light setup,
    00:23:59,292the Three Point Light.
    00:24:00,600Drag that in.
    00:24:03,373And the only thing I don't like about this
    00:24:05,499is that effects light by default is yellow,
    00:24:08,242which I don't like.
    00:24:11,136Alright so let's see what we got.
    00:24:13,883Alright so the shadows are a little nutty here,
    00:24:16,414so let's just move.
    00:24:19,108Let's move this Effects Light so that it's closer,
    00:24:23,943and it's a little more on top.
    00:24:26,988On top of this object.
    00:24:28,792Alright and then our Main Spotlight,
    00:24:31,926that's not a bad spot for it.
    00:24:34,663And then our Fill Light.
    00:24:39,801Just want to make sure it's not casting shadows.
    00:24:41,104Alright cool, and then we've got our Main Spotlight
    00:24:43,000and our Effects Light.
    00:24:44,607I'm gonna change those to Area Shadows.
    00:24:47,254So we'll get a little bit of a nicer shadow.
    00:24:50,560Okay so now we're getting kind of a cool look,
    00:24:52,463but the shadows are way too harsh here.
    00:24:55,447And that's just because of the positions.
    00:24:59,214I'm gonna change both of these lights
    00:25:00,790from spotlights to Omni-lights.
    00:25:04,262Let's see if that helps.
    00:25:09,713Alright, so I like the way the lighting is looking.
    00:25:11,039The shadows are still a little funky.
    00:25:13,918I'd probably wanna tweak that.
    00:25:15,457I think if I just bring everything a little closer
    00:25:19,136to the light, that would probably help.
    00:25:23,269But as you can see,
    00:25:25,028we're getting like a nice look here.
    00:25:27,015We're getting like some darks and lights and stuff,
    00:25:29,226and that's really all I'm going for.
    00:25:31,550And then in the Scenery Object
    00:25:35,273I'm also gonna turn on Floor Speculars
    00:25:39,610so we can get a little bit of a light hit off of that
    00:25:42,941as well as reflection.
    00:25:44,516I'm gonna leave the reflections un-blurry for now.
    00:25:48,843But I do want to see a little bit
    00:25:51,043of this object reflected on the ground.
    00:25:54,567Cool, alright that's looking pretty good.
    00:25:57,705And there's a whole bunch of other options in this.
    00:26:00,369You can actually create different textures
    00:26:02,525for your floor and things like that.
    00:26:03,857When it's ready, I promise you guys,
    00:26:05,625I'll do a whole video on it and I'll show you.
    00:26:08,142But you can see how quickly we were able
    00:26:10,294to build this infinite environment.
    00:26:14,457You know, and get something pretty awesome looking
    00:26:16,576right out of CINEMA without having to really do anything.
    00:26:20,942One thing I want to check
    00:26:23,518is that as these things fly out,
    00:26:25,675they don't intersect the floor.
    00:26:28,051In the one I rendered out at the beginning of this video
    00:26:31,077they did because I didn't check that before I hit Render.
    00:26:34,793So I'm just going to do a quick little jot there,
    00:26:38,017and you can see they are intersecting the floor.
    00:26:39,840So that means I just need to raise the sphere up
    00:26:42,214a little bit more.
    00:26:48,239Okay, maybe even a little more just to be safe.
    00:26:51,577Okay that should do it.
    00:26:54,004Alright there we go.
    00:26:57,638So the next part of this is going to be
    00:27:00,084randomizing the timing of these things coming out.
    00:27:04,037And I'm gonna show you how to do that right now.
    00:27:08,940So there's a bunch of different Effectors
    00:27:12,358and most of them can effect the Frame Offset
    00:27:15,726on your clones.
    00:27:17,777Now in order for the Frame Offsets to work,
    00:27:20,587there actually has to be Keyframes on these clones.
    00:27:23,821So that's why I actually Keyframed the cube itself
    00:27:26,958and didn't use a Plain Effector or something like that,
    00:27:29,719because if you do that the Time Offset features won't work.
    00:27:34,075So what I basically want to do,
    00:27:35,554if you think about it, it make sense.
    00:27:37,331I have this animation on one cube
    00:27:39,765and I've cloned that one cube you know 100 times
    00:27:43,108or however many there are here.
    00:27:45,497What I want to do is have each of those cubes slipped
    00:27:49,341in the Timeline by some random amount
    00:27:51,450so they all pop out at different times.
    00:27:56,016So the obvious Effector to use is the Random Effector.
    00:28:00,488So what we're gonna do is grab a Random Effector.
    00:28:09,479And by default the Random Effector affects the position.
    00:28:13,879So we're gonna turn that off.
    00:28:15,212And I always like to name my Effector.
    00:28:16,904So Random and then I use a period and some descriptor.
    00:28:20,255So this is Random TIMEOFFSET, okay?
    00:28:27,169So what I'm gonna manipulate here
    00:28:29,240is this Time Offset down here, okay?
    00:28:33,432So the amount I want to offset this,
    00:28:36,613it depends on how long my animation is.
    00:28:39,504So I'm gonna pull up the Timeline again
    00:28:40,838and just take a quick look.
    00:28:41,916So here's all my Keyframes on this cube,
    00:28:45,338and you can see they go out to frame 36.
    00:28:47,746So if I randomize this by 36 frames
    00:28:53,816then what that's basically saying is
    00:28:56,436at most a cube will be delayed by 36 frames.
    00:29:02,323So you know, you're gonna get a little bit of a spread
    00:29:05,591between all of the clones as they animate on.
    00:29:07,669Now if you made that 300 frame offset,
    00:29:10,501then it would really spread out the animation
    00:29:13,408and it would just take much longer.
    00:29:16,196So once you kind of wrap your head
    00:29:18,075around what this is doing,
    00:29:19,051you can easily timeout animations
    00:29:22,881and kind of get the speed that you want.
    00:29:25,699So to start with, I'm just gonna put 36 frames.
    00:29:28,949Alright and the first thing that you'll see
    00:29:31,544is that we're on frame zero here,
    00:29:34,133and you know some of these have already popped out.
    00:29:36,682And that doesn't make sense, right?
    00:29:38,583If we set this back to zero
    00:29:40,136you'll see that nothing's there,
    00:29:41,643because at this point in the animation
    00:29:43,246these cubes are all shrunk down to zero.
    00:29:46,172Their scale is zero.
    00:29:47,763So how come when we move this Time Offset up to 36 frames,
    00:29:52,255why do we now see clones?
    00:29:54,647So the reason for that is that the Random Effector
    00:29:57,040by default works in both directions.
    00:30:00,068So it is offsetting these clones,
    00:30:03,512not just 36 frames forward,
    00:30:06,728but also potentially 36 frames backwards.
    00:30:09,927So some clones actually start before the original clone,
    00:30:14,098not just after.
    00:30:16,305Luckily there's an easy way to change that.
    00:30:18,445And this is something that's good to know
    00:30:20,528about all Effectors.
    00:30:21,964If you go into the Effector Tab
    00:30:24,239there's this Min/Max section here,
    00:30:26,188which is closed by default,
    00:30:27,852they hide it from you.
    00:30:29,215If you click on it,
    00:30:30,216you'll see that right now the maximum is 100%.
    00:30:32,928So what that means is that the only effect
    00:30:36,572that this Random Effector has turned on right now
    00:30:40,222is this Time Offset, 36 frame Time Offset.
    00:30:44,012So the maximum effect this Effector will have
    00:30:47,462in the positive direction is 36 frames.
    00:30:51,538In the minimum direction it's negative 36 frames,
    00:30:54,712because it's negative 100.
    00:30:56,964Well what if we want the minimum to be zero frames?
    00:30:59,838All we have to do is change this minimum to zero.
    00:31:03,173Okay, you'll see now all those clones went away.
    00:31:05,581So what's happening is it's only randomizing the timing
    00:31:09,889in one direction now, okay?
    00:31:12,944So because you know this isn't gonna render very quickly,
    00:31:16,467unless I do a Software Render,
    00:31:17,835that's what I'm gonna do.
    00:31:19,766And I'm going to up my Frame Range to 72 frames.
    00:31:25,808And we're gonna do a Software Render here.
    00:31:27,949And we are gonna see what we have.
    00:31:32,883Alright and you can see that everything is popping out
    00:31:37,304at a different time.
    00:31:40,323And everything, you know,
    00:31:42,303all of these clones pop out, pop back in.
    00:31:46,707Well that's good to know.
    00:31:48,490We should probably do something about that.
    00:31:50,697They're popping out.
    00:31:52,402They're going back in.
    00:31:53,885They rotate, then they settle,
    00:31:55,538and then there's Point Level Animation.
    00:31:57,408And all of this is happening in this Offset Animation.
    00:32:02,416Right, and it's pretty interesting you know.
    00:32:06,213And the sky's the limit here.
    00:32:07,046You can use Deformers.
    00:32:09,992You can use Bones.
    00:32:11,031I mean you can do all kinds of crazy things.
    00:32:13,361You could get very abstract with this.
    00:32:14,905You certainly don't have to do everything on a sphere.
    00:32:17,198You could do things linearly,
    00:32:18,871clone things onto any object you want.
    00:32:21,053But the point is you can animate one object
    00:32:24,066doing something really complicated
    00:32:26,805and then just clone it,
    00:32:27,638and using this Random Time Offset Effect,
    00:32:30,557you know the way I showed you how to set it up,
    00:32:32,187you can get these crazy effects.
    00:32:33,698You could even duplicate the cube
    00:32:35,962and have two completely different animations.
    00:32:39,729One cube pops out one way,
    00:32:42,017and one cube does the complete opposite
    00:32:43,857but still lands in the right spot.
    00:32:46,034And now you have a sphere with variations
    00:32:48,806of what these cubes are doing.
    00:32:50,879So I hope that gave you a little bit of you know
    00:32:55,697maybe give you a cool idea of some effect you can try.
    00:32:58,921Thank you guys for tuning in.
    00:32:59,754I really appreciate it,
    00:33:00,594and I will see you next time.
    00:33:02,748- Thanks for watching.
    00:33:03,581I hope this lesson gave you some cool ideas
    00:33:05,230on how you can use the MoGraph Effectors in CINEMA 4D
    00:33:08,349to create complicated animations
    00:33:10,364without a ton of effort and time.
    00:33:12,593If you have any questions or thoughts let us know,
    00:33:14,930and we would love to hear from you
    00:33:16,247if you use this technique on a project.
    00:33:18,229So give us a shout on Twitter at School of Motion
    00:33:20,760and show us your work.
    00:33:21,908Don't forget to sign up for our free student account
    00:33:23,918to access project files from the lesson you just watched,
    00:33:26,838plus a whole bunch of other sweetness!
    00:33:29,755Thanks again, and I'll see you next time.
    00:33:32,963(digital sounds)
    00:33:35,707(upbeat digital music)