Hi Luca, On Wed, May 18, 2011 at 8:02 AM, Luca Vezzadini <[email protected]>wrote: > > I'm suggesting that we have one line per each map; so if you have 5 > materials each with 3 maps you'll see 15 description lines in total. And > each line should include the material ID it refers to so it's > straightforward to parse (each line carries all the info you need, > regardless of other strings). > > Then, as each node (so, in our case, the root node) can have multiple > description strings (it's a vector), we can choose if we pack all the lines > as a single string, if we group them by materials or if we have one string > per line. Maybe we can make a few tests and see what is easier to read; but > they are functionally equivalent anyway.
I'm going to start playing around with this today. I'm leaning towards each material having its own description string. I'll let you know when I get something working. Cheers, Farshid
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

