Hi,

On Thu, 2011-03-24 at 13:31 +0100, Johannes Brunen wrote:
> Hello Gerrit,
> 
> "Gerrit Vo" <vo...@vossg.org> schrieb im 
> Newsbeitrag news:1300969044.2866.70.ca...@feynman.camtech.ntu.edu.sg...
> >
> > hmm, but would that not do the wrong thing ?. The aim of the loop
> > is to detect if the geometry had already been striped before and if this
> > is the case not to run the striper the geometry again (unless forces)
> >
> ok, I did assume that it should detect if unstriped primitives are present.
> >
> > So the original loop does that, if it detects a strip inside the types
> > it concludes that the striper had already been run earlier and it does
> > not stripe the geometry again.
> >
> > The striper does not guarantee a type field with only GL_TRIANGLE_STRIP
> > entries. As you say GL_TRIANGLE_FAN is possible but GL_TRIANGLES is as
> > well.
> >
> > What was the problem with the original condition, was checking just for
> > the first strip to optimistic ?
> >
> I think that this is to conservative. The geometry might be partely striped. 
> For instance the facetter I use does produce quads and quad stripes beside 
> of triangle stripes and fans.

a ok, so a better condition would be to check for non triangular
primitives ?

kind regards
   gerrit




------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to