info-inventor
[Top] [All Lists]

Re: slow with material

To: jarekr@xxxxxxxx (Jarek Rzepecki)
Subject: Re: slow with material
From: Jonathan Lim <jlim@xxxxxxx>
Date: Wed, 11 Sep 2002 12:45:23 -0700 (PDT)
Cc: info-inventor@xxxxxxxxxxx
In-reply-to: <Pine.GSO.4.40.0209111429080.10022-100000@wally.fnal.gov> from "Jarek Rzepecki" at Sep 11, 2002 02:36:05 PM
Sender: info-inventor-bounce@xxxxxxxxxxx
On Wed Sep 11 12:36:05 2002, jarekr@xxxxxxxx wrote:
> 
> Hello!
>     I need to draw a lot of lines (SoLineSet). When I'm drawing those
> lines without adding material - that is I'm drawing them in default color
> etc... it is fast. But when I try to draw those lines with materials the
> whole thing  is getting much slower... Why is that?
> (by material in this case I mean only diffuse color)

Changing materials too often will slow things down. You may want to reorganize
your data to minimize the changes.


              Jonathan Lim  _  Silicon Graphics  _   Mountain View
              GPS Graphics     Computer Systems     California, USA

<Prev in Thread] Current Thread [Next in Thread>