Hi Sukender, you can write it your self, it;s easy. You iterate over the primitives and update the normal array. You should use node visitor and apply that on all geodes. Really simple piece of code
-Nick On Thu, Feb 18, 2010 at 2: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

