Hi Joan,

Thanks for revisting this.  I've just checked in the change to true
along with a comment clarifying it:

WriterNodeVisitor::Material::Material(WriterNodeVisitor &
writerNodeVisitor, osg::StateSet * stateset, osg::Material* mat,
osg::Texture* tex, int index) :
    index(index),
    diffuse(1,1,1,1),
    ambient(0.2,0.2,0.2,1),
    specular(0,0,0,1),
    shininess(0),
    transparency(0),
    double_sided(false),
    image(NULL),
    texture_transparency(false),
    texture_no_tile(true) // matches lib3ds_material.cpp
initialize_texture_map(..) default flag setting


I believe this is now appropriate as the OSG should be uses the same
defaults as lib3ds code rather than the other way around.

Could you update to svn/trunk and let me know if everything works fine.

Cheers,
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to