[vtkusers] Edges and Solids

Sean McInerney seanm at nmr.mgh.harvard.edu
Thu Jul 29 13:09:18 EDT 2004


vtk at scil.sinp.msu.ru wrote:
> 
> On Thu, 29 Jul 2004, Sean McInerney wrote:
> 
>>> hm... not so comfortable. these fact cause to use one more body, with 
>>> own properties, that is shifted from the main body. not so bad, but 
>>> why we need additional elements....
>>
>> I am not sure what you mean here. The "color by numbers" approach 
>> should not have too much performance overhead. It will incur the 
>> additional memory requirement of a Scalars array in the CellData as 
>> well as a vtkLookupTable, but I thought you wanted speed ;-)
> 
> :)
> I have 2-sided object.
> object is made of several bodies. each must have own colors for 
> front/back faces (white/blue, green/blue, red/green etc...). up to 
> 200-400 surfaces.
> i can map them in one map.
> one map can be colored only as a front face. am I correct?
> 

As far as I know, mapping through a LookupTable will only affect the 
front faces.

I would also experiment with the SetImmediateModeRendering mapper 
toggle. With extremely large surfaces, building display lists can 
actually hinder performance.

Good Luck!

-Sean



More information about the vtkusers mailing list