Hi Luca, On Mon, May 16, 2011 at 1:57 PM, Luca Vezzadini <[email protected]>wrote: > > I'd say that both options are interesting; the first one is probably more > straightforward, but it's true that the second one opens more possibilities. > What about a radio button in the exporter options to choose which strategy > to use? I know this means coding both version but it would leave more margin > on the end-user side... >
The second method doesn't necessarily need to be an option. I don't see any harm in always adding a description string to the stateset. My main concern is coming up with a format that can be easy to parse. I'd like to avoid the first method, since it introduces a couple issues. As I mentioned in my last email, how would composite materials be handled? Should the assigned texture unit for each map type be customizable, and if so, how would the interface for assigning the texture units work? If you are not concerned with composite materials and are fine with hard-coded texture units, then this seems like something I can add soon. Cheers, Farshid
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

