Hi Guy,
This is how I'd do it. First up you can't multiple buffer UserData
directly, so to do the multi-buffer you'll need to create your own
multibuffer UserData class subclassed from osg::Referenced. Second to
decide between the two buffers you can use the current osg::RenderInfo
that is
Hi,
What's the best way to pass user data to all nodes and drawables. For example,
lets assumes I have 2 cameras (left right). Each camera points to the same
scene. When rendering the left camera, I want the the nodes and drawables to
use userdata1, and when rendering the right camera I want
2 matches
Mail list logo