Thanks for your answer, but that doesn't work. 
I found the error on my own.
It was this part of code i forgot:

Code:
osg::Vec2Array* texcoords = new osg::Vec2Array(4);
(*texcoords)[0].set(0.0f, 0.0f);
(*texcoords)[1].set(1.0f, 0.0f);
(*texcoords)[2].set(1.0f, 1.0f);
(*texcoords)[3].set(0.0f, 1.0f);
g->setTexCoordArray(0,texcoords);



Tanks who read me and try to help !

have fun !:D

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27049#27049





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to