Blender Git Commit Log

Git Commits -> Revision b5e1419

Revision b5e1419 by Sergey Sharybin (master)
August 3, 2012, 15:18 (GMT)
Tomato Cycles: internal cleanup of tile-based integrator

This commit solves couple of issues appeared with new integrator:

- Render job progress bar is now shows progress based on number of
rendered tiles. This is the same as Blender Internal does.

This still requires some further thoughts because for GPU it's
better to use single tile and in this case progress bar should
be based on number of rendered samples.

- Removes "global" sample counter from progress descriptor. There's
no more global-being sample which makes sense.

This counter was replaced with tile counter.

- Use proper sample number when copying render buffer to blender.
It used to be final sample number used which lead to tiles
appearing from complete dark to normal brightness as they're
being rendered. Now tile would be displayed with proper
brightness starting from the very first sample.

Use sample counter stored in render tile descriptor and pass
it to update / write callbacks.

This was tested on CPU and GPU CUDA rendering.

Additional change:

OpenCL rendering now should be cancellable before it finished
rendering all the samples (the same change as for CPU/CUDA from
a while ago).

This part of commit wasn't actually tested, would do it later.

Commit Details:

Full Hash: b5e1419e5be6cf2dbbb5fd8868dadea17dc23fbf
SVN Revision: 49535
Parent Commit: 82158b7
Lines Changed: +73, -62

11 Modified Paths:

/intern/cycles/blender/blender_session.cpp (+26, -27) (Diff)
/intern/cycles/blender/blender_session.h (+7, -6) (Diff)
/intern/cycles/blender/blender_util.h (+0, -1) (Diff)
/intern/cycles/device/device_cpu.cpp (+2, -0) (Diff)
/intern/cycles/device/device_cuda.cpp (+4, -2) (Diff)
/intern/cycles/device/device_opencl.cpp (+9, -1) (Diff)
/intern/cycles/render/buffers.cpp (+1, -1) (Diff)
/intern/cycles/render/buffers.h (+2, -1) (Diff)
/intern/cycles/render/session.cpp (+8, -9) (Diff)
/intern/cycles/render/session.h (+2, -2) (Diff)
/intern/cycles/util/util_progress.h (+12, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021