On Mon, Nov 9, 2009 at 09:50, Ulrich Hertlein <[email protected]> wrote: > 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? >
Hi Thorsten, You're assigning the texture coordinates only to the first element ([0]). Colin _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

