Hi Guy,
The texture is a simple square wave (vertical black and white bars). When I move the textures the bars become jagged and disrupted – which looks like tearing. Is the problem that the texture coordinates are updating asynchronously (i.e. not on a vsync boundary)? Is this possible/likely?
Instead of modifying the texture coordinates, I would suggest you use a texture matrix if all you want is translation. See osg::TexMat. You can then just set the matrix on your TexMat like any transform, i.e. texMat->setMatrix(osg::Matrix::translate(x,y,z)); and the texture will translate. You can also rotate or scale of course.
J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

