Hi Alessandro et. al, Back in January I wrote:
On 23 January 2018 at 15:22, Robert Osfield <[email protected]> wrote: > 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. I now have some time to look into this. If you have any further work/insights to chip in as I dive into the original and proposed changes let me know. Cheers, Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
