Thanks Pjotr, fix merged and submitted to svn/trunk and OSG-3.2 branch.

On 8 April 2014 08:26, Pjotr Svetachov <[email protected]> wrote:

> Hi Robert,
>
> This commit broke compilation under visual studio 2013. To use
> std::not1 you need to include the functional header.
> Here is a fix.
>
> Cheers,
> Pjotr
>
> On 7 April 2014 16:21, Robert Osfield <[email protected]> wrote:
> > Hi Jan,
> >
> > Some of the changes look a little convoluted but then as your explanation
> > points out the fault lies in the rather too open "interpretation" of .obj
> > out there.  I've tested a few models here and I haven't spotted any
> > regressions, but I don't have a huge sample of .obj files. I have merged
> and
> > checked in your changes to svn/trunk and OSG-3.2, fingers crossed there
> > won't be any issues for other users.
> >
> > Thanks,
> > Robert.
> >
> >
> > On 5 February 2014 08:35, PCJohn <[email protected]> wrote:
> >>
> >> Hi Robert,
> >>
> >> I am sending four fixes to obj plugin:
> >>
> >> - materialName used to be not stripped of whitespace, making number of
> >> models
> >> fail to load materials; now fixed
> >> - stripping was considering spaces only, thus models using tabs had
> >> problems
> >> to load correctly; fixed
> >> - fixed references to textures; they did not performed conversion to
> >> native
> >> directory separators
> >> - make d (dissolve) takes precedence over Tr (transparency); there seems
> >> to be
> >> a confusion about the Tr item - some claiming 1 to be opaque and 0
> >> transparent, while number of models uses exactly the opposite. d
> >> (dissolve),
> >> if present in the model, does not suffer from this confusion, thus using
> >> it
> >> instead fixes the problem for many many models.
> >>
> >> I put many comments to the file concerning d and Tr item as others may
> >> further
> >> investigate. Let me know in the case of any problems.
> >> John
> >> _______________________________________________
> >> 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
> >
>
> _______________________________________________
> 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