Subject:
|
Re: Maximum depth of ldraw models?
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Sat, 9 Sep 2006 02:11:20 GMT
|
Viewed:
|
2738 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
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:
![](/news/x.gif) | | 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: ![Maximum depth of ldraw models? -Mark Tarrabain (6-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Maximum depth of ldraw models? -Steve Bliss (6-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: Maximum depth of ldraw models? -Kevin L. Clague (7-Sep-06 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Maximum depth of ldraw models? -Erik Olson (7-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: Maximum depth of ldraw models? -Travis Cobbs (7-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: Maximum depth of ldraw models? -Mark Tarrabain (7-Sep-06 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Maximum depth of ldraw models? -Leonardo Zide (8-Sep-06 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Maximum depth of ldraw models? -Mark Tarrabain (7-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Maximum depth of ldraw models? -Andrew Allan (8-Sep-06 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Maximum depth of ldraw models? -Mark Tarrabain (7-Sep-06 to lugnet.cad.dev)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|