RadeonRays_SDK icon indicating copy to clipboard operation
RadeonRays_SDK copied to clipboard

How to recognize the end of rendering?

Open generalistr6 opened this issue 8 years ago • 2 comments

In the main.cpp, there is g_num_samples. Setting g_num_samples to '-1' cause infinite rendering. I think it is rendered even though there is no sample to render. Is there anyway to recognize the end of rendering?

generalistr6 avatar Dec 01 '16 09:12 generalistr6

Hi,

What do you mean ? I think it is set on purpose.

If you need to limit the number of sampling you can try to add "-ns num" as part of the command line argument.

KaoCC avatar Dec 02 '16 04:12 KaoCC

I don't need to set the number of sampling. I want to stop the rendering when there is no pixels to be rendered. For now, it seams, the rendering operates as infinite loop. I want to figure out the last sample count when there is no pixels to be rendered.

generalistr6 avatar Dec 02 '16 05:12 generalistr6