Hi Johannes,

Instead of modifying the plugin I have modified the
Geometry::setTexCoordArray() method so that is setting the binding to
BIND_PER_VERTEX when no other binding is set.  Could you try out svn/trunk
or the 3.2 branch to see if this works fine with your .obj data.

Thanks,
Robert.

On 19 July 2013 19:13, Johannes Scholz <[email protected]> wrote:

> Hi,
>
> we discovered that importing textured OBJ models using texture coordinates
> resulted in having distorted textures. This bug first occured in some
> version after OSG-3.1.4. We added the missing osg::Array::BIND_PER_VERTEX
> for the TexCoords Array inside the OBJ import methods to fix this.
>
> You will find the patched ReaderWriterOBJ.cpp file attached.
>
> Best regards,
>
> Johannes
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=55308#55308
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to