samfred2 commited on
Commit
a8b28a6
·
verified ·
1 Parent(s): a891871

[flow_default] Transcription: 02 - Colorama Dude!.json

Browse files
transcriptions/02 - Colorama Dude!.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_file": "02 - Colorama Dude!.wav",
3
+ "text": "Welcome to yet another video expousing the the virtues of the MoGraph module and if you haven't figured it out yet, the MoGraph module is quite beefy indeed. There's a lot of stuff you can do with it. In today's video, I'm going to be showing you how you can actually use something called the MoGraph color shader to have effectors completely control the color of your clones, which is pretty awesome thing that you can do and here's our little city scene that we created in one of the last lessons in bad news the space invaders are in town are gonna destroy our city but right now they're they're not looking too attractive they don't look very scary they're just plain white let's give them some pizzazz make them look a little bit more aesthetically pleasing because if they're gonna destroy us, at least give us something nice to look at, right? I don't know. So here is our space invaders cloner. Just have a bunch of the different space invader shapes underneath it, okay? And what we're gonna do is use a plane effector and the MoGraph color shader to add some colors, pump some colors into these clones. So with Space Inventors Cloner selected, I'm going to go to my MoGraph menu, go to Effector, and grab a plane effector. What I'm going to do is just rename this color, or actually space invader, dot color, dot plane. We know exactly what that plane effector is doing. In the parameter, I'm just going to say, you know what, just turn off the position altogether, okay? And here we have this little option called color mode. And by default, it's completely off. And you'll even notice that on the cloner transform option, we actually have a color there as well. And the color that's defined here is actually the color that's represented or the color that clone will be if you go ahead and render. So you're gonna see that we have white in the that all these clones as well. And again, no material on this at all. So that's one easy way to be able to control the colors just through the cloner object if you just want to color everything one color globally. But we have this plane effector here and we have that same color option in this effector. And what this allows us to do is actually change the color of all of those clones no matter what color we have set in this color field here. So let me go, just turn on the color mode. What you're gonna see is that it just turns to white again. But what we can do is actually go to user defined, and we have this little color chip, just like we had a color chip here in the cloner, we can then have this effector actually change the color of all these clones. So let me go and let's change this to something like that, some magenta or hot pink or something. So now they're all hot pink, okay? But the thing is, this is a effector and this effector is affecting all of our clones infinitely. So if we change our shape to say linear and let's change the orientation to positive X, what you're gonna see now is that this effector now, I'm just gonna crank this fall off all the way up to 100% and let's just make the size a little bit bigger as well. What you're gonna see is now that our color shader, or I'm sorry, the plane effector is now controlling what is that underlying original blue and what is red. So if I pass this effector all the way through, you're gonna to see there's the start of our fall off. Okay. So right now our plane effectors having zero influence on any of these clones. And again, they're clout, they're colored blue. But as we pass this plane effector through here, it's going to be changing the color to this little magenta hot pink. And you're going to see that it's actually blending through and got some nice purples in here as well and looking really nice. So this is one way you can go ahead and just change the colors here. Another cool option, and it's a fall off shape, I actually have not introduced to you yet, but it's a really fun one, it is noise. And what this allows you to do, you can see right here is that we have this little visual noise of red and yellow, and basically those are the red and yellows of the influence and the strength. So yellow means zero influence and red means 100%. So we can go in here and again because this is a noise we have that animation speed option. And if we put any other number in here other than zero it will actually animate this noise. So if I hit play I'm gonna see how this slowly undulates and we have these space invaders changing slowly from red to blue. And I can go ahead and use this low clip and high clip to basically add some contrast to this noise. You can see as I'm adjusting this high clip, I'm actually removing a lot of that red. And if I increase the low clip and high clip, you can see I'm kind of just basically adding some contrast to that noise and we're getting a lot more sharper colors. And then if I make this about 50-50, there we go. You're gonna see we no longer have that nice blending because we totally ramped up the contrast to either just red, full-on influence and yellow, zero influence. We're just popping from one color to the other. And that's all well and good, but let's go ahead and just move those low clip and high clip back to 100% and 0%. And the thing is, is that while this is good, this is just actually the color channel, but what if we wanted to actually create a material using those colors and we wanted to go ahead and do that color and luminance channel combo material that we've been using a lot in this course. Well, that would create some problems. So that's where the MoGraph Color Shader comes in. So I'm just gonna go ahead, double click in my Material Manager down here and rename this Color Shader, okay? And I'm just gonna apply that to my cloner. What you're gonna see is that's just gonna overwrite the actual cloner color, say that five times fast, that we had already going. So we're no longer seeing the color of the cloner and we're also not seeing the color that we had defined in the parameter of our plane effector here. So we need to do one thing here to be able to have that color created by the clones and the plane effector to be pumped through this material and it is to use that color shader. You can find it in the texture menu. If you go all the way down, let me just move this up because it's kind of at the bottom of the screen, go all the way down to MoGraph and then go to Color Shader. Now what you're going to see is that this color shader is pumping through those colors that we saw initially. Now what we have the freedom of doing is we could go ahead and add some reflectance if we wanted to. Add some nice shiny reflection if we wanted, bring that down, or we can go and pump that in the luminance. So what I'll do is just go into my color shader. I'm just gonna copy this color shader here. So I'm gonna go to this little drop down button with the arrow and go to copy shader, go into my luminance and go to that same button, that texture button here in the luminance and go to pay shader. And what you're gonna see is now we have that color and that luminance. But what if we wanted to bring down the brightness of that luminance? And what you're gonna see is that as I'm adjusting this luminance, nothing's happening. And that's because we have to set a blending mode for this color shader to actually pass through as a blending mode to actually see that underlying color and the underlying brightness that we're setting. So what I'm gonna do is change this mix mode to multiply. So just like the multiply transfer mode inside of After Effects, I'm gonna do that here. And now you can see as I adjust this brightness, it's actually affecting all of our clones and we can adjust the brightness to say 60% or 70%, whatever we wanna do. And there we go, really, really cool stuff. So now we can go ahead and render this and those colors that are defined by both our cloner and our plane effector are coming through via that color shader, which is really, really awesome. But the problem with this workflow is, is currently we're limited to two colors, right? The color that is coming from the plane effector and the color that's coming from the cloner object. But what if we wanted to change our clones multiple colors, right? Well, we have a problem, but fortunately there is a workflow that can basically allow us to change the colors of all these cloners, whatever color you want. And it would require us to basically turn these colors into grayscale values and use the basically the Cinema 4D equivalent of After Effects Colorama effect. If you know how Colorama works, basically you can take grayscale values and remap them to whatever color value you want based on a gradient. Let's go ahead and do that. We need to first make all these colors grayscale. Let's go into our cloner and set this back to its default white. Then go to our plane effector and change this to black. Okay, and one thing you're gonna notice is that we don't really have full a full gamut of grayscale values We kind of have like this kind of dark gray and like kind of light gray, but we don't have 100% white We don't have 100% black. So to do that. Let's go into our falloff here remember We're using that noise falloff. Let's just increase the contrast here So we're getting more of those solid whites and solid black values in there. And again, this will actually be determined based off whatever noise type you're using. So right now we're using Perlin. If I use Stupol, you'll see that this is mapped a little bit differently in how the grayscale values kind of undulate on that noise distribution. If we use Hama, you can see that that's completely off. We'd have to adjust these high clip and low clips a lot more with this one. So just wanted to point that out that depending on what noise type you're using, you may have to adjust these low clip and high clip values a little bit more differently. But I think this is looking pretty good, something like this. And what I can now do with those grayscale values is translate them and convert them, remap them to color values based off of gradients. And so let's go ahead and get our Colorama equivalent, which is the colorizer. So I'm just gonna turn off my illuminance for now, go into my color shader and click on this little button next to the texture and there is my colorizer. Now what this is gonna do is remap all of my colors, all of my grayscale values too. If I click on this little colorizer button here, this gradient. So you see as I clicked into my colorama, here's my color shader, and those grayscale values are gonna be remapped based on whatever colors we have in this gradient. The darker values are going to have the leftmost colors on the gradient, in our case, this black color chip, and then all the way to the right is gonna be all of our lighter grayscale values that are mapped as this gradient goes to the right here. So if I wanted to get back those initial baby blue and pinkish colors, I can just remove this color chip by clicking and bringing it down, just throwing it away and double click on this color chip and changing this to that baby blue, double clicking on this color chip over to the right and making this that kind of magenta color, right? So now we have that distribution there and what we probably will have to do is again jump into our plane effector noise falloff and adjust these values even more because again we're kind of getting too much blue and not a lot of those middle values so maybe something like this works, okay? And again we can add more colors So maybe we want purple and maybe we want green. Whatever you want, we can have all those colors kind of showing up. But one thing you're gonna see is that it's sampling randomly across this gradient smoothly between this blue and this green and between those colors we're getting like blueish green and then between these two colors we're getting kind of greenish purple and then lighter, warmer purples as this purple transitions to that magenta pink. And we're getting all those colors represented here. But what if we just wanted to utilize just solid colors, not these, you know, just the solid colors that are represented in the color chips and none of these, you know, interpolated smooth gradients between? Well, if we just click on this little arrow here next to gradient, I can change the interpolation of this gradient from color chip to color chip from smooth to none. And if I right click right here on my gradient, I can go to distribute knots. And what that will allow me to do is it'll equally put each of those colors represented on that gradient. So since we have four colors, each of these color chips will will take up 25% of this gradient. So we should see, you know, somewhat equal representation of each of these colors showing up randomly here, which is really, really cool. One other thing that's really awesome is since we're dealing with grayscale values, we can actually load this up in our alpha channel on our material. So let me just turn this on and let's pump in our color shader. And what you're going to notice is actually, whoops, don't do that. So I just grabbed the color shader. What I need is the MoGraph color shader. There's a huge difference, all right? So let's grab our MoGraph color shader, bam. And what you're gonna see now, if I just hit render, you're gonna see that it's actually fading off and fading on all of our objects, again, based on that color value or that grayscale value. So again, if we wanted this to just be either turned on or turned off, we can go and remap that grayscale values to just black and white. So let's go to our colorizer and let's change this gradient from just black to black and white, twirl this down, change the interpolation to none and I can right click again, distribute knots, so it'll be 50-50. And now if I hit play, you're gonna see all these kind of space invaders popping on and popping off based on those color shader values, pumped through the alpha and fading them on and off or hiding them full opacity or fully hidden. And then again, this is also being piped through our color channel. And you can see what's happening there as well. So let me just turn off this alpha for now. And this is such a really great workflow to be able to randomly colorize all the objects, all of your clones. But the problem with at least this plane effector is that while I can change this to linear, and you can see that going on here, and again I can turn on this alpha channel, and you can actually fade things on and off if you wanted to. If I just copy this, the kind of fade on like we get with the noise we can't do that with just the plane effector because the plane effector set to the noise shape is the thing driving it while I can move the noise shader left or right I can't fade it on okay linearly or anything like that so for that kind of effect I need to either use the random effector or the shader effector so let me just stop this and let's delete our plane effector for now and let's just delete that material as well. So we just got our colored clones that are set to white again through this color chip here. And with that clone selected, let's go to MoGraph effector and let's grab our random effector here. Okay, I'll just bring this down. So what I can now do is let's turn off the position because I don't need that. And let's change this color mode to user defined and make this black. So again, we're using the color values here, but we're having an issue here. And it's the fact that we just turned this color to black and we're not getting any of those grayscale values that we had using the noise and the plane effectors. So what's going on? Well, basically this color is overriding all of that white color underneath and none of those you know random grayscale values if I just turn this on you can see we actually have different color information here and it's actually controlled and there's actually alpha information there as well but it's turned off currently because this is checked off so if I go to user to find again and turn on this use alpha strength what it's going to do is use the alpha that's randomly generated and the color value that's randomly generated and utilize that to cut through the bottom cloner value. So now if I change this color, you can see that underlying color shining through and that's all due to turning on this use alpha strength because without that, that color is just overriding everything. So what I can now do is just like we use that gradient high and low clip values to adjust the contrast. I can do the same thing here in the Minimax value on my effector to maybe get more of these grayscale values in here or whatever you want to do. I can even go above 100% to get whatever kind of distribution I want. Again, I can just go ahead and apply that color shader on top and you can see that all those grayscale values are now transformed to color. And while I'm here, let me just go and copy this colorizer with the color shader, MoGraph color shader, and copy it and paste it into my luminance. So copy shader, and then go to luminance and paste this. So paste shader, now we got that, the luminance action going on in there. And again, if I wanted to adjust this, I could, because we're getting very little green some of this in this and I can go to noise and just change this animation speed to whatever I want and you can see now I have this kind of animated again I'll have to know depending on the noise type that you use the random mode that you use you might have to adjust the minimum and maximum here to adjust the contrast and this is looking really cool so we're basically back to where I was or where we were with the plane effector set to that noise falloff shape again, remember this was created just by the random effector. There's currently infinite falloff. So again, the benefit of using this random effector is I can then use a falloff shape, say linear, and let's just change this to positive X and just crank up the falloff percentage here. And now I can go and fade this on if I wanted to. If I wanted all these clones to start out red and then have these gradually randomized, I can do that now because of this falloff option. Because the randomness, the random colors coming from the random shader, I can then use that falloff. Whereas in the plane effector, the randomness was coming from the plane effector's falloff. So the falloff was already used, right? So that's what the random effector. Let's go ahead, I'll delete that material again so we're just back to the white. And let's go and find out what the workflow would be with the shader effector. Because again, the limitations of the random effector as you are limited to... whoops, that's a re-effector. You can figure out what the re-effector does in your own good time. So remember, right click and show help. The re-effector is pretty fun. But random effector, there we go. And you can see that we're limited to just these few random modes, right? So that's the problem with the noise shader is that we're with the RAM effector, we are just limited to just a few noise types, okay? So what we're gonna do is grab our shader effector here and boom, boom, there it is. And we're just gonna turn off the parameter there and let's go into our shading tab and load up or noise shader that gives us access to all these different types of noises, right? So what you're gonna notice now is That all of our clones there's no There's no kind of contrast at all, right? The the colors aren't showing through at all So what we need to do is go to this color mode and change it to user-defined just like we did with the random Affector and bring this to this here. Okay, so something like that. And I think we have equal distribution of the lighter grays and darker grays. So something like that. And again, I can animate this if I just change this number to anything other than zero. You can see this is animating now. But now I have the full gamut of all my different noises. And again, cell noises is a really fun one because if I again show you what this does, I right click on that preview window, go animate and let's just pause this you can see the sound noise is a unique type of noise that just goes from one color to the next like a disco floor kind of thing and I really love using this type of noise because of the way it animates so let me just go and put on our color shader again or aGraph color shader, super, super useful to be able to randomly color or find or really get in there and fine tune what colors you want to apply to your clones and just gonna hit home again man the MoGraph module is so stinking deep right it is amazing it can do so many things that the reason it's one of the most powerful features inside of Cinema 4D and it's so deep that really you could have a whole school of motion course just on the MoGraph module, or maybe even two or three different courses. It's that beefy of a subject in Cinema 4D. So what that means for you is that if you really want to digest all it can do, you need to do some exploring on your own. So just like I accidentally grabbed that re-effector, go and find out what that is, okay, and play around and all the other effectors that are in there because you're gonna need to put on your little Explorer cap and explore on your own to really get full advantage of what Cinema 4D and the MoGraph module can do. So have fun being a little Explorer. you",
4
+ "language": "en",
5
+ "confidence": null,
6
+ "duration": 1496.87
7
+ }