HI Alessandro,

I have a further look at fbxMaterialToSOsgStateSet.h + .cpp and it's
pretty clear to me that it needs to be refactored before any further
modifications are done.  There is so much in the header and the ,cpp
that is repeated when it should have been written with written
differently.

The right way to do it would be to have a class to wrap all the
texture properties then have an instance of this for each of the
diffuse, opacity etc.  This would result in far less code and greater
clarity.

I can't tackle this right away, but once I've cleared my present work
enough I'll return to this.

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

Reply via email to