I am trying to create an animation where a parameterized object, created with sverchok nodes, is manipulated by a sound file via animation nodes. Here are my node setups (blend file at the end of this post):
Animation Nodes setup:
Sverchok Node setup:
So, the sound file is read through Animation Nodes and carried over to Sverchok, where the sound drives the 'dt' parameter of an object (which is the time parameter of a Lorenz attractor via a script, which I posted about here).
This setup works in the viewport, but when I try to render the full animation, the frames do not adjust for dt. In other words, if I render the first 100 frames of the animation (as images, not as a movie file), I get 100 images that are exactly the same.
At first I also couldn't render any images. I read about how there are some issues rendering with Animation Nodes, specifically this thread, so I ended up using this script from VideoBombala:
import bpy
for step in range(1, 100):
bpy.context.scene.frame_set(step)
bpy.data.scenes["Scene"].render.filepath = 'd:/3D RENDER/2019 01 13/image.jpg_%d.jpg' % step
bpy.ops.render.render( write_still=True )
Which, again, works but only produces the same image. I've also noticed that whatever frame the viewport is currently at, is the frame that the rendered images apparently are too.
I'm also using the BlueFox Animation Nodes Extension:
https://github.com/harisreedhar/an_bluefox_extension
Not sure what is going on here, any suggestions or help would be awesome.
Blend file:
https://drive.google.com/file/d/1gMvKhExbVH5hSzoPK9GdetTph4r_YySM/view?usp=sharing