Hi everybody, I have never used OpenGL and OpenSceneGraph together (and only a little bit of OpenGL alone), so I'm a little unsure of what the best way to solve the following problem is.
I want to use an API for interlacing different views on a scene for an autostereoscopic display. The API uses OpenGL and basically takes an vector of GLuints containing the textures with the different views, interlaces them and renders the result into another texture referenced by a GLuint. What I probably have to do is the following: I have to calculate the different views I want to interlace and put them into the vector of GL textures. How do I do this best? Or can I convert GL textures wrapped by OSG as osg::Texture2D into the GL textures? Then I could render my views into osg::Texture2Ds and put them into the vector. And how do I use the texture I get from the API in OSG afterwards? Can I somehow create an osg::Texture2D from it? I would be very happy if someone could give me a hint what the best way to do this would look like or what I should search for to perhaps find some examples since I wasn't very successful until now. Thanks a lot, Steffen ____________________________________________________________________ Ihre Messenger, Communities und E-Mails jetzt in einem Programm! WEB.DE MultiMessenger http://www.produkte.web.de/messenger/?did=3071 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

