2D Style Cel Animation in Cinema 4D Lite: Create Object Outlines Using Splines

Photo of EJ Hassenfratz

Instructor EJ Hassenfratz

Share this video
  • Duration: 12:31
  • Views: 7779
  • Made with Release: 16
  • Works with Release: 16 and greater

An introduction to spline tools inside of Cinema 4D Lite.

An introduction to the spline tools inside of Cinema 4D Lite including the Bezier Spline Tool, Circle and Rectangle Splines, and Spline Masks.

Check out EJ's blog at eyedesyn.com!

Less...

Transcript

In this video, we're going to sketch out our Game Boy with splines which are basically Cinema 4D's version of paths that you will typically find in your Adobe apps that you're familiar with like Illustrator and After Effects. So the first thing I want to cover is just how you can launch Cinema 4D Lite. You have to do it from inside of After Effects and it's very simple. You just go to File, New, Maxon Cinema 4D file and, for now, I'm just going to save this as Untitled. And with that, we are launched into Cinema 4D Lite. Again, from inside of After Effects. And the first thing we're going to do is go over all the spline tools. Now here is the spline button, right here. I'm going to click and hold and that will reveal all the spline tools we have. So this is going to be very, very reminiscent to path tools inside of Illustrator or After Effects. We have the freehand tool, which I can just freely draw inside of my viewport. And since I'm in the perspective view, this is something that we're going to have to keep in mind here since we're dealing with 3D space, is that if I click this little button right here, that's going to bring up our four up camera view. Again, like in After Effects, where you can also do four ups. We've got top view, right view and front view. And you will notice from our right view that this isn't exactly a flat spline. You can definitely tell that from our top view. And then if I orbit around my spline here, you can definitely see that this is not flat. So if you want to create flat splines, typically what I'll do is go into my front view and, again, I'll, instead of freehand this time, maybe I'll choose Bezier. Again, Bezier is clicking and dragging. And, again, it just works exactly like you would expect it to, so if you're from Illustrator or After Effects, you're right at home with the Bezier tool. And to actually close this spline, to close this Bezier spline, we're just going to go into the object properties of our spline and just click "Close Spline." And that'll close that right up. So I drew this in my front view. I'm going to click this button again to go into our for up view. And you can see that we built a flat spline. That is flat as a board and that is because we drew it in our front view. So you won't have any of those kind of issues with depth unless you want to. Unless you want to actually click on these spline points and manipulate them in 3D space. But if you're looking for flat spline creation, just do it in the front view and you'll be good to go. So that was our Bezier spline. So we actually go into individual points here and if we want to convert this Bezier handle to more of a linear spline, we can just right-click on that point and click hard interpolation. You can see that by the icons here, we don't have Bezier handles in the soft interpolation. So I can go hard interpolation and then I'll make a hard interpolated spline point with no Bezier handles. I can do the same thing here. Or I can select them all by going to rectangle selection. I'm just going to click and drag and I got all my points selected. I'll right-click, go to hard interpolation, and now we have linear splines. And I could also click, right-click on these and go soft and introduce some Bezier points right back into it. So we can also build linear splines by going to linear spline tool and just clicking and dragging. Again, close the spline by checking "Close Spline." And there we go. So very, very easy. Again, very reminiscent of your path creation tools inside of Illustrator or After Effects. This is just very easy stuff. So on top of all the spline creation tools here, you also have spline objects, which are going to be very, very handy in building specific elements. So let's just go ahead and start building our Game Boy. And to start I'm just going to create a rectangle spline and right now we have it facing the wrong direction. We actually want this in a different plane. So we can go in here and choose our different plane mode here, and I want it to be X and Y. And that'll make it face forward. So perfect. And we can adjust the width and the height here by adjusting these object properties in here. We can also introduce some rounding by checking the rounding checkbox there. And we can adjust the rounding or the chop [sp] frame, if you are familiar with that term inside of Illustrator. So let's just do like a slight rounding, maybe 15, and let's just start building our Game Boy elements. So there's the main body, right? So let's just, I'm going to come in, click and drag to duplicate that rectangle, and I'm going to build the little screen portion. And if I actually want to edit this further, see right now I can't edit this at all. But if I hit C, that'll actually release this to individual points. So it's almost like in After Effects where if you have a shape layer, and you have a rectangle path and you want to release it or convert it to a Bezier path, basically the same kind of thing. We're making this editable so we can have access and Edit those path points or those spline points. So I can actually go in here and kind of move individual points around. I'm going to go into my front view here and just kind of adjust these points, like so. So maybe I want this one edge to be a little bit rounder than the rest. Perfect. And I'll just name this "Screen Backing". And this will be "Main Body". And now we can go and I'll just again, Cmd-Click and drag this "Main Body" to create the actual screen. And I'll just adjust the width and the height here. And make sure I'm clicking and dragging these access points so I'm not moving them forward or anything like that in Z space. So they're all in the same plane and we'll get rid of the rounding there. So I'll just turn that off and that's looking good. So now we can actually create some buttons. So we will go back into our spline menu here and we'll just use some circle splines. And again we have all these options in the object properties field. We can use an ellipse, by kind of shrinking it in the X or the Y. We can also create a ring and that'll give us an inner radius here, which is pretty useful, but we're just going to use the radius here and just bring this down to say, 30, and then just position this in space. And I'm clicking this little area here to constrain it to the X and the Y plane. So I'm not moving it, again, forwards or backwards inside of Z space. We can also go into our front view, and this is probably way easier, and just move this around and position this. And I'm going to come in and click and drag and duplicate this button and put that in place like so. And then we can create our little game pad. And to do that, we're going to go ahead and create a couple rectangles. So I'm just going to decrease the width and the height and just put this in position. And then I'm going to Cmd-Click and Drag and then just hit R and rotate it. And I'm going to hit Shift to kind of constrain that to increments of 10 and just rotate that 90 degrees. I could have also just gone in here and just entered in 90 degrees in our rotation B. Now we want to actually join these two rectangles together to create one actual spline. So there's something similar to the pathfinder in Cinema 4D Lite and it's actually called the spline mask. I'm going to go into our little generation tools here and go into spline mask. And what we can do with this is whatever splines we add as a child underneath our spline mask, we can actually, if I go into my object properties here, we actually add those two together. So right now, by default, the mode is A union B. So it's going to add those two objects together and create one spline. So it just simply added the rectangles, created our little cross or little gamepad element, which is really super useful. And again, we can go in here add just a little bit of rounding, if we want to, just some subtle rounding, and that is perfect. So this is the basic outline of our little Game Boy asset. So, what we can also do is use Illustrator files and paths we create in Illustrator and actually bring them into Cinema 4D and we will demonstrate that right now. So here I am in Illustrator and I built out a more complete version of the Game Boy. You can see a lot of the elements that we already built inside Cinema 4D Lite using their spline tools, but if we get art sent to us as an Illustrator file, we can easily import the splines or the paths from Illustrator and import them into Cinema, but there is one important step we need to do to be able to import these paths into Cinema. So what we're going to do is we're going to "Save As," and this is the very important step. I'll just rewrite over the AI file I already have. And this is the most important step. When you're prompted for a version, we're going to go all the way down to Illustrator 8. Now, that's just what you have to do. That's the most compatible version of paths that Cinema 4D can actually read. So we're going to save to a legacy format. Hit OK. And then we can actually jump back into Cinema 4D Lite. We can create a whole new composition and we're going to import those paths, those Illustrator paths, into Cinema. So I'm just going to go to Open, and just open that AI file, and I'll just say OK. And what's going to happen is that is actually going to bring in all of our paths as one, and that's actually not what we want. So we're going to actually do this again. And we'll just say yes. And this time we're going to say "don't connect those splines". This is something that you could run into if you want to actually bring in splines and actually have the opportunity or the ability to manipulate individual splines. We can do that by disconnecting the splines, and grouping splines is okay. Hit OK. And now, we have all of our individual paths inside of Cinema 4D from Illustrator, which is really, really handy. So what I'm going to do is just zero out the coordinates here to center this in our scene. We have our Illustrator paths inside of Cinema 4D Lite that we can now start manipulating as we please. So you can see how intuitive and easy it is to create and manipulate splines inside of Cinema 4D Lite. So if you're familiar with paths in other Adobe apps, again, like Illustrator or After Effects, you're going to feel right at home with all the intuitive spline tools inside of Cinema 4D Lite.
Dans cette vidéo, nous allons esquisser notre Game Boy avec les courbes vectorielles ou splines qui sont à Cinema 4D ce que sont les tracés (paths) que vous trouverez dans vos applications Adobe comme Illustrator ou After Effects. Pour commencer, je voudrais vous montrer comment lancer Cinema 4D Lite. Vous devez le faire à partir d'After Effects, et c'est très simple. Allez dans File, New, Maxon Cinema 4D file et, à partir d'ici, j'enregistre sous Untitled. Avec ceci, nous sommes envoyés dans Cinema 4D Lite. À partir d'After Effects. Pour commencer, passons en revue les outils de courbes vectorielles ou splines. Voici le bouton spline, juste ici. En cliquant et maintenant dessus, je fais apparaître tous les outils à notre disposition. Cela va vous rappeler très fortement les outils de tracés (paths) dans Illustrator ou After Effects. Nous avons l'outil main libre, avec lequel je dessine librement dans le viewport. Étant dans une vue de perspective, nous devons garder en tête que nous sommes dans un espace 3D, et, qu'en cliquant ici nous dévoilons nos 4 vues de caméra. Comme dans After Effects, nous avons 4 points de vue. Vue de dessus, vue de la droite et vue de face. Et vous noterez, à partir de la vue de droite, que la courbe n'est pas plate. C'est plus clair encore depuis la vue de dessus. Si j'orbite autour de ma courbe, vous voyez clairement ici qu'elle n'est pas plate. Aussi, pour créer des courbes plates, je vais aller dans ma vue de face et, plutôt qu'utiliser la main-libre, je vais utiliser une courbe de Bezier. Une courbe de Bezier, c'est cliquer et glisser. Pas de surprise, si vous venez d'illustrator ou After Effects, l'outil Bezier fonctionne comme vous l'attendez. Pour fermer cette courbe, nous allons dans les propriétés de l'objet et cliquons sur ''Close Spline''. Et elle se ferme tout de suite. J'ai dessiné cette courbe en vue de face. Je clique ici pour retrouver mes 4 vues. Et vous voyez qu'elle est bien plate, comme une planche, parce que nous l'avons dessinée en vue de face. Ainsi, vous n'aurez pas de problème de profondeur, sauf à ce que vous vouliez cliquer sur ces points de la courbe et les manipuler dans l'espace 3D. Mais si vous voulez une courbe plate, restez en vue de face et ce sera bon. Voici pour notre courbe de Bezier. Nous pouvons aller dans ces points ici et convertir la courbe de Bezier en une spline linéaire, en cliquant-droit sur ce point et sélectionnant hard interpolation. Vous voyez par ces icônes, ici, que nous n'avons pas de poignées de Bezier dans soft interpolation. Donc je peux choisir hard interpolation, et créer une interpolation dure sans poignée de Bezier. Je peux faire pareil ici. Ou bien, je peux tous les sélectionner en choisissant l'outil de sélection rectangulaire. Je clique et glisse pour tous les sélectionner. Je clique-droit, choisis hard interpolation et nous obtenons des splines linéaires. Je peux également cliquer-droit ici et les adoucir en y introduisant à nouveau des points de Bezier. Nous pouvons aussi créer des splines linéaires avec l'outil linear spline et en cliquant et glissant . On ferme la spline en cochant 'Close Spline'. Et voilà. C'est très facile, et semblable aux outils de création de tracé que l'on retrouve dans Illustrator ou After Effects. C'est vraiment très simple. Au dessus des outils de création, vous trouverez des objets qui s' avéreront très pratiques pour construire des éléments spécifiques. Construisons maintenant notre Game Boy. Pour débuter, je crée une spline rectangle qui se trouve mal orientée. Nous la voulons sur un autre plan. Je vais ici et choisis un autre mode de plan, je le veux en X et Y. Ainsi il nous fait face. Parfait. Nous ajustons la largeur et la hauteur en modifiant ces propriétés de l'objet. Nous pouvons aussi arrondir les angles en cochant cette case. Et ajuster l' arrondi ou le chop frame, si vous êtes familier de cette terminologie dans Illustrator. Faisons un léger arrondi de, disons, 15 , et commençons à construire les éléments de notre Game Boy. Voici pour le corps principal. Je clique Cmd et glisse pour dupliquer ce rectangle et je construis la partie de l'écran. Si je veux la définir plus précisément, à ce niveau je ne peux rien faire. Mais si je tape C, cela libère les points. Comme dans After Effects, où vous disposez de shape layer (calques de formes), et que partant d'un tracé de rectangle vous désirez le libérer pour obtenir un tracé de Bezier, la procédure sera similaire. Nous allons rendre ceci modifiable pour avoir accès aux points du tracé ou de la spline. Je peux ainsi déplacer ces points individuellement. Je me rend dans mon point de vue de face et ajuste ces points. J'aimerais que ce bord soit plus arrondi que les autres. Parfait. Je vais le nommer ''Screen Backing''. Et ceci sera ''Main Body''. Ensuite, je vais presser Cmd+Clic et glisser ce ''Main Body'' pour créer l'écran. J'en ajuste la largeur et la hauteur ici. Je m'assure de cliquer et glisser ces points de manière à ne pas les déplacer dans l'axe des Z. Tous les points sont bien sur le même plan. Et nous nous débarrasserons des arrondis. Je désactive ici. Et c'est bon. Nous pouvons désormais créer des boutons. Retournons dans le menu spline, et nous allons utiliser des splines circulaires. Nous accédons à toutes les options dans le champ de propriétés. Nous pouvons utiliser une ellipse, en la réduisant en X ou en Y. Nous pouvons également créer un anneau, qui nous permet d'avoir un rayon interne ici, ce qui peut-être très utile, mais nous n'allons utiliser ici que ce rayon, et le ramener à, disons, une valeur de 30, et le positionner dans l'espace. Je clique sur cette zone ici pour contraindre l'élément en X et Y. Je ne peux plus le déplacer sur l'axe des Z. Nous pouvons aussi nous rendre dans notre vue de face, c'est plus simple, et simplement déplacer ceci et le placer. Je Cmd+clique et glisse pour dupliquer ce bouton et le placer ainsi. Puis, nous nous allons créer notre game pad. Pour cela, nous allons créer deux rectangles. Je réduis la larguer et la hauteur et le place. Puis en maintenant Cmd, je clique et glisse, puis tape R pour effectuer une rotation. En maintenant Shift, je contrains celle ci en incrémentation de 10, et pivote de 90 degrés. J'aurais pu aller ici et saisir 90 degrés dans la rotation B. Nous voulons maintenant joindre ces deux rectangles pour créer une spline. Vous trouverez quelque chose similaire au pathfinder dans Cinema 4D Lite, qui est nommé spline mask. Je vais dans les outils de génération et sélectionne spline mask. Ce que nous pouvons faire ici, est que, quelque soit la spline que nous définirons comme enfant de notre spline mask, nous allons, en nous rendant dans les propriétés ici, additionner les deux ensemble. Par défaut, le mode est A union B. Les deux objets vont donc se joindre et former une seule spline. Les deux rectangles se sont additionnés, créant notre croix ou élément du gamepad, ce qui est très pratique. Nous pouvons toujours, en nous rendant ici, ajouter un arrondi, si nous le souhaitons, très subtilement, et c'est parfait. Voici le tracé de base de notre Game Boy. Nous pouvons également utiliser des fichiers et des tracés créés dans Illustrator en les important dans Cinema 4D, et nous allons voir comment faire maintenant. Me voici dans Illustrator, où je construis une version plus complète de la Game Boy. Vous retrouverez des éléments que nous avons déjà créés dans Cinema 4D Lite avec les outils de spline, mais si nous recevons un dessin en fichier Illustrator, nous pouvons facilement en importer les splines ou les tracés dans Cinema 4D. Il y a cependant une étape importante à remplir afin d'importer ces tracés. Ce que nous allons faire, c'est ''Enregistrer sous'' et c'est l'étape importante. Je réécris sur le fichier AI dont je dispose. Voici l'étape la plus importante. Quand vous devez renseigner une version, descendez tout en bas de la liste et choisissez Illustrator 8. C'est tout. Il s'agit de la version de tracés la plus compatible avec Cinema 4D. Nous allons enregistrer en format hérité (legacy format). Tapez OK. Puis retournons dans Cinema 4D Lite. Nous pouvons créer une toute nouvelle composition et importer ces tracés, créés dans Illustrator, dans Cinema 4D. Dans Open, j'ouvre le fichier AI en cliquant simplement OK. Cela va nous donner les 4 tracés en un seul, ce qui n'est pas ce que nous voulons. Recommençons donc. Cliquons ''Yes''. Mais cette fois, choisissons "don't connect those splines" (Ne pas connecter ces splines). Ceci va vous permettre d'importer les splines tout en gardant la possibilité de les manipuler individuellement. Nous obtenons ceci en déconnectant les splines, et en les groupant. Cliquez OK. Nous avons maintenant tous nos tracés individuels dans Cinema 4D depuis Illustrator, ce qui est très pratique. Je vais mettre les coordonnées à 0 pour centrer la scène. Nous retrouvons nos tracés Illustrator dans Cinema 4D Lite que nous pouvons manipuler à volonté. Vous voyez comme il est très intuitif et facile de manipuler des splines dans Cinema 4D Lite. Si vous êtes familiers des tracés Adobe, comme Illustrator ou After Effects, vous serez confortables avec tous les outils intuitifs de spline dans Cinema 4D Lite.
Resume Auto-Scroll?