Hi,
Not sure but I guess that the following line is incorrect:

daeRGeometry.cpp

   if ( color_source != NULL ) {
       geom->setColorArray( sources[color_source].getVec4Array() );
       geom->setColorBinding( osg::Geometry::BIND_PER_VERTEX );
   }


And the correct one should be:

   if ( color_source != NULL ) {
       geom->setColorArray( sources[color_source].getVec3Array() );
       geom->setColorBinding( osg::Geometry::BIND_PER_VERTEX );
   }


As I guess that in Collada file COLOR element is 3 component vector so needs
to be updated with "getVec3Array".

Best,
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to