Hi Robert,

Thanks, but it does things about vertices and texcoords, but not normals... 
(sigh) Or is it a recent change (= do I need to update to the latest SVN 
revision)?

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/

----- "Robert Osfield" <[email protected]> a écrit :

> Hi Sukender,
> 
> You could try the osg::Geometry:copyToAndOptimize(Geometry& target);
> method.
> 
> Robert.
> 
> 
> On Thu, Feb 18, 2010 at 12:32 PM, Sukender <[email protected]> wrote:
> > Hi all,
> >
> > Is there a piece of code that duplicates normals (or colors, or any
> other value of the same kind) to get BIND_PER_VERTEX instead of
> BIND_PER_PRIMITIVE, BIND_PER_PRIMITIVE_SET, etc.?
> > An out-the-box solution is prefered, of course! ;)
> >
> > Cheers,
> >
> > Sukender
> > PVLE - Lightweight cross-platform game engine -
> http://pvle.sourceforge.net/
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to