Hi Ulrich,

thanks for this hint.
Actually, this is not a typo but missing knowledge from my side.
The documentation doesn't say much about the semantics of WRAP_R, WRAP_S and 
WRAP_T.
However, I have seen the use of WRAP_R in several examples in the web that deal 
with 2D textures. I have copied this part of the code from the osgimagesequence 
example from osg which also deals with 2D textures.

Also, I don't think that this is related to my problem I would be grateful for 
deeper insights on on that.

Cheers,
Martin



Ulrich Hertlein wrote:
> On 5/05/12 22:30 , Martin Oswald wrote:
> 
> > texture2D = dynamic_cast<osg::Texture2D*>(attr);
> > ...
> > texture2D->setWrap(osg::Texture::WRAP_R,osg::Texture::REPEAT);
> > 
> 
> Typo?  2D textures only require WRAP_S and WRAP_T.
> 
> /ulrich
> 
>  ------------------
> Post generated by Mail2Forum


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





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

Reply via email to