Hello,
I'm doing exactly as it is shown in the osgmultiplerendertarget example, but
i get an error when i declare and try to initialize an object of
textureRectangle
code :
osg::TextureRectangle* textureRect[256] = {0,0,0,0};
for (int i=0;i<Z;i++)
{
textureRect[i] = new osg::TextureRectangle;
//..
}
I get an error saying "invalid use of undefined type struct
osg::TextureRectangle,
Another question : Should i create a quad and attach the textures and then
render it?
please excuse me if its a silly question.
--
http://www.mahendragr.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org