Hi Marc, I'm inclined towards just having the DrawElements* code path rather adding complexity to enable/disable the possibility of having DrawArray usage sporadically with an osg::Geometry. So rather than merge I'll open the discussion to simplifying the code.
Robert. On 15 September 2014 13:55, Marc Helbling <[email protected]> wrote: > Hi, > > I'm submitting a patch adding an option to prevent the TriStripper to > generate DrawArrays when indices are "in order". The default behavior still > allows to generate DrawArrays to be compliant with current code. > > The reason behind this submission is that my application should only work > with DrawElements (which might not be a constraint for everyone so I would > understand if this doesn't go into trunk). > > Thank you! > > Cheers, > Marc > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=61044#61044 > > > > > Attachments: > http://forum.openscenegraph.org//files/disabledrawarrays_135.zip > > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
