Hi Zhanglicheng,

osg::Texture2D is derived from osg::Texture and that class has a method called 
setWrap().  This allows you to set how the texture repeats over a polygon in 
each dimension.

Have a look in the header file or the reference documentation for the details.

Cheers,

Tony

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to