Jump to content
Hash, Inc. Forums

Trouble with keyframing material properties


alano

Recommended Posts

Started using AM after many years away now that I have more time to devote to animation projects again.

I've got this cauldron steaming very nicely and I want to change the color of the steam to pink (love potion) over time. I keyframed the shortcut to the streak emitter's attribute's diffuse color to change over a few frames and I get a lovely gradient of this on the timeline (see pic). Alas, the actual attribute's color remains stubbornly gray. I've tried reloading the project in case things needed to be started from scratch but no joy. I feel I must be missing some simple switch or something. Any help would be appreciated.

Thanks,

Alan

 

Hash01.jpg

Link to comment
Share on other sites

  • Hash Fellow

Alano,

I gave it try today with a generic particle emitter and wasn't able to get the color to change. It is probably a bug that needs to be fixed.

There is a work around... render the scene with grey particles up to where the transition from grey to pink ends and render it again with pink particles from where the transition starts, then cross fade between the two renders in your video editing app.

Link to comment
Share on other sites

Thanks for your efforts. I just recreated the problem in a new project included here. I can keyframe the emitter to change the Rate of Emission and that works, but keyframing the  attribute won't actually change the surface properties. I think an easier workaround for my particular situation is to have two emitters, one gray and one pink, and cross-fade their rates of emission. I will check it out.

Weird. This is the second time I found a bug doing stuff I didn't think was all the groundbreaking. The first was years ago when I was using the toon shader on models with hair.

 

Thanks again,

Alan

 

streak.prj

Link to comment
Share on other sites

  • Developer
22 hours ago, robcat2075 said:

The streaks are changing color over their lifetime but the emitted color is not changing (the effect Alan is seeking)

Like the attached video ?

This is possible , but I don't know yet, if it will be possible for all particlesystems, (streaks and blobbies , yes, the other I must check first)

And it needs a new boolproperty in the particle system settings (suggestion for naming welcome :-) ) , to control the behavior of color changing.

But in general changing, surface attributes for particle systems in a chor or action will not work. I have spent yesterday some hours to figure out this .

Your way is the correct way , and when I remember correct , it's so described in TechRef too.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...