rich refresh
This commit is contained in:
parent
cfed733a36
commit
dc095a63eb
1 changed files with 1 additions and 0 deletions
|
|
@ -482,6 +482,7 @@ def render(scene, width=800, height=600, samples_per_pixel=50, max_depth=15,
|
|||
completed_rows += (chunk_end - chunk_start)
|
||||
|
||||
progress.update(render_task, completed=completed_rows)
|
||||
progress.refresh()
|
||||
|
||||
img = (np.clip(image, 0.0, 1.0) * 255).astype(np.uint8)
|
||||
Image.fromarray(img, 'RGB').save(preview_path)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue