[osg-users] fixed size texture
Robert Osfield
robert.osfield at gmail.com
Mon Aug 3 01:31:26 PDT 2015
Hi Vitaliy,
My guess there is a numerical precision issue on the texture coordinates.
Try setting the Texture wrap mode to CLAMP_TO_EDGE, via:
texture->setWrap(osg::Texture::WRAP_S, osg::Texture::CLAMP_TO_EDGE);
texture->setWrap(osg::Texture::WRAP_T, osg::Texture::CLAMP_TO_EDGE);
Robert.
On 3 August 2015 at 09:19, Vitaliy Polyakov <poljak181 at yandex.ru> wrote:
> Just after program started
> [Image: http://i57.tinypic.com/2wevw5s.png ]
>
> After camera moved
> [Image: http://i62.tinypic.com/2j1vthw.png ]
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=64569#64569
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150803/31a0c100/attachment-0003.htm>
More information about the osg-users
mailing list