Hi, its me again. :)
There is still something wrong. I had not realized before that the added material leads to a darker shading. If I have an osg-file without material the colors are brighter than after exporting to flight. The default material which is created seems to be wrong. Osg's default Material has an ambient color of (0.2, 0.2, 0.2, 1.0) and a diffuse color of (0.8, 0.8, 0.8, 1.0). When computing an implicit material for OpenGL Rendering something has to be done different. If I export a flt-file, without any materials, osg adopts the primary color directly as ambient and as diffuse color of the newly created material. The same material is created, if the flt-file has already a material attached which has an ambient and diffuse color of pure white. In my opinion the OpenFlight-Plugin has to use a default material of (1.0, 1.0, 1.0, 1.0) for both ambient and diffuse to get the Shading right. Or have I missed anything again? Cheers, Katharina ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17566#17566 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

