[vtkusers] vtkPointSpriteMapper details
    Paul Harris 
    harris.pc at gmail.com
       
    Sun Jan 18 20:00:50 EST 2009
    
    
  
Hi all, and especially John Biddiscombe,
I am starting to work with vtkPointSpriteMapper, and would like to ask a few
questions:
1) More curiousity than anything else: It looks like you have disabled
display-lists, and it only works in ImmediateMode rendering.  Will
display-lists ever be supported, or do they cause trouble?
2) In this set of code from vtkPointSpriteMapper.cpp line 1522
  int Np = points->GetNumberOfPoints();
  int Nc = input->GetVerts()->GetNumberOfCells();
  if (this->IgnoreVertexCells || Nc==0 || Nc==Np) {
    RenderFlags |= VTK_PSM_USE_POINTS;
  }
Why does the if() include the test for Nc == 0
What if I have a static set of points+colours, and I want to plot none of
them?  I would like to just set the verticies to an empty cell array, but at
the moment it looks like I have to disable or remove the actor from the
renderer.
thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090119/63fad873/attachment.htm>
    
    
More information about the vtkusers
mailing list