maybites / TextureSharing

Spout for Blender
117 stars 12 forks source link

How to stream texture updates in EEVEE? #32

Closed zumpchke closed 2 months ago

zumpchke commented 5 months ago

I have an input animation from Syphon but when I press play in timeline the texture doesn't update.

zumpchke commented 5 months ago

I might be stupid but I can't figure out how to get the texture to update in realtime in the viewport. If I click and move something in the viewport it then changes.

Using blender 4.1

maybites commented 5 months ago

This is a known issue. I don't have yet figured out how to fix this.

zumpchke commented 5 months ago

@maybites thank you for the update.

Is there any way to get texture updates other than viewport mode?

momagit commented 2 months ago

@zumpchke to update the received texture on every new frame of the timeline add the following after line 221 of the operators.py file: bpy.app.handlers.frame_change_pre.append(write_handler) this will probably give you very slow playback but you could decrease the resolution of your source material to improve performance if this is an option for your usecase.

maybites commented 2 months ago

this should be fixed with the latest..