From Björn Hein, "it seems that for generating "per vertex normals" as stated in the comment, two of them are missing. This results in wrong display of STL-files regarding normals. Following simple fix seems to work:
From Björn Hein, "it seems that for generating "per vertex normals" as stated in the
comment, two of them are missing. This results in wrong display of
STL-files regarding normals. Following simple fix seems to work:

Index: ReaderWriterSTL.cpp
===================================================================
--- ReaderWriterSTL.cpp    (Revision 13797)
+++ ReaderWriterSTL.cpp    (Arbeitskopie)
@@ -108,6 +108,8 @@
                     ++itr)
                 {
                     perVertexNormals->push_back(*itr);
+                    perVertexNormals->push_back(*itr);
+                    perVertexNormals->push_back(*itr);
                 }

                 geom->setNormalArray(perVertexNormals.get(),
osg::Array::BIND_PER_VERTEX);
"


omega-hub/osg,artoolkit/osg,koshman86/osg,ghub/osg,ghub/osg,XiaoCC/osg,ghub/osg,ghub/osg,artoolkit/osg,omega-hub/osg,ntoand/osg,ntoand/osg,XiaoCC/osg,koshman86/osg,artoolkit/osg,omega-hub/osg,XiaoCC/osg,XiaoCC/osg,omega-hub/osg,koshman86/osg,ntoand/osg,koshman86/osg,XiaoCC/osg,ntoand/osg,artoolkit/osg