How To Model, Texture, and Light A Gumball Machine

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

Signup for the newsletter.

Updates about once a week. Deals on new products. Not spammy. Whats not to love?

85 people have commented on this post. You should too!

  1. Manny says:

    Awesome, was looking forward to this tutorial! Thanks Nick!

  2. frankenstein murr says:

    art thou bored?

  3. andre fry says:

    It’s full of spheres !!

  4. Daniel says:

    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.

  5. mert says:

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

  6. Jason says:

    You’re a machine Nick!

  7. Mark says:

    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,

  8. Timmi Klügel says:

    Looking forward to it !

  9. frankenstein murr says:

    @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.

  10. tobbe says:

    Nice as always

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

  11. Kola says:

    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.

  12. Islam Farouk says:

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

    Thanks Nick, You are the one

  13. Jay429 says:

    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 ;-)

  14. Gokhan says:

    really really nice tut Nick,
    thanks for share my friend :)

  15. Steve From UK says:

    Wow, I enjoyed watching this one

    Great stuff Nick!!

  16. ggreg says:

    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.

  17. yas_d says:

    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???

  18. nikonido says:

    Nice tutorial, I enjoyed watching it!

  19. lsslss says:

    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!

  20. Pingback: Model of Gumball Machine in Cinema 4D - GFX WARRIOR

  21. 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

  22. Pingback: Gumball Machine | imalanin.com

  23. Malanin says:

    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

  24. Godmil says:

    @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.

  25. Godmil says:

    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.

  26. sergiu says:

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

  27. Dave Woodhull says:

    Hey Nick,

    Thanks!!! Another Great tutorial

  28. Jp says:

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

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

  29. Eliezer says:

    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.

  30. Lysa Bell says:

    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

  31. Cory says:

    Does the Sky Sampler work well with animation?

  32. Mike says:

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

  33. Myaka says:

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

  34. MonstaGraphicsAU says:

    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

  35. n49o7 says:

    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 ?

  36. Godmil says:

    @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

  37. DC says:

    Awesome!! Thanks a lot

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

    Peace

  38. Bender says:

    @Godmil – thanks for the vid.

    And thanks Nick!

  39. Bender says:

    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?

  40. Godmil says:

    @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.

  41. Johannes says:

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

  42. Alex says:

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

  43. elpablo says:

    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.

  44. Stef says:

    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 :)

  45. Paaj says:

    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

  46. Bjarni says:

    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?

  47. Omar Gonzáles Díaz says:

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

  48. Omar Gonzáles Díaz says:

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

  49. Bjarni says:

    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.

  50. LuiZilva says:

    Nice tut, Gorilla ;)
    I enjoyed it a lot!

    Gratz

  51. Pingback: Gumballs | Julia Stack (Klein) Drawbones Medical Illustration

  52. Julia Stack says:

    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

  53. savoie says:

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

  54. cloth nurb was a great tip there… nice gem

  55. neon says:

    Nice tuto. Thanks nicky from france

  56. Roy says:

    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.

  57. BrandonsGFX says:

    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

  58. Nillerus says:

    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.

  59. bok says:

    Hi, Nick
    Thank you very much.^^

  60. sy says:

    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!

  61. macray says:

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

  62. Shane says:

    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

  63. Kuo says:

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

    Kuo

  64. kwaku nyantekyi says:

    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.

  65. MozillaGFX says:

    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

  66. Daniel says:

    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)

  67. Gabriel Reyes says:

    i cant see the simulation tag in mine cinema 4d

  68. Marko says:

    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

  69. Andy Mo says:

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

  70. CINEMA$D says:

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

  71. Peter says:

    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!

  72. Barbara says:

    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

  73. To_Go says:

    Pretty Nice

  74. Gabriel says:

    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…

Comment Rules: I love helpful comments. We don't all have to be friends or agree, but we do have to be nice. Criticism is fine, but rude comments will be deleted. Use your real name and don't be spammy. Have fun and thanks for adding to the conversation!

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>