Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to recognize the end of rendering? #115

Open
generalistr6 opened this issue Dec 1, 2016 · 2 comments
Open

How to recognize the end of rendering? #115

generalistr6 opened this issue Dec 1, 2016 · 2 comments

Comments

@generalistr6
Copy link

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?

@KaoCC
Copy link
Contributor

KaoCC commented Dec 2, 2016

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.

@generalistr6
Copy link
Author

generalistr6 commented Dec 2, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants