RadeonRays_SDK
RadeonRays_SDK copied to clipboard
How to recognize the end of rendering?
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?
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.
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.