0
$\begingroup$

I followed the following post to try keyframing assigned material to an object blender.stackexchange.com/questions/64986/keyframe-objects-active-material-from-material-slots
I followed the steps mentioned there exactly and got the same results, however when i insert keyframes for any value in any node i get no keyframes in timeline or fcurves, only there are keyframes in dope sheet, and no animation could be run in the viewport. I'm currently in blender render, and i wanna run it only in the viewport, i don't need to render it using blender render.

$\endgroup$
  • $\begingroup$ In the header of the graph editor and dopesheet, there is a button with a cursor on it, curves will only display for a selected node while this is highlighted. How complex are the materials? Is it just a colour change or a texture change? $\endgroup$ – sambler Nov 27 '16 at 15:37
  • $\begingroup$ just a color change, exactly the same as the above link. it turned out that, as you said, curves are displayed after i select a node. however, color changes are only displayed in viewport when i drag the factor slider, as seen in the link, but when i play animation, nothing changes in viewport $\endgroup$ – user8844 Nov 27 '16 at 16:05
  • $\begingroup$ after some search, i thought that node changes can't be rendered in viewport using opengl, however, it does render in viewport with opengl, as i told you, only if i drag the slider in a node, bout doesn't work when playing animation in timeline. i wonder why ?? by the way it only works when i render using blender render $\endgroup$ – user8844 Nov 27 '16 at 16:10
  • 1
    $\begingroup$ I think it is a limitation of the material nodes and is most likely related to the dependancy graph. Changing the node value updates the viewport but changing the frame doesn't read the keyed values from nodes. $\endgroup$ – sambler Nov 27 '16 at 16:36
1
$\begingroup$

As you only want to change the basic colour, you can key the diffuse colour value instead of using nodes, this is a more reliable way to have the 3Dview updated.

keyed colour

Like other values you can hover the mouse over the colour and press I or right clickRMB RMB on it and choose Insert Keyframe. A border is added to the colour swatch to show the keyed status.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.