Skill Level Intermediate
- [EJ] Welcome to another Motion Graphics Weekly where you up your MoGraph knowledge one week at a time. I'm EJ Hassenfratz, let's get our learn on. If you've ever played Minecraft, you know what voxels are. Voxels are basically three dimensional pixels, and in Minecraft, everything is made up of these little voxel cubes. In this video, I'm gonna show you just how easy it is that you can turn a 3D object into a voxelized version of itself inside of Cinema 4D.
So here's our scene, and to create a voxel version of our little cherry, it's as easy as going to our MoGraph menu, grabbing a cloner, and let's clone a bunch of these little voxel cubes. So I'm gonna place my cube as a child of this cloner, and let's name this the cherry cloner. And for our cube, let's make this pretty small, so maybe 10 by 10 by 10, add a little bit of fillet rounding, maybe a centimeter of 0.1, and now we're gonna create our voxel grid array.
So we're gonna go and change this mode to grid array, and here's where we can space out everything. So give a little bit of room between our little voxels, so not a ton of space between all of our voxels. And the goal is we're gonna create this grid array big enough that it totally takes over the volume of our little cherries. So let's go and instead of manually adjusting this, and then if we wanted to add counts, or more count in each direction, we'd have to keep adjusting all those values, but what I'm gonna do is just go 20 by 20 by 20, and change the mode from endpoint to per-step.
And what that's gonna mean is that every 10 centimeters there's gonna be a new cube, and I can just add onto it by adjusting the count. And this is much easier to then set up. So all I need to do is again, make sure that this grid array of cubes, our little voxels, just totally takes over our little cherry. So you can see my viewport's kinda slowing down, I'm gonna check on render instances to speed it back up, store a lot of these clones in RAM.
Getting a much speedier scene. And now you can see that looks like we now have almost all of our cherries under this block of cubes, this grid array of cubes. And you can see, looks like we got all of them inside that grid, okay. So now what we can do is you can see that the form is set to cubic, so it's just gonna create a cubic form of all these cubes, but one really handy option is the object form.
And here's where you can define an object that you wanna fill up with your clones, or in our case, our cubes. So I'm gonna drag and drop this cherries connect object, it's gonna connect both of these little spheres together, and voila. If I turn off the cherries from view, by just double-clicking on these two stoplights until they turn red, you can see there's by little voxel cherries. And I can move my grid array around to kind of adjust how the cubes are forming here.
So there we go. Let's just place a red material on our little cherries there. And now to make the stem version, I can just easily Command, click, and drag to duplicate that cloner, name this stem, and let's place a brown material on this, and we'll just replace the object with the stem sweep. So we'll replace the cherry with the stem, and let's just go back to cubic again, and reposition our cubes here, our new grid array cube, to just take over where the stem is.
We're not gonna need as much of a count as we did for the cherry, so we can kind of pull back on the count here, so something like that. Just wanna ensure that we have enough to fill up and cover the stem. So I think that's got all the stem there. And now we can go back, change this form to object, and there we go! And now we can just hide the stem from view by double-clicking both of these dots until they turn red. And there we go, we got our stem! Our voxelized version of our stem.
And again, you can adjust this to fine-tune how your voxel looks. And then if we render, we got a pretty cool Minecrafty version of our little cherry. Now this is all procedural. If you wanted to add more resolution, you could by making the cubes a little bit smaller and then just spacing things out again. But this is a very handy workflow, quick, easy workflow for creating voxels. So, Cinema 4D's cloner object, super versatile, and makes creating voxel art a snap.
So have fun doing your voxeling. Don't wanna wait until next week to learn something new? No problem! Here are other ways to feed your creative brain to keep you busy in the meantime. You can check out my other courses in the library, visit my website, eyedesyn.com for more tutorials, subscribe to my YouTube channel to be alerted when I post a new video, join my Facebook page for daily MoGraph inspiration, and keep up to date on all my latest MoGraph creations on Instagram.
Thanks for watching, and I'll see you here again next week.
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.