elmopl / ktba

Blender addons
MIT License
56 stars 12 forks source link

Stop? #26

Open ricardoroehe opened 4 years ago

ricardoroehe commented 4 years ago

How to stop Parallel Render ? I just pressed ESC and the Blender info log / render message changed, but did not stop rendering...

image

elmopl commented 4 years ago

I only can handle events (like pressing ESC key) between frames. So it will only stop after it has completed currently rendered frames.

How long did you wait for it to finish?

edit

I might need to re-read code to be sure of above. It might have been also that it will render currently running batches as to not loose progress. If you render to video (not sequence of images) if you stop halfway through it will corrupt whole file. So to minimise lost computing time it might be that it has to finish off currently running batches.

edit 2

I did re-read code. It will finish currently running batches. To stop it quicker you need to make batches smaller.

ricardoroehe commented 4 years ago

So it will stop only after running batches are rendered?

PR is a really cool and easy to use add-on, but this is really tough... Do you have plans for an "abort" button or something?

I could not wait for it to finish: I had to kill the Blender instances... (Also, to make it worse, I tried to stop by clicking the "Parallel Render" button again, and it just added more threads running...)

Thank you for your work here!