Farshid Lashkari wrote:
> Regarding the format, are you suggesting that there should be a single 
> description string that contains information for all the materials? Or each 
> material should still be a separate description, but include the material 
> name on each map entry line?

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.

  Luca

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39505#39505





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

Reply via email to