[osg-users] Texture is rendered strange

Ulrich Hertlein u.hertlein at sandbox.de
Mon Nov 9 00:50:52 PST 2009

On 7/11/09 10:18 PM, Thorsten Werner wrote:
>      osg::Vec2Array* texcoords = new osg::Vec2Array(4);
>      (*texcoords)[0].set(0.0f, 0.0f);
>      (*texcoords)[0].set(1.0f, 0.0f);
>      (*texcoords)[0].set(1.0f, 1.0f);
>      (*texcoords)[0].set(0.0f, 1.0f);

Is this a cut&paste error?

The image you're loading (.tga) isn't the one you've attached (.png), so we can't really 
say what's different.


More information about the osg-users mailing list