Re: [osg-users] Camera render order and Threading models

2021-01-12 Thread Riccardo Corsi
Hi Robert, I've tried to reproduce the issue with a minimal example, without success so far, even though the essential bits should be the same. I'm also thinking it might have something to do with the data variance of the affected geometries, I'll double check. If I find something I'll report

Re: [osg-users] Camera render order and Threading models

2021-01-07 Thread Robert Osfield
Hi Ricard, Both the RTT Camera and the main Camera should both be traversed in the cull traversal within the same frame and accumulated modelview matrices cached in the rendering backend to sent to the GPU as part of the draw traversal together. Ordinarily this system should prevent problems

[osg-users] Camera render order and Threading models

2021-01-07 Thread Riccardo Corsi
Hi all, I'm facing an issue when using multiple cameras and different threading models. In my scene I have a slave camera which renders to a texture (using FBO + texture attachment) in PRE_RENDER order; the texture is then attached to a geometry which in turns is rendered by the main viewer