[vtkusers] Issue with SortScalars in vtkDepthSortPolyData?

Ben Held bheld at awrcorp.com
Wed Jul 1 13:24:31 EDT 2009

We are working with vtkDepthSortPolyData to deal with some translucency
issues.  I think there is an error in the population of the sort
scalars.  The current implementation does this:


if ( this->SortScalars )


      scalars[newId] = newId;



Shouldn't this be:

if ( this->SortScalars )
      scalars[cellId] = newId;


Or perhaps:

if ( this->SortScalars )
      scalars[newId] = cellId;


Depending on the intention of the data?





Ben Held

Engineering Manager
AWR Corporation/Simulation Technology & Applied Research, Inc.
11520 N. Port Washington Rd., Suite 201
Mequon, WI 53092
P: x101
E: bheld @awrcorp.com <mailto:bheld at awrcorp.com> 
W: http://www.awrcorp.com <http://www.awrcorp.com/> 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090701/f6fab1f0/attachment.htm>

More information about the vtkusers mailing list