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

When a render (from gaffer) is paused and restarted, we get a new asr… #731

Conversation

robpieke
Copy link
Contributor

When camera parameters are updated in Gaffer, we get a new asr::Frame/asf::Image, but don't currently recognise it. This change should resolve #730

…::Frame, so we need to be ready to receive it (i.e., not ignore and use the previously-cached one)
@est77
Copy link
Contributor

est77 commented Feb 26, 2018

Thanks for the report and for the PR.

I think that the real bug is on the Gaffer side. Changing camera parameters should not recreate the Frame.
Let me check it quickly.

Thanks!

@robpieke
Copy link
Contributor Author

Thanks Esteban! I'm very new to both codebases, so I'll be quite interested to see where you think the issue is actually best addressed!

@est77
Copy link
Contributor

est77 commented Feb 26, 2018

I am pretty sure that we should not create a new frame during interactive rendering.
We don't support changing the image resolution or AOVs during interactive rendering
and that's the only reason to recreate the frame.

I'll try to reproduce the crash and open a PR with the fix in Gaffer.

Thanks!

@johnhaddon
Copy link
Member

Thanks for tracking this one down Rob, and for the PR. This is @est77's area of expertise rather than mine so I'll defer to you both on what the final solution should be...

We don't support changing the image resolution or AOVs during interactive rendering
and that's the only reason to recreate the frame.

Would be great to lift this limitation, whether in Appleseed itself or via some workaround in Gaffer/Cortex. Think raytraced viewports...

Cheers...
John

@est77
Copy link
Contributor

est77 commented Feb 27, 2018

I can confirm it is a bug in GafferAppleseed. I'll push a fix soon.
In the meantime, we can close this PR.

I'll check with the rest of the team about interactive image resolution edits.

@johnhaddon
Copy link
Member

OK, closing. Thanks for tracking this down Rob. Any idea when you'll have a chance to make the Gaffer-side fix @est77?

@johnhaddon johnhaddon closed this Mar 2, 2018
@est77
Copy link
Contributor

est77 commented Mar 2, 2018

I was planning to do it this weekend.

@johnhaddon
Copy link
Member

Great! Thanks!

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

Successfully merging this pull request may close these issues.

Crash when changing camera parameters in Appleseed interactive render
3 participants