hsab / GrowthNodes

A Blender plugin for generative content creation and simulation of organic growth processes on polygonal surfaces.
GNU General Public License v3.0
329 stars 21 forks source link

Image Frame Sequence as Displacement? #15

Open enzyme69 opened 6 years ago

enzyme69 commented 6 years ago

Does Growth respect and understand Image Sequence? Will it update frame by frame, like if I use a clip or movie or image sequences of procedural texture generated using Sverchok and then applying it to the mesh?

hsab commented 6 years ago

I've had success with an image sequence but testing an mp4 with h264 codec gave me some UV issues. Will keep open for next release.

2018-01-23 05_21_18-blender d__hirad_desktop_new folder 2 _imagesequence blend

enzyme69 commented 6 years ago
screen shot 2018-01-25 at 12 04 29 pm

umog_box_vertex_008_2018_01_25_01_05.zip

I got a Sverchok setup that changes Vertex Weight overtime based on frame as above. I thought it would work with UMOG but apparently while umog is baking, the varying vertex weight is not updating.

hsab commented 4 years ago

If you can update this with 2.8, I will have a look at it. I think the problem comes from the fact that unlike Sverchok, GN has a locking mechanism, meaning that it doesn't really iterate over the frames, but it will only use the frame range to calculate how many simulation steps are necessary. Once this is done, the python code will start and lock the thread, executing N iterations for each frame in range. However it is not actually using blender's playback functionality.