[osg-users] Camera render order and Threading models

Riccardo Corsi riccardo.corsi at kairos3d.it
Tue Jan 12 00:35:43 PST 2021


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 back here,
Thanks,
Riccardo



*Riccardo Corsi*  co-founder, software engineering
*Kairos3D srl*  Via Agostino da Montefeltro 2, 10134 Torino Italy
*T* +390113157111  *M* +393288522785

This e-mail is confidential and intended only for the use of the above
named addressee. If you have received this e-mail in error, please delete
it immediately and notify us by e-mail or telephone.


On Thu, Jan 7, 2021 at 6:45 PM Robert Osfield <robert.osfield at gmail.com>
wrote:

> 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 like
> your describe as the rendering backend is double buffered so that the cull
> writes to the currently recording frames rendering backend, while the draw
> traverses the previous rendering backend structures.
>
> The behaviour you describe makes it seem like some state is being modified
> across the frames, I don't have your app or data so can't say what this
> might be.  The best I can suggest is to investigate what state seems to be
> changed inappropriately.  It might be that you need to double buffer the
> state that is being updated whilst it's being used for rendering.
>
> Robert
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenSceneGraph Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to osg-users+unsubscribe at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osg-users/CAFN7Y%2BWM4Cn4KooZoHxnv2nncmpHtrftT1aNEjGNnwows06OGA%40mail.gmail.com
> <https://groups.google.com/d/msgid/osg-users/CAFN7Y%2BWM4Cn4KooZoHxnv2nncmpHtrftT1aNEjGNnwows06OGA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/CAHhSftgzALxeG69w%2B1jJXuZQRxyt6NE4fBkAae%3DFtgVHdgMFgg%40mail.gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210112/254bb29a/attachment.html>


More information about the osg-users mailing list