[osg-users] osg::Texture2D and OpenGL textures working together

2008-06-26 Thread Steffen Kim
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

Re: [osg-users] osg::Texture2D and OpenGL textures working together

2008-06-26 Thread Art Tevs
Hi Steffen, 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? Change your algorithm to use shaders and combine your views in one shader program. Or can I convert GL textures wrapped by OSG as osg::Texture2D into