Hi Marc and Robert, I have tested your provided code and it crashes with the box.ply file [1]. Reviewing your attached implementation, the main difference is that I assumed that the texture coordinates were vertex properties and your implementation that they are face properties.
@Robert: Marc's provided code should be candidate for inclusion in OSG as he claims that it is working for them. But anyhow, I would like to have a simple PLY working file, so any developer could know the required fields in the PLY files to store the texture coordinates (PLY format is quite "open"). Also, some tips about the pipeline to generate those textured PLY models would be great (I was using the mconvert tool provided with OpenMesh). Bye, [1]: The file was attached to the first email and it is still in the server: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20151112/82beb746/attachment-0001.obj Be aware that the values of the texture coordinates are invalid. On Wed, Jan 20, 2016 at 2:24 PM, Marc Helbling <[email protected]> wrote: > Hi Robert & Aitor, > > please find attached another patch that adds support for ascii/binary tex > coord in the ply plugin. > I did not manage to find the box.ply sample to validate this but we've > been using this patch on production for a while. > > Robert, side question, do you plan to move from patch submission to pull > requests soon? I have quite a bunch of updates to push and would rather be > up to date with your preferred submission workflow (with a big preference > for pull requests). > > Cheers, > Marc > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=66062#66062 > > > > > Attachments: > http://forum.openscenegraph.org//files/ply_tex_support_785.zip > > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > -- Aitor Moreno aitormoreno [@] gmail.com
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
