Daniel,

viewing your model in osgviewer by default lights it with a headlight, which 
will result in all surfaces that are parallel to the viewing direction to show 
as dark. Use lights in the scene to better light the model.

The problem with the floor not always showing is due to the fact that both the 
windows and the floor are semi-transparent. They are both in the transparent 
bin and will be sorted rather coursely from back to front.
This means that sometimes a window is drawn before a floor element is drawn and 
this will prevent the floor element to correctly show through the window.

For your specific model you could set the floor to a smaller bin number than 
the windows. This way the floor will always be drawn before the windows. Or 
simply make the floor opaque.

--
Roland

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7169#7169





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to