How To Model, Texture, and Light A Gumball Machine

November 14, 2011 - By 

In this tutorial I show you how to model, texture and light a simple gum-ball machine using primitive shapes and deformers. I also set up a dynamics system to fill the machine with gum balls and light the machine using HDRI and the Sky Sampler. Then, we head in to Photoshop to do some final color correction.

Final Render

Posted In:  
107  comments
107 Comments
  • Awesome, was looking forward to this tutorial! Thanks Nick!

  • art thou bored?

  • It’s full of spheres !!

  • Great tutorial man! Just a quick note that under the “Basic” tab of an objects attributes you can select X-Ray which will allow you to see through the object. It’s a little quicker than using a texture.

  • great tutorial,thanks and I did something like this before this tut
    http://punkandroll.deviantart.com/#/d4df4kc

  • You’re a machine Nick!

  • Hey! buddy, great job! thanks for the awesome tutorial.:) Can you do one for Christmas coming up–something like how to make a animated bow–still can figure it out how o do it—thanks bud,

  • Looking forward to it !

  • @mark: try using a spline wrap set to rail then tweak the curve display to make it thicker and thinner where it goes in and out of the knot. of course, you’ll have to draw the spline that makes the bow. you don’t need a tut for that, just practice.

  • Nice as always

    Gumball + pinball… played Twilight Zone?
    http://www.ipdb.org/showpic.pl?id=2684&picno=5283

  • Great tutorial again ! Quick tip : in photoshop, you don’t need to make a selection, then a copy paste, just hold Cmd+Alt+Shift+E for combine all visible layers in a new layer.

  • Hey Nick, I wish you use Lightroom instead of Ps.
    It is amazing , percise & easy

    Thanks Nick, You are the one

  • Great stuff as always Nick, I noticed you had Vray plug-in installed , and was wondering if you was planning on doing any tuts based on Vray, good Vray tuts are hard to come by and i would love for you to do one 😉

  • really really nice tut Nick,
    thanks for share my friend 🙂

  • Wow, I enjoyed watching this one

    Great stuff Nick!!

  • nick, quick comment / question about the way you do fresnel on the reflection all the time. when you create a fresnel you then always mess with the brightness slider. it seems to me that the brightness slider does nothing at all to affect the look of a fresnel. is that true or am i missing something. i know the mix strength definitely affects a fresnel btw.

  • hello my friend
    i have all of your videos
    and thats very useful
    but i have problem with import plugin in cinema 4d r12

    i’m sure all thing are ok but i dont know why it dosent work

    i put them in the folder of plugin but when i run application there are nothing in the plugin 🙁 could you please help me???

  • Nice tutorial, I enjoyed watching it!

  • hi Nick,
    great tut, as always!

    quick question; when using cloth nurbs, is there also a way not to have the gumballs intersect, I do like the look of it here too, but it will not always work for every project. thx!

  • nice tut but too late for me!! one month ago I had to make one! here is the vid: http://vimeo.com/30062159
    Thanks a lot anyway!! cheers

  • Hi, Nick. Very simple and super tutorial.
    Here’s my version of the renderer.
    Tell me what you think…
    http://cs4409.vkontakte.ru/u4004309/-14/z_5ebfb167.jpg

  • @lsslss One of Chris’ tutorial recently showed how to make the dynamics stay a away from an object. What you need to do is select the glass sphere, and in the dynamics tag, under ‘Collision’, tick the box that says ‘use’ and then in the ‘margin’ box give it something like ‘3cm’. That means the dynamics will always stay 3cm away from the collision object.

  • I’ll buy the studiokit after Xmas, but in the mean time, I love playing around with the free sIBL plugin:
    http://i283.photobucket.com/albums/kk295/godmil/GumBall8.jpg
    http://i283.photobucket.com/albums/kk295/godmil/gumball7.jpg
    http://i283.photobucket.com/albums/kk295/godmil/gumball6.jpg

    Thanks for the brilliant tutorial Nick.

  • you may have to add the rigid body on the cloner…

  • Hey Nick,

    Thanks!!! Another Great tutorial

  • Here is my attempt. Not Gum balls, but using similar techniques.

    http://www.flickr.com/photos/51529034@N07/6348142296/

  • Hey Nick, maybe you could do a tutorial about texture of chanttilly or cappuccino foam. I looked all over the internet and found nothing about it.

  • Hey Nick,
    I just wanna say… I love all your tutorials! Since I found you, I watched every tutorial. I love Cinema4D and sometimes I had a little problems by understanding tutorials in english, because I’m german, but your tutorials are allways followable and I understand every step you made. So I just wanna say: Thank you for all your great work and all the inspiration you give us!

    Oh…
    And this is my Version:
    http://tinyurl.com/d3rhztl

  • Does the Sky Sampler work well with animation?

  • Hey Nick, nice tutorial 😀
    could you do a tutorial of this? http://www.youtube.com/watch?NR=1&v=RVNljPBSuS4

  • @Daniel
    Great tip with this x-ray thing, thank you for that!

  • nick im trying to create the spiral downfall ramp that the gumballs go down but i cant seem to make a working spiraling ramp , when you get a chance could you make a tut explaining how to go about making it?

    <3 MonstaGraphicsAU

  • Two questions:
    – Why not put the Dynamics tag on the cloner ?
    – Why not use a Multi-shader for the gumballs color ?
    I understand there is no “right way” but are there any perks in doing it like you did ?

  • @MonstaGraphicsAU I’ve not done this before, so sorry about the quality, but here is a very basic examble of making a spiral ramp. Hopefully it can give you some tips for your one. http://vimeo.com/32202250

  • Awesome!! Thanks a lot

    You might want to check that : http://shadowness.com/sahirkhan/city-life

    Peace

  • @Godmil – thanks for the vid.

    And thanks Nick!

  • Nick in your render there are some reflections of gum balls at the top of the glass dome. Were these added in Photoshop or were they rendered in Cinema?

  • @Bender, can’t speak for Nick, but in my renders those reflections (refractions?) appeared in the render.. they could probably be tweaked by playing with the refractive index of the glass.

  • Cute render Nick!
    here is my try with 3dsmax and Vray
    http://jtiner.deviantart.com/gallery/25411794#/d4gea50

  • New to this site and I think I just found my Videocopilot version for Cinema 4D 😀

  • I had a problem to create the top of the machine because I couldn’t bevel it to give a more realistic shape in the bottom (Some people had the same problem in their final renders).

    My solution: Select the oil tank, delete the height and bottom, then you have the top of the gumball machine, chose bevel and scale the first segment at the bottom, making it smaller (so you have now a kind of base), then you can bevel the next segment (by selecting bevel) and have a rounded and smooth end.

    Thanks Nick.

  • Hey – thanks and appreciation for the tutorials!

    The killer tips for me were:
    – Using Cloth nurbs to create the glass wall / thickness. (Always used Explosion deformer before now)
    – Spend more time in photoshop!
    – Cheat to save time where acceptable.
    – Experiment and have fun.

    Here’s the result of a little tinkering llast night.
    http://goo.gl/wCwJu

    Keep up the good work fella 🙂

  • Hey Nick,

    I like that you give those little tips about how to make something more realistic. Like never use real black and the texture of the gumballs. It really helps with modeling things like this.

    Here’s my gumball machine: http://dl.dropbox.com/u/16864249/Eigen-creaties/Gumball.jpg

  • i wanna try to make an animation out of this, make something hit the glass and it shatters and the gumballs fall out of it, how would i achieve that? any tips?

  • Omar Gonzáles Díaz November 17, 2011 at 10:56 pm

    Dude’s… im so noob, Can any one tell me how to inverte polygones?

  • Omar Gonzáles Díaz November 17, 2011 at 11:02 pm

    U need to push “U” and then “R” for Reverse :)°

  • Yeah I watched his shatter tut and it’s great help, however I get stuck with making the balls acctually stay inside the sphere before the collision happens, they always seem to either explode out or just stay there without any dynamics to them… kind of hard to explain but I hope you get my drift.

  • Nice tut, Gorilla 😉
    I enjoyed it a lot!

    Gratz

  • Hi Nick,
    I’ve given it a try. Here’s my example.
    http://drawbones.com/2011/11/gumballs/

    Previously, I’ve played around with some of your excellent tutorials but I never really finished anything. It was fun and I hope to get making my own cool stuff soon.

    Thanks,
    Julia

  • I knew I wasent the only one modeling via deformers lol!

  • cloth nurb was a great tip there… nice gem

  • Nice tuto. Thanks nicky from france

  • There’s nothing wrong with using Deformers for modeling. I use them in conjunction with polygon modeling all the time. They are just tools like anything else. Whatever tool gets the job done the quickest is the best way.

  • I made one of these before this tutorial and put up a speed art making it a few months back http://www.youtube.com/watch?v=L09rifxJkxY

  • I’ve been going crazy trying to figure out how to give objects thickness, you’re a lifesaver Nick. And dude, your har looks awesome.

  • Hi, Nick
    Thank you very much.^^

  • My First tutorial with R13!! (cartwheels round room smashes through window) Managed a near identical image at the close. Managed to get my top cap matched up perfectly by matching the main sphere radius with the ‘spherify’ radius. Also for some reason couldnt find my cloth dude anywhere to thicken the main sphere. So i just doubled up the main sphere and made it smaller then re ran the gumballs! AS always, great job nick!

  • looks nice, but I see loads of intersections where the gum balls are entering the glass sphere!
    you might want to rerender it…

  • Can’t seem to get the gumballs to fall into the bigger sphere when I hit play! Any advice? I’ve gone back and forth over the steps you’ve taken and yours seem to animate, but mine don’t

  • Hi this is great, and if i want to make the specular small,
    is there anyway to contraol the hdri image?

    Kuo

  • When I click on the deformer icon to get the drop down palette, it doesn’t show the names of the deformers next to each icon like I see in Nicks tutorial at 7:24. The deformer drop down menu is the only one that I have this issue with. Can anyone tell me how to change that? I’m using R13.

  • Hello, i want you to make a tutorial on layout editor. like you have View, Render Settings and picture viewer in text abobe the view, plz help

  • Thnx for the tut chris! I have a problem.. i have c4d broadcast 13 and when i put the dynamics tags and hit play just like you do nothing happens… it’s a software problem or a configuration problem? (sorry for my english)

    • i’ve got the same problem, applied the riged body tag on the gumball and the collider on the main sphere (glass thing). when i hit the play button nothing happends.
      using R13

  • i cant see the simulation tag in mine cinema 4d

  • Hi Mr.Gorilla!

    I have this one question. It’s not related to this tutorial but I got an idea from it so… 🙂 I’ve made spheres to fall and I need to get some another object to fall too but not from frame 0 ! Let’s say that from frame 50… How to do that?

    I don’t know if i’ve missed but have you or Chris done some basic animation tutorials? Is there comming if not?

    Thank you and others some much who make these AWESOME tutorials for Cinema 4D! Just brilliant..

    Greetings: Marko

  • thanks for the tutorial, was defiantly worth purchasing those files for this. Really looking forward to learning more of your tutorials.

  • Does Cinema 4D R12 have those all bodies??
    My Cinema 4D R12 do not have that all..

  • Great tutorial! Does anyone know why my simulation tags stop working randomly? The gumballs don’t drop down anymore and it’s so frustrating! Thanks!

  • hi nick
    I posted a link to your tutorial on my new blog.. hope you don’t mind..
    Would be an honor if you had a look 🙂
    http://www.candystore.cc
    thanks for wonderful posts and for being such a great teacher

  • Excellent tutorial,

    first of all I would like to thank you because you made ??me broaden my knowledge in the area of ??3D modeling and animation, to be honest, I only had used cinema 4d five times and got a good result for a 13 year old boy who has no money to pay your texture pack and your HDRI light pack, I found some settings on the Internet for jobs created in cinema 4d and got the following result: http://i.imgur.com/45m5u.jpg keep helping me and all the curious who want to learn 3D modeling like me, you are an excellent “designer, I work more with special effects in photoshop image manipulation then had no problem getting the treatment that my own in my opinion was in fact very similar to yours.

    Excuse my terrible english I m from Brazil,
    Gabriel , you can call me CmGabriel…

  • Thanks this is really a great tutorial!!
    Im using the cinema 4D demo version and does not have any of these HDRI packs but it works great anyway.

  • Always thanks Nick, I’m really happy with your tuts!!! Thanks

  • Awesome tutorial! So I started this tutorial and I didn’t get very far haha, when I add the tags (to gumball and sphere) nothing happens (like when I press play, there is no animation) are there settings im missing or doing something wrong? Any help would be appreciated. – Greg

  • Great Tut!!! At 9:41 In the Tutorial (creating the top bolt), instead of creating a separate Capsule, I pulled the cylinder slightly higher and added a fillet cap to it!

  • Thanks for this great tutorial nick. I always learn something new no matter how simple or short the tutorial is.

  • hi …i am from Libya i wanna say hay and 10000000000000000000000000000 thnx 2 u

  • hey mate,
    really cool tut,
    Im a first step c4d newbie – and im having a probably silly issue – after adding the the rigid and the collider to the 10x10x10 grid – nothing happens when I press Play, no dynamics, nothing .
    been over your steps 5 times and still nothing

    any suggestions ?

  • Nick –
    Thanks for all the great tutorials you and Chris have made! I discovered Cinema 4D in April 2012 and GSG in May, and I’m really enjoying them both. I recently purchased the Texture Kit and the Lighting Bundle and I am very pleased with both of them. I think I’ve seen just about all of your tutorials now (some of them multiple times) and I’m always amazed at how much really solid, relevant information you guys pack into each one. I know you’ve probably seen a hundred different versions of this project, but I finally gave the Gum Ball Machine tutorial a try and my result is here: https://vimeo.com/56874683
    Thanks again.
    – Marv

  • Here’s my outcome:
    http://spookdesign.com/IMG/Gumballs_rework.jpg

    Really a great tutorial, I learned alot! Only thing was I have R14 and it doesn’t have Sky sampler anymore so I used QMC.

  • Amazing that something that looks as great as that can be done so surprisingly easy as long as you know how. Guess that’s the reason why there are lots of cool designs emerging everywhere. Thanks for the tutorial.

  • Hi..can i ask something..how to set the gumball position that you rendered to initial state..i mean that you have render the image in the middle frame..can you make this frame you rendered to the first frame?sorry bad english..

  • Matthew Burleson July 3, 2013 at 1:49 pm

    Here is my page with my example of my gumballs. Along with a few others… let me know what you think! http://miaproductions.tv/portfolio/graphic-design/

  • Thanks dude, awesome!

  • Really good tutorial!! thanks a lot !! i’ve made a speed art : http://www.youtube.com/watch?v=n6CHXDLGIMY

  • Nice..
    iam usedto working on 3Dsmax but now i know Cinema 4D and Maya is best!
    so iam stop working on 3dsmax.
    but PLEASE MAKE AN TOTURIAL ON STEERO 3D RENDERING ,LIKE FOR 3D TVs
    tHANKS ALOT

  • Dude. I just have to say that you’re the best thing to happen to the C4D community. You’re rad, you’re helpful, your tutorials are super straight forward, you provide amazing tools that help nerds like me look like I know what I’m doing. Anyway, keep it up and thank you.

  • Hi, great tutorial. Just one problem, I use Maya and I was just wondering if you could do the same tutorial in Maya 3D? Or is it too complicated?

    Thanks!
    – J

  • whenever i render the final, my gumballs facing the camera are a black reflection and the reflect all the colors around them,…. is my gumball texture to reflective?! what the heck is going on!?

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    Categories

    Follow us on Instagram