A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
Getting Clones to Fill a Sphere
Posted: 28 February 2019 09:32 AM   [ Ignore ]  
Total Posts:  156
Joined  2015-08-31

Hi Doc,

My challenges with understanding dynamics continue.  I’m in the process of trying to fill a glass sphere with hundreds (maybe thousands) of gumball spheres.  Ultimately, this scene will be used only as a static image with no animation.  I would like to fill the sphere to 3 different levels for 3 different still pictures. 

I was successful in doing so with a scene that has 6.5 cm gumballs, but when I sized the gumballs down to 2 cms each, the dynamics no longer trigger.  Therefore, I tried doing it with an emitter instead, but now the 2 cm gumballs are falling through the larger glass sphere.

I’m wondering if you’d be willing to help me figure out the best way to do this with the smaller gumballs?

I’ve uploaded a picture of the scene with the bigger gumballs to show you the look I’m after when the glass sphere is nearly full.

With your permission, I’d like to upload my scene file for you to explore.

Thanks for your help!

Mark

Profile
 
 
Posted: 28 February 2019 09:43 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Mark,

I have already sent you an upload link.

Keep in mind that we need only the parts that are visible. Here is an older link, where I discuss it briefly:
http://old.cineversity.com/forum/forum_posts.asp?TID=2720&PN=1&TPN=13

I will have a look at your file when I get it.

Talk to you soon.

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 28 February 2019 10:19 AM   [ Ignore ]   [ # 2 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Mark,

If you go to the Attribute Manager> Mode> Project> Dynamics: Steps per Frame 10
That should work fine. Even eight steps might work, but I wouldn’t be frugal here.

I would have a volume placed in the middle, as mentioned above, perhaps with a gum-ball-texture.

If you like, perhaps use the Particle Emitter as Object in a Cloner Object. Place the Gum-Balls under the Cloner. Cache the dynamics preferable with an MG-Cache. If this is done, the Multi-Instance work. (No idea about Redshift and this. There are other ways to store the three states for rendering. If you have an interest in it, let me know, but I have no license of Redshift.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 28 February 2019 10:28 AM   [ Ignore ]   [ # 3 ]  
Total Posts:  156
Joined  2015-08-31

Thanks for your guidance, Doc.  10 Steps per Frame is getting the job done. 

I’m not entirely sure that I understand the idea of using the Particle Emitter as an Object in a Cloner.  I’ll give it a try to see if I can make this work.

What does it mean to cache the dynamics with an “MG-Cache?”  I don’t know what an MG-Cache is.

Profile
 
 
Posted: 28 February 2019 11:41 AM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Mark,

I have two scene files in the link below:
https://www.amazon.com/clouddrive/share/uf0dciaopG20DMJ7lx0sWsQRI1g3etGl3uUm0bfqCMU

The file “…_01.c4d” shows how to use the Emitter as Source for the Cloner. The Cloner has a MoGraph Cache Tag applied. This Tag is available in the Object Manager>Tags> MoGraph> MoGraph Cache. (MG Cache)

This Cache Tag can hold more information than the Dynamics, including the colors that it might receive from a Random Effector. At the moment it is cached, the Multi Instances can work (they are not useable for dynamics, but if cached, it works quite well.) The Cache will be huge, hence why I haven’t shared it, you need to click on the tag and calculate it newly. I also have a “filler-volume” integrated.
I used then a Tracer, set to Connect Objects, while it uses the Cloner Object as a source. While that was set up, I pressed the C key to get a spline. This lead to file “…11.c4d”.

In the file “…_11.c4d” I have used just the Spline and placed spheres on its vertices. Since it was based on a Sphere, I used a copy of it to scale it down a little bit. That created another layer of Gum-Balls. Perhaps a third layer would work nicely, but a sphere with a Gum-Ball texture should be sufficient already. Each spline will represent 5,000 spheres already!

Please let me know if there is any other question.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 28 February 2019 11:48 AM   [ Ignore ]   [ # 5 ]  
Total Posts:  156
Joined  2015-08-31

Doc, thanks for all the effort you put into this (and every question that I ask)!  I will definitely check out the scenes you sent.  This said, I’ve been busy putting your previous advice to use and I think I may actually have succeeded in making everything work…with the exception of the multi-instance, which did not work on my first try.  I’ll examine your scenes and keep going until I’m completely satisfied.

Profile
 
 
Posted: 28 February 2019 12:10 PM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Mark,

Sounds great. Please have a look at this file
https://www.amazon.com/clouddrive/share/snAgLoQM7fxh3nZ8ux6ngfKhJomoMcJ5YtOoVfuhwrE

I hope it clears the procedure. Multi-Instances are more like Ghosts, they have no clue about Dynamics. wink So they need some directions (Cache).

Multi Instances are crucial with tens of thousands of objects, like Gum-balls, to keep the render times friendly.


Cheers

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 28 February 2019 12:14 PM   [ Ignore ]   [ # 7 ]  
Total Posts:  156
Joined  2015-08-31

I look forward to checking it out, Doc!  The good news is that even without Multi-Instances, I was able to pull a beautiful render from the gumball machine full of gumballs in only 8 minutes using Redshift on a PC with 4 fast GPUs.  I love this age of GPU rendering!

Profile
 
 
Posted: 28 February 2019 12:19 PM   [ Ignore ]   [ # 8 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Mark, I’m happy to read that you make good progress and that the project benefits from it.

Enjoy

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 06 March 2019 07:13 AM   [ Ignore ]   [ # 9 ]  
Total Posts:  156
Joined  2015-08-31

Doc, I have another question.  If I want to run a second dynamics simulation in the same scene, is there a way to lock in the dynamics from the first dynamic simulation so it never has to run again?  In other words, I want to turn a single frame from the initial simulation into a permanent state for that simulation.  Put another way, I want the gumballs to fill the machine only once, then stay that way forever while I run a second simulation where I have gumballs flying out of the front of the machine.  Hope this makes sense.

Thank you!

Profile
 
 
Posted: 06 March 2019 07:22 AM   [ Ignore ]   [ # 10 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Mark,

There is always the option to use the MoGraph cache and save it as a file.
Since these are all spheres, I prefer to create a spline out of all sphere positions (Tracer) and use this. The spline (Tracer> C-key) allows me then to even move a single Clone, or a many, to art direct the results.
Yes, you could use both methods and be comfortably safe. I used the spline option above, if you need a workflow for this, please let me know. I’m happy to provide all the steps required in a screen capture.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 06 March 2019 07:29 AM   [ Ignore ]   [ # 11 ]  
Total Posts:  156
Joined  2015-08-31

Thanks, Doc!  If it’s not too much trouble, I’d love to see your workflow for this.  I don’t have any experience with creating splines out of object positions/tracers.

Profile
 
 
Posted: 06 March 2019 07:49 AM   [ Ignore ]   [ # 12 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Mark,

Here is a simple example, since we have spheres as a target, the spline will work just fine.

Scene file and screen capture
https://www.amazon.com/clouddrive/share/yHn1Lf2YYn0LlIcyoMETgDp0QG7PonEjTXVbQwvBJoY

Let me know if you need something else

Cheers

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 06 March 2019 08:31 AM   [ Ignore ]   [ # 13 ]  
Total Posts:  156
Joined  2015-08-31

Thank you for all of your help with this part of my project, Doc!  I’ll study, attempt, and possibly get back to you if things go awry.  smile

Profile
 
 
Posted: 06 March 2019 09:03 AM   [ Ignore ]   [ # 14 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re very welcome, Mark!

Please download the clip, as the Amazon-player lowers its quality.

Again, if there is any question, please never hesitate to ask.

Cheers

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile