Hi J-S,
Jean-Sébastien Guay wrote:
Hi JP,
and make two primitives.
By two primitives, do you mean two osg::Geometry objects sharing the
same vertex array? (as opposed to two PrimitiveSets in the same
osg::Geometry, which is what he was trying to do...) Yes, that's true
and clever, I hadn't thought of that.
Sorry, "primitives" is a bit vague. I normally make separate (sometimes
to set e.g. renderbin number on each) osg::Geometry, each with single
addPrimitiveSet. I have not tried multiple addPrimitiveSet on single
geometry, but think/hope it should also be OK and share the vertex array.
jp
Thanks for your insight,
J-S
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org