enzyme69 / blendersushi

Blender Sushi related scripts. Mostly about Sverchok, Geometry Nodes, Animation Nodes, and related Python scripts.
243 stars 33 forks source link

LIVENODING 1151 / AN Expression for Image Sequence #554

Open enzyme69 opened 5 years ago

enzyme69 commented 5 years ago

AN_sequence_control_009.blend.zip

enzyme69 commented 5 years ago

If you need image sequence example, here is the monkey turntable: turntable_monkey_JPG.zip

enzyme69 commented 5 years ago

AN Turntable Monkey turntable_monkey_008.blend.zip

enzyme69 commented 5 years ago
Screen Shot 2019-04-26 at 16 10 07 Screen Shot 2019-04-26 at 16 12 47
enzyme69 commented 5 years ago

In this example, we want to use expression to DRIVE the frame_offset attribute of Image Texture node. bpy.data.objects['Plane'].material_slots[0].material.node_tree.nodes['Image Texture'].image_user.frame_offset = frame