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
   
 
Change Material Based on Particle Speed
Posted: 07 March 2020 07:02 PM   [ Ignore ]  
Total Posts:  292
Joined  2017-09-24

Hi,

I have an Emitter with an object as a child.
I want to change the material in the objects based on the Particle Speed.

I already have the set-up but I’m missing the link on having the effect on a per particle basis.
Currently, it applies to the whole objects instead of some are Mat A, Mat B and Mat C. 

You can see the illustration of the problem here:
https://www.dropbox.com/s/o9ys5nash6p4jza/c4d230_change_material_based_native_particle_speed.jpg?dl=0

You can see the illustration file here:
https://www.dropbox.com/s/ckmoqiwr3pwtw66/c4d230_change_material_based_native_particle_speed.c4d?dl=0

Is there a way around this?

Thank you

 Signature 

C4D Body Mechanics Rigs (Gumroad)  //    Website

Profile
 
 
Posted: 07 March 2020 08:00 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Ben,

The Simple Emitter has no potential to do that. It needs to be Thinking Particles.

Thinking Particles has the option to share a single particle velocity. Use here the Get Data node.

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: 07 March 2020 09:11 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  292
Joined  2017-09-24

Hi Dr. Sassi,

Thanks for the response.

I have to get back on the Thinking Particles, as touched it only few times.
That said, I assume the Get Data Node works only on outputting the data in a per emitter basis.
How do I “input” data on a per emitter basis? That said, access the individual objects (with their corresponding materials) per emitter basis?
Is there a specific node for that?

 Signature 

C4D Body Mechanics Rigs (Gumroad)  //    Website

Profile
 
 
Posted: 07 March 2020 09:48 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Ben,

The Main idea of thinking particles is based on Groups. You can place conditions along with the information flow and place objects into different groups. The groups can then output data or get data (PSetData/PGetData).

Please note that the Left side of the editor (X-Manager) sets the processing sequence as much as possible. Data not given at the step where it is needed will be taken from the stage before.

Velocity is given, but you wanted the value of speed, hence why I placed the Distance there. Velocity is measured in a vector. The Vector length is speed.

Scene file[s]:
https://www.amazon.com/clouddrive/share/5trVcvb94JvoeqYPABSPSLDj3xR2gaF15MB6SsG85K9
File …02.c4d has a friction node in it. So the speed gets lower and showcases the change of material.

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: 08 March 2020 03:55 PM   [ Ignore ]   [ # 4 ]  
Total Posts:  292
Joined  2017-09-24

Hi Dr. Sassi,

Thanks for the file. It works as expected.
I especially like the part where the it changes color (i.e. speed) during its lifetime. That is its speed is not constant upon its birth.

BTW, as I was searching for Thinking Particles resources in Cineversity. Most of them are decade old (like the Introduction series).
I haven’t delved much deeper but do they still apply to the current version or are there better alternative resources?

 Signature 

C4D Body Mechanics Rigs (Gumroad)  //    Website

Profile
 
 
Posted: 08 March 2020 05:21 PM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Ben,

Yes, they apply, as there were not a lot of changes. In short, the main idea is to have groups. You can create conditions when they have to move from one to the next group. While parts or all are in one group, you can give those a new behavior. Gravity, size changes, or just limit or extent their lifetime.

Since MoGraph was introduced in 2006, some more options have arrived. For example, the MoGraph Matrix can provide or receive those groups/particles. The only difference is, MoGraph produces per frame usually.

For a few years, most people have moved to the X-Particles, which are very well integrated into Cinema 4D.

Better resources… for TP, I have no idea. There was a course over at FXPHD, but I never checked it out so far.

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: 12 March 2020 06:05 PM   [ Ignore ]   [ # 6 ]  
Total Posts:  292
Joined  2017-09-24

Hi Dr. Sassi,

Thanks for the response.
Is it possible to update the resource files on the TP tutorials?
I can’t open them with R21. They are a bit old and can only be opened on R19 and prior.

Regards,
Ben

 Signature 

C4D Body Mechanics Rigs (Gumroad)  //    Website

Profile
 
 
Posted: 12 March 2020 07:06 PM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Ben,

I can take a look into it, but I need a little bit more details (URLs)

Please note that some material might be based on C.O.F.F.E.E., which has no simple update option.

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
 
 
   
 
 
‹‹ Node changes?      Tracker question ››