Hi Rafa, On 13 April 2013 09:23, Rafa Gaitan <[email protected]> wrote:
> Sorry for the delayed response, I did not read your e-mail until today, > gmail messed up the notifications :( > > Regarding the multiview approach, it doesn't matter how you set the > layout, I usually use a grid because is more compact when doing the RTT. > The stereo computing is always horizontal as the current displays only > support horizontal parallax. > It sounds like you've been rendering all the cameras to a single texture? I am still weighing up the whether multiple textures or a shared texture would be appropriate. Multiple textures, i.e. one per eye camera would be the most scalable. > So answering your question, Yes, a callback per slave computing each frame > the matrix offsets should be enough. I was using a similar approach. > osg::View::Slave's already have an update callback that can be used to compute the offsets. I'm in the process of writing such a callback to handle standard stereo, but we can probably use this same callback class for multiple cameras. Even if we can't it's still quite lightweight a callback class. The key thing right now is getting the general approach right so that it's easy to add various alternative setups. Robert.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

