Subject:
|
Re: Maximum depth of ldraw models?
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Sat, 9 Sep 2006 02:11:20 GMT
|
Viewed:
|
2876 times
|
| |
| |
In lugnet.cad.dev, Travis Cobbs wrote:
> In lugnet.cad.dev, Erik Olson wrote:
> > This can speed up rendering by eliminating a large number of camera stack
> > operations, eliminating duplicate vertices, and by increasing the memory cache
> > hit rate, at the cost of a reasonable amount of extra memory used.
>
> Yes, and remember that matrix multiplications aren't generally accelerated at
> all. So when you change the model/view matrix, the matrix multiplication
> happens on the CPU. A part with lots of studs ends up with quite a few matrix
> multiplies.
I found that performance went down somewhat when I copied and pre-translated all
the studs too. I could be creating a memory cache penalty. Anyway it is only one
matrix multiply per stud (stud is already flattened in itself), which goes onto
the stack. After that there are multiplies associated with drawing the triangles
of the stud (local to world, world to camera for every point. IIRC) which you
have to pay.
|
|
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
|
|
|
|