[vtkusers] vtkSelectVisiblePoints & what's in the Z-buffer

Mathieu Malaterre mathieu.malaterre at kitware.com
Tue Apr 26 12:00:22 EDT 2005


John,

	Which release of vtkSelectVisiblePoints are you using I know there was 
a recent patch for this particular line not so long ago.

http://public.kitware.com/cgi-bin/viewcvs.cgi/Rendering/vtkSelectVisiblePoints.cxx?r1=1.31&r2=1.32

Thanks
Mathieu

John Platt wrote:
> Hi All,
> 
>  
> 
> If a point IS visible, does anyone know what vtkRenderer::GetZ() should 
> return? I get a lot of 1.0’s which then fail the visibility test in 
> vtkSelectVisiblePoints
> 
>  
> 
>       if ( fabs(z-dx[2]) <= this->Tolerance )  visible = 1;
> 
>  
> 
> Any help would be much appreciated.
> 
>  
> 
> John.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list