How to Animate Material

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  04 April 2013
Smile How to Animate Material


Actually i have a metaball object with Emitter and the simulation like water .

and i want the water material change to yellow material in the middle of the animation ..

the problem is the yellow color replaced the water material and that is what i don't want .

I want the water material to stay as it and after " for example the frame Num 100 " the emitter start so emitting the mesh with the yellow color material without replacing the water material .

so the mesh of the metaball should looks like " Yellow till the half " and " from the half to end the mesh get water color "

Here are the File


I wish really if any body help how i can animate material without replacing !!

Thanks in Advance !

Last edited by c4dpeter : 04 April 2013 at 04:22 PM. Reason: wrong Writing
  04 April 2013
Adding a animated alpha to the yellow material, could be the way to go.

Cheers Cube
  04 April 2013
Thanks Cube Man

I am gonna working with it , It is so wise idea really ,,,

all i was thinking the solution in the material it self but here we are with your solution .

But " I still have a problem as the yellow color texture still replacing all the mesh which created by the emitter " also it is hard to make the texture moving in the same time as the mesh created

i try to know how i can get the new material stick with new mesh which created .

" Of course your Solution very good and alpha idea .. " but is there are any way to make the material stick with the mesh which emitter created ! i think the simulation gonna be more realistic !!

Thanks In Advance !
  04 April 2013
May be a lot easier if you split it up in 2 separate "Metaball+Emitter"s,
both with the same settings except Start and Stop Emission,
and both with a different Material.
When Emitter 1 stops generating particles, Emitter 2 takes over.

  04 April 2013
Thanks so much douwe ...

I get what u mean and working ..

But lets take something advanced douwe for example dealing with realflow mesh in c4d ... u will get stuck as u cant do the same Idea here because u have mesh emitting without emitter ......

So the problem still there !
  04 April 2013
Gotta love dialogues like this :
-Person1 : specific question
-Person2 : specific answer
-Person1 : Thanks, but that answer doesn't apply if I change the question into a different specific question.

Well, you can do the same thing with Tparticles.
The first x number of Particles go into PGroup1 and display in a Metaball with Material1
The following Particles go into PGroup2 and display in a Metaball with Material2

This link may help with the basic logic.

The rest is a matter of a Compare Node.
If Particle Index < x then PPass it into PGroup1
else : PPass it into PGroup2

  04 April 2013
Sorry douwe ... And thanks so much for your patience with me and taking time bro to wright back ... and gonna check it ..

Sorry again for my dialogue .
  04 April 2013
No problem.

Make sure to not skip the second part of my reply.
That should help you out with the RealFlow thing.

  04 April 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 05:32 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.