Hi!
I am writing a custom renderer, implemented as a videopost plugin. In the execute() function of the videpost, during VIDEOPOSTCALL::INNER, I traverse the document obtained from vps->doc to extract the scene information (geometry, shaders, lights, etc. ) that gets sent to the API of the renderer.
All works fine when I render to the picture viewer, but when I try to do viewport rendering I get crashes.
During the traversal, I do in some cases perform some operations on the parsed document, such as AnimateDocument(), ExecutePasses() etc. I am thinking that one of these might be the culprit. So, here is my somewhat vague question: Are there any operations that are forbidden to perform on vps->doc during viewport rendering? (But are allowed during picture viewer rendering)
Thanks!
/Filip