<div dir="ltr">Hi all,<div><br></div><div>I came across something strange recently;</div><div>the attached model is a red triangle scaled down by a factor 1000.</div><div>The normals are squashed and I see some rendering problems in my app,</div><div>which uses osgcompositeviewer.</div><div><br></div><div>Confirmed with</div><div>osgcompositeviewer red.osgt  - renders with white color (incorrect)<br></div><div><div>BUT</div><div>osgviewer red.osgt - renders with red color (correct)<br></div></div><div><br></div><div>I did some digging in the OSG code, it seems the difference is that osgviewer always</div><div>optimizes the scene graph, something that osgcompositeviewer never does.</div><div>Adding an optimizer to osgcompositeviewer fixes the rendering.</div><div><br></div><div>So first question; would it be better if the two viewers applied same optimizer settings?</div><div>Since users would expect them to display things in the exact same way.</div><div><br></div><div>Second and more interesting; how can optimizer correct a "broken" model?<br></div><div><br></div><div>Thank you!<br></div><div><br></div><div>/Per<br></div><div><br></div></div>