If you can send me your data, it would be very useful for me to see what
it is doing.  If you take out the zero-area triangles, the strip would
break making tri strips even shorter.  If you want more information on
your strip length distributions, the StripifierStats class has a method
toString() which will print out a distribution of strip lengths (eg. how
many strips are length 1, 2, 3, 4, 5, 6, 7, 8, 9, 10-19, 20-49, 50-99,
100-999 and 1000 or more).

andrea


Artur Biesiadowski wrote:
>
> Andrea Tartaro wrote:
> >
> > Artur,
> >
> > The stripifier algorithm we use tries to improve strip lengths by adding
> > in "zero-area" triangles, where three consecutive vertices in the strip
> > create a triangle that has two vertices that are the same.  For the most
> > part, this greatly improves strip lengths over our previous algorithm.
> > However, the stripifier results greatly depend on the data it is given,
> > so the 3DS loader could be giving the stripifier difficult data.
>
> Maybe there would be a chance of adding some control to Stripifier ? In
> this case, it seems that about 30-40% of all triangles are 0 triangles.
> With average strip length of 4 this means that probably means that zero
> triangle is added almost between every triangle in strip (first and last
> do not need it - so we have probably 5 length strips (t-zero-t-zero-t)
> and 3 length strips (t-zero-t)). I think that algorithm has gone awry.
>
> I'll try out some more models and post data here.
>
> Artur
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to