Hi Robert,

Thank you for the quick reply!

What I am trying to do is to modify the scene graph (for example modify the 
transformation matrix of the node or uniform of the node). 
I've tried doing it in the cull callback or camera pre draw callback but it 
seems at this point it is already too late.

For example, I have a scene graph with the node in it. I would like to modify 
the transformation matrix of that node and this transformation matrix needs to 
be computed based on the camera, per view. 

I've tried to use cull callback or camera pre-draw callback to compute 
transformation matrix and set it for the node. It seems that at this point when 
I set transformation for the node in the cull callback of the first camera it 
will actually affect the second view (second camera). As if I would be setting 
it in a post-draw callback. 
Also not sure how thread-safe is that.


Thank you!

Cheers,
Janna

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53007#53007





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to