Hi osg-users,
It seems that the overlay::OverlayData::_camera prevents attached subgraph
callback to be called.
In future version, is it possible to attach an update callback to the
overlay::OverlayData::_camera node, by creating a new function like :
void
Hi Sergey,
My overlay node isn't under a camera node, but is it possible that the
overlay projection mecanism is using a camera with subgraph attached to it
and so the update traversal doesn't reach the subgraph ??
Best regards,
2011/2/21 Sergey Polischuk pol...@yandex.ru
Hi, Alexandre.
If
Hi osg-users,
I recently tried to attach a fragment shader to a node and set it as an
overlay subgraph.
My shader is using a uniform that I want to update, so I attached a derived
osg::Uniform::Callback to it but this one is never called.
When the same node is added to the scenegraph and not
Hi, Alexandre.If your overlay subgraph is under osg camera, then update traversals dont reach there, they stop at camera node.You can try to add this uniform to stateset of some node before camera in scene graph, so it will be updated and shouldn't break anything.Cheers, Sergey.21.02.2011, 17:57,
4 matches
Mail list logo