Robert Osfield wrote: > Hi Paul, > > I have just tried your example out and the OSG is working perfectly, > the problem stems for dumptruck.osg not defining a color array on one > of the geometries, but defining it for the other two. In your app you > enable the AMBIENT_AND_DIFFUSE colour material mode, which shows up > this disparity, but dumptruck.osg disable the the colour material mode > which makes OpenGL ignore any vertex colour arrays so hides the > problem in the model. > Ah, interesting, I didn't suspect it would be something like that.
> If you are seeing similar problems in your own app/models then go > looking for missing colour/normal arrays on geometries. > > For dumptruck.osg I've added the missing colour array and checked into > into svn/trunk of OpenSceneGaph-Data, this fixes the problem you've > observed. > Great! And the OVERRIDE flag not making it to the .osg file, is that as expected as well? Paul _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

