Greyscalegorilla.com

X-PARTICLES: millions of particles, fast render times

How To Use Textures and Objects to Light Your Scene With and Without Global Illumination in Cinema 4D 157 Comments



In this video, I show you a couple of ways to light your scenes with luminant objects and textures instead of lights. First, I show you how to use global illumination to get this effect and show some of the downfalls of using global illumination with animation. Then, I show you an alternate way to get this effect to cut down on render times and improve reliability.

Example

City Kit
Transform

Comment Rules

This is a friendly community. Please treat everyone with respect. We don't all have to agree, but we do have to be nice. Criticism is fine, but rude comments and name calling will be deleted. Use your real name and don't be spammy. Thanks for adding to the conversation.

157 Comments

  1. nice! yeah i agree with ragingclaw…sometimes when i’m under the gun, i don’t have time to render out a GI animation.

    Reply
  2. Georgie Down

    Ohh man! I´ve been waiting for this kind of tutorial since… I don’t know!

    Thank you so much, Gorilla!!

    Reply
  3. Zerogravity

    is that a twenty four logical cores i`m seeing in there while rendering?

    Reply
  4. Nice work Nick – good solution. I actually just had to re-render a scene that I had lit with GI, so this was on my mind.

    Reply
    • mike howe

      hi nick
      can you use Global Illumination an thing like room or character!
      mike howe.

      Reply
  5. Pretty cool but is there any way to use the same light technique but instead of using spheres using planes to light a scene like you use your soft boxes and other objects from your light kit?

    Reply
    • If you just want to use a plane you can use the area light as it is.
      In the “details” section of the area light you can also choose “Object / Spline” in the “Area Shape” menu. With this you can choose ANY object to emit light.

      Don’t understand why the gorilla didn’t show you this technique.

      Reply
    • Kerubin

      Pretty cool! I tried using area lights on my own objects, but I’m getting really bad hot spots from the glow. Anyone any ideas?

      Reply
  6. ryanroehl

    For realism sake the second method only would work for spheres, right?

    Totally excited about this tut non the less.

    Reply
    • Fjooner

      You could use an array of lights if your mesh is fairly basic.

      Reply
    • You can use an area light with “Object” as Area Shape. That way you can use any object shape! But it is slower than an omni light.

      Reply
  7. Dope Tut man. Keep them coming. Quick question. How can you use a sound effector to drive the luminance. Like turn the lum on and off with the sound effector. I know its expresso but i dont know what part of the sound effector node to pick wip the lum channel to.

    Reply
  8. i havent tried it out, but i guess if you make a material with a proximal shader in the luminance channel and use this material for the setup you wanna get lit, you would be able to use non-spherical objects.

    hopefully my thought was understandable.

    very nice tut nick

    maybe you could dig a bit deeper into the particle emitter in another tutorial, maybe even into pyroCluster.

    Reply
  9. the “Render instances” option should be turned off, simply because lights can’t be instanced for render :)

    Reply
  10. that was really cool.
    I was so excited with GI that i forgot about stuff like that.

    But then, light was wont bounce off wall, right? yep it wont.

    Im not sure if GI and illu would have much difference from just using lights.

    Thanks Nick. I am working on my band’s artwork, that would help i think.

    You can also exclude those lights for GI so you have GI wherever you want.

    I would love to see a tut with full animation GI from you and mostly with self illuminated materials. Pretty much settings and what they do.

    Thanks again.

    Reply
  11. pt1: Dope Tut man. Keep them coming. Quick question. How can you use a sound effector to drive the luminance. Like turn the lum on and off with the sound effector. I know its expresso but i dont know what part of the sound effector node to pick wip the lum channel to.

    pt2: How can you use the audio to emit particles from the emitter. Like if you have just the kick and every time the kick drops it emits a certain amount of particles.

    Sorry for the complex comment. I dont even know if this is where to post this!! HAHAHA

    Reply
    • Cheebachops

      Any idea how to transfer user created material presets over from a previous version? I can’t find the “user” folder anywhere.

      Reply
    • Cheebachops

      oops,sorry for mistaken reply.
      There isnt a non-scripting way to use the basic emitter for this, but the sound effector and thinking particles mixed with xpresso works perfectly.
      1:sample effector output strength
      2:range mapper
      3:Pstorm node

      Steps 1-2 in conjunction with a material nodes luminance brightness port will work for the other question you asked.
      hope that helps.

      Reply
  12. Marcel

    Hi Nick .. this solution will only work for spheres and only for spheres with 1 single color. Try to get a solution for multicolored spheres or for non-spherical objects ..

    thats is the first tutorial which was wasting my time. all people with a bit of logical think be able combine a light with a sphere and exlude them each. Or this tutorial was for beginner. i dont know ..

    Is out there a solution for example other object types?

    Reply
    • try a proximal shader in the luminance channel of the ojbect you wanna lit.

      Reply
    • Marcel

      This wont work like it has to be .. it doesnt look like a gi effect without enough geometry.

      Fabian says right .. turn the mesh into a light source and higher the amount of samples to get a clean effect. And also copy the object and drag it above for the use with materials.

      but this will also not work for multicolored surfaces

      Reply
    • Sorry to just repost my answer from a few posts up, but here you go:
      You can use an area light with “Object” as Area Shape. That way you can use any object shape! But it is slower than an omni light.

      Reply
  13. Fabian

    Hi Nick!

    Awesome tut as allways! One thing you could also do is turn a hole Mesh into a Light! Pretty Neat! Just turn a light into a Area-light and under Details switch the shape to Object/Spline! Now every Mesh you put in there is a light itself!

    Greetz Fabian

    Reply
  14. newroyal

    The fun-part of render instances is that I can setup an cloner/mograph-animation of a cube and afterwards disconnect/explode it to poly’s adding object buffers to it.

    Reply
  15. mikotondria

    Nice one, Nick – very useful for those of us who only have a couple of rendering boxes come up when we need them, not a swarm ! :)
    12 core multi-threaded, Jeez man, you’re making us all v jealous :)
    Great tute as ever, perfectly paced and awesome ad hoc commentary.

    Reply
  16. Didier

    Nick, what an awesome tutorial! Just what I need! In the example animation I see you have some “glassy” balls in there, how you made them? There nice!

    Reply
  17. Great, this is exactly what I need for a project.
    Thanks man !

    Reply
  18. Ahhhhhhhhhhhh that emitter thingy is so cool.
    Gonna have a crack at it right now.
    Mucho thanks Magilla.
    Hey the light kit is not to shabby either.
    Rich

    Reply
    • Cheebachops

      Looks like it was done by using the following method.
      1:Create new material and import a colour image texture into the luminance texture field.
      2:Add a light as per Nicks tutorial
      3:Drop the new material onto both the sphere and the light
      The material tag on the light works like a light gel.

      Reply
    • Cheebachops

      change to sequence above:
      Create a copy of the material you made and change from luminance to transparency for placement of the texture.
      Drop the luminance one onto the sphere and the transparency one onto the light.

      Sorry about that, it’s been a while since i last used this method and i’m getting old.

      Reply
    • right :) that’s how i made it, just make the both blur settings on the transparency texture very high, otherwise it will look like colored shadows :)

      Reply
  19. Classicgamer

    Fantastic as always there Nick, really sexy looking visuals. Can’t wait to see your new texture kit, i use your lightkit nearly every other day and use daylight all the time, it makes things looks great quickly and effectively and so easily tweakable too which helps heaps!

    Reply
  20. Fsimoni

    Hi Nick!
    Which version of C4D you used on this tutorial?

    Tnx

    Reply
    • Fsimoni

      mmmmhhh…
      The “rigid body tag”, don’t work in a sphere without “cloner object” in C4D ver. 11.5

      It’s possible?

      Tnx

      Reply
    • Getting weird results in CD4 ver. 11.5. I don’t think the cloner object is cloning the light positions.

      Reply
    • Cheebachops

      you may have cloner set to render instances by mistake

      Reply
  21. Junior

    That was brilliant. Been wondering how to do that. Appreciate you too much GorillaMan!!

    Reply
  22. Thanks a bunch for the awesome tutorial/helper. This actually helped me out pretty much to be able to complete a “lightshining” scene I’ve been buzzing with for quite a while!

    Reply
  23. Sweet tutorial nick :D , i have a question thought, or i guess its more of a work around than anything, when im rendring out my scenes i like to go photo-realistic. But for some reason cinema 4D takes for ever to calculate blurry reflections, is there any way at all to speed the render times up? i mean i had a 600 frame animation and it took 1 hour 24 minutes to render one frame, and that was even with samples set to low, GI set to low, shadow, reflection and refractions set low. so any help would be sweet on this.

    Reply
    • There is no trick to speed up blurry refections or GI, really. Those things take a LOT of processing. That said, I will be talking more about optimizing your scenes and renders in an upcoming series.

      Reply
    • what about rendering a non-blurred reflection pass and blur it afterwards in compositing?

      BTW. Great tutorial Nick I learned a lot, but that 12 core machine is waaay to expensive ;)

      Reply
    • Cheebachops

      That would do the trick illd, but you’d also need to use a matte layer to counteract the blur seeping beyond the objects edges, i think.

      Reply
  24. simon

    that’s really cool tutorial, thanks nick
    but how the hell you make that awesome transparent material ?

    Reply
  25. Steve

    After reading the comments that it’s restricted to spheres, I tried to figure out how to do this with other primitives (torus, cylinder) this is where I got: http://vimeo.com/15603656.
    I worked with a Matrix cloner to get the lights “inside” the geometry.

    Reply
    • Kerubin

      That’s cool!! How would I go about doing that with my own objects?

      Reply
  26. Hey there Nick, nice one.
    What I would love is more in depth about GI, I saw your tutorial with the Rob(the englishman) if I remember correctly which was good.
    We all kind of know what things are in GI land but still it is difficult to comprehend it especial when the info is written.
    Therefore I love video tutorials, they are more understandable in a visually way.

    To many times I make things with no GI because I can not guarantee a flicker free render.
    Often with a deadline you just can’t afford a second render, so us “THE PEOPLE” need more info on GI
    It can produce wonderful results so let’s make the world more wonderful:D

    Keep it up man.

    Nick

    Reply
  27. Nick, out of curiosity, im currently planning a pc build for my gfx. Im going with 2 Xeon 6 core processors on a server motherboard. Giving me 2 processors, 12 cores, 24 threads. How did you configure, or even find a build like the one you have? Asking reason is, is that a configuration like that, has to be custom made. Are you spying on me? Cause ive been planning this for 2 months when you were on a mac, now you got what i only have in a buying cart!!

    Reply
  28. Zuhair

    Hey !!
    How are you ?

    I have a problem with render it take a lot of time !! and my PC :
    - Intel Core 2 Duo 2.9 GHz .
    - 2 GB ram DDR2
    - Win Xp

    Am I have to Increase The RAM or Change CPU

    Reply
  29. Hey Nick!I like the way You make The Emitter Emit Spheres in the end. I really wanna do that. But does that happen only In Cinema 12?
    Because when I try Doing that in 11.5 . It Does not become A proper rigid body , In other words , It becomes the other type of Rigid Body!
    any help would be sweet on this. Thank you for the great tutorials!

    Reply
    • Hello Kaustubh,
      That is correct.
      Let me help you on this one.

      In 11.5 you have to create a cloner object.
      In this cloner object you choose object and you have to select object mode and drag the emitter in as the object.

      Then you make one sphere as a child of the cloner object.

      All you have to do then is put a rigid body tag on the cloner, and one on the (floor) object.

      Hope it helps.

      Regards,

      The Mographer

      Reply
    • Hello Mographer!
      Thank you for your Reply!
      I Even used a Fracture Object instead (I saw the Marble Pop Blog post by Nick) and It worked as well!

      Another Little Question :)
      How do you make that cool Transparent looking Sphere as seen in the Preview.
      My Renders have not been as Nice.It gets too transparent and is not clearly visible
      I even have not been able to get a negative Refraction.

      Reply
  30. Ryan Johnston

    If you make a cloner object, all you have to do is make the sphere a child. Then on the cloner, make the count 1. Then you should have the right rigid body tag. That’s what i did

    Reply
  31. Hey!

    I love your tuts. They help me alot to get into Cinema.

    Ive got a little issue with this one:

    My spheres are not stable when I start the animation. They keep deforming kinda like waterdrops as they hit the ground or other objects. How can I fix that ??

    Thank U !

    Keep up the good work!

    Reply
    • EDIT: I wanted to say WATERBALLONS not waterdrops…

      sorry im german :D

      Reply
    • Cheebachops

      Check to make sure you’re not adding a softbody tag, the one you want is rigid body.
      Hope that helps.

      Reply
  32. Thanks for this tut!
    GSG realy is very motivating!
    i’ve uploaded a little test animation using this technique.. Combined with some “5sp primitives” influence :) c&c are more than welcome..

    http://vimeo.com/15712214

    Reply
  33. No Gravity

    REALLY helped. Like the way you are showing things. Intelligent comments, quick rhythm, no fatigue at all.

    Reply
  34. Nice, just did a small rig using this technique combined with “Volumic Lightning” and a animated Alpha layer over my texture.

    Thank you for this!

    Reply
  35. Hey Nick,
    Great to see some tuts about GI.
    I think there are a lot of questions about tweaking these GI settings.

    P.s. the main reason for the light problem in your tut here is that lights simply can not work as an instance. :( (love to see that problem fixed @ maxon :) .

    P.s. there is an other way to fake your GI look. Learned it from a collegegue.

    It’s kind of old school, but it works!
    If you create a (crossed) ring of simple spotlights with soft shadow around the object (targeted). and rotate the the light(dome) 360 degrees in one frame, you get amazing results if you crank up the the motion blur.

    And with FAST render times! (sounds like music ;)

    It’s worth a try :)

    Keep it up!

    Kind regards,

    The Mographer

    Reply
    • Hello, Mographer. This work-around sounds great and inexpensive on render time, can’t wait to give it a try.
      Quick question, do you mean that you have to animate a 360 degree rotation for the ring for every frame of the animation or is it just one from beginning to end?
      Thanks.

      Reply
  36. winston

    muchas gracias… no escribo en ingles pero te pregunto algo como hacer el mismo efecto con objetos mas complejos? en esferas es perfecto pero en otros casos como aros o espirales

    Reply
    • Cheebachops

      Hola, trate de usar un área de luz y caída de la forma que quieras en la “forma de área” campo de la sección de detalles. Yo traductor Google para esta respuesta, por lo que espero que tenga sentido.

      Reply
  37. Hi,it was really good drip irragation We have led the industries with product innovations and our total commitment to the same in future makes us move forward. You can count on creative excellence in all that we do to make us the most reliable name in the manufacturing of plastic processing machinery.

    Reply
  38. John Ryan

    Why are you keep using plane object as a floor? You know that you could just use a floor object which is basically a plane object with an unlimited space, so you don’t have to use plane object and scale it up all the time.

    Reply
    • Floor objects get a bit problematic when texturing and tagging, so I make it a habit not to use them. You should, too.

      Reply
  39. Great tutorial, Nick; Sharp as always. Thanks.
    Any chance to see tutorial about liquid ink or dropped ink?

    Reply
  40. Dusty

    A couple nice little info particles were emitted from your fine tutorial and were subsequently cloned into my “Eternal Search for the Perfect Neon Tube”.
    Thanks for the great stuff. Keep on chooglin’.

    Reply
  41. Becky

    Thank you for another great tutorial! Learned a lot! Can’t wait to use this in the future!!!!

    Reply
  42. Steve

    I put up a “how to video” on Vimeo http://vimeo.com/15603656 Here I show how to rig ‘non’-spheres with lights using the matrix object. Hope it’s helpful for some. Have fun

    Reply
  43. Hi Mr Gorilla sir..
    just got my hands on c4d, and lovin it. ive followed ur tutorial on this one, everything is good up to the part where i want the ball to fall off each other (4:39). i cant seem to find the effect and was wondering if theres a plugin that needs to b installed to create the movement/animation, or whether i just cant find it to switch it on

    Reply
  44. hi thr Mr Gorilla sir..

    jus got my hands on c4d n lovin it. almost completed this tut except for the part where i want the ball to drop off from each other (4:39), is there a plugin that needs to be installed to create this drag n drop effect, or did i miss it somewhere?

    Reply
  45. great tutorials, I’m doing something with the lights and I’ll show you what I made when I finish it,
    this helped, thanks

    Reply
  46. beskey

    hey nice tut but is there a chance of a tut on making the whole of the example video please? im a noob with this but im getting better. i got an idea of how to do it but it isnt working out :(

    Reply
    • Sure. What part are you stuck on? Most of the video techniques have been covered in other tutorials that maybe I can steer your towards.

      Reply
    • beskey

      well im trying to make this into an intro with my name falling down on the spheres instead of the big one in your example. so the problem is when i have the sphere in the cloner object i can only put in one texture and on all of them i was trying to have different colours. i hope you know what i mean and sorry for the long message

      Reply
  47. This may be a really stupid comment to make, but I thought I’d put it up in case any one else stumbled at this point like me…

    Nick’s shortcut to make the spheres Rigid Bodies is not the standard Dynamic RB tag, but instead the MoGraph one.

    Hope this saves someone 5 minutes of tag hunting…!

    Reply
  48. hey nick that collider function for the plane….where can i find that button ?

    Reply
  49. Benjamin

    Will you please do a second part on the tunnels because that is so cool!

    Reply
  50. Great tutorial. Thanks for putting these c4d tutorials on the web. They realy help me a lot.

    Reply
  51. Thanks man!! it was very useful and very well explained. Thanks for sharing your knowledge!!
    Cheers!

    Reply
  52. i apply the emitter but the spheres doesn’t like pop up they just stay in the air without landing on the floor, what am i doing wrong?

    Reply
  53. I discovered your blog thanks to my friend Claudio Carrera (we also have a tutorial site on Cinema4D) .. What can I say? you are great!

    You are really great, you’re very good. My compliments. I’m learning a lot from you and I can also teach me a little something to our Italian friends.

    I have subscribed to RSS and Facebook now!

    Reply
  54. Hello my friend, thanks for the tutorial, but i Have a Question, what do you do when you have a Irregular kind of shape in 3d and you want to generate light just like the balls, but it is a text or a form like Neon Types? thanks! and best regards

    Reply
  55. Hey, your tutorials are really amazing, i’ve learned a lot just watching your videos.
    Heres what i got from watching this, i know its a blatant copy but i just wanted to see if i could do it!
    I screwed the lights a little too
    http://www.vimeo.com/16761272

    Reply
  56. i found this tutorial pretty cool, and a very intuitive way of solving the problem. I did this in 11.5, so i skipped the emiiter part of it and just stuck with the regular dynamics.
    Once again, thanks Nick.

    Here’s the one I made. I really like the one orb that disappears in the background with a flash.
    http://www.vimeo.com/16824681

    Reply
    • Kuddos, man. That’s a really cool example. I love the reflections on the floor and the puppet.

      Reply
  57. i have a broblem with an emitter object because it’s wrapping my spheres to ovals when the emitter creates them and ovals get wrapped even more when they start rolling on the floor

    Reply
  58. Hi! i recently learned Cinema and I tried out your GI tut and it was great!
    One thing that baffles me though, I’ve probably set the highest render output settings that I can and even waited almost 20 minutes to see my results in any of the practice files that i’ve done, and yet they all turn out having NOT so fine/pixelated edges especially texts. Why is that?
    Hope you can help. Thanks!

    Reply
  59. Andrews

    Hi Nick,

    I work with C4D is already about 2 years and I ended up modeling a Green Lantern ringand would like do this but this dynamic ring is divided into parts as I do to apply rigid body in a null object with such pieces as a child ? ? thanks …

    Reply
  60. Dude, you’re soooooo epic!!!!!!!!!!
    I have a bit of work. nothing really but I am going to force myself to watch every single one of your tutorials.
    Because they are sooooo epic and I learn so much.
    Cheers bro. Keep up the good work and make me something ;D

    Reply
  61. Guido

    Hey!

    Wauw very great tutorial and a nice result. But, I’m kinda stuck.. I can’t find the tags you use to let the spheres fall down or the tag to don’t let the spheres go through the floor.
    So any help is welcome. I like your tutorials very much, keep on making them :D .

    Reply
  62. maxime

    i’m french so this will be hard to explain …it’s too long because at 90″frames” the ball have not land ((touch down )) help me please

    Reply
  63. MAN Thanks for the great work and support.. there is somthing driving me crazy, that is in 04:40 time.. you made the sphere riged body and what about the plan, i cannot find this option ??.. and if this option is the one who will make the spheres fall it’s ok.. if it’s now so why the spheres aren’t fallin ? ..

    Reply
  64. MAN Thanks for the great work and support.. there is somthing driving me crazy, that is in 04:40 time.. you made the sphere riged body and what about the plane, i cannot find this option ??.. and if this option is the one who will make the spheres fall it’s ok.. if it’s not the option that makes the spheres fall so why the spheres aren’t fallin ? ..

    Reply
    • Same Ali

      i found it Gorilla, it’s not to put rigid body to the spheres, only to the clone object then it will act normal like v12.. i was going to had an heart attack.. KEEP IT UP GORILLA AND KEEP FIGHTING PLANES :D

      Reply
  65. Filip

    Hi gorilla im not good on computer stuffs but… how much cost your computer???

    Reply
  66. nick you have to show us how you made them plastic balls.. whats the index of refraction? 1.2?

    Reply
  67. MoshPit

    Hey Nick,

    awesome (<- spells that right? – I don't know it precicly, 'cause I'm german – sry in case of wrong spelling) alternative solution & tutorial – thanx 4 this, dude :)
    best regards

    Reply
  68. For some reason when I turn the material into orange… the light does not reflect orange. It stays white. Using version 12… thought it was odd… any suggestions? Or reasons why?

    Thanks for all your tuts. They’re great and I’m learning so much!

    deelly

    Reply
  69. Sammy

    When ever i make the light a child of the sphere the sphere does not allow the light to shine through can someone please help me! im using R14

    Reply
  70. Nuno Ferreira

    Thanks for sharing Gorilla!! This was a cruacial tutorial for my current project.

    Reply

Leave a Reply

Comment Rules

This is a friendly community. Please treat everyone with respect. We don't all have to agree, but we do have to be nice. Criticism is fine, but rude comments and name calling will be deleted. Use your real name and don't be spammy. Thanks for adding to the conversation.