To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10491
10490  |  10492
Subject: 
Re: Maximum depth of ldraw models?
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 8 Sep 2006 21:29:21 GMT
Viewed: 
2464 times
  
LDView behaves similarly, although it doesn't do any joining aside
from its primitive substitution.  But since it uses vertex arrays,
it turns out that joining into strips and fans can actually
sometimes be detrimental to performance, since each strip and fan
requires a separate API call, while all the triangles (for instance)
can be drawn with a single API call.  So unless the strips get above
some threshold (which is video-card dependent), they'll actually be
slower.  Also, I use multiple display lists for each part in order
to be able to handle the default color and the highlight color while
still drawing that geometry in a display list.

  Actually on modern cards strips are always slower than optmized lists. You
can always try adding degenerate triangles to stitch strips together to save
the cost of multiple render calls (too bad PC cards don't support a primitive
reset index).

Leonardo



Message is in Reply To:
  Re: Maximum depth of ldraw models?
 
(...) Same here for LDView. LDView always flattens part geometry, and this seems to improve performance enough to be noticed. LDView does use a display list for each part, and a nested display list for each nesting level above that (as long as you (...) (18 years ago, 7-Sep-06, to lugnet.cad.dev)

11 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR