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

John Platt jcplatt at lineone.net
Tue Apr 26 16:53:06 EDT 2005


Mathieu,

Many thanks - I really like this bug lookup service! The problem is I
never initially suspect a bug and usually only check CVS when all else
fails. I will adjust my problem location strategy :-)

John.
  
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On
Behalf Of Mathieu Malaterre
Sent: 26 April 2005 17:00
To: John Platt
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] vtkSelectVisiblePoints & what's in the Z-buffer

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/vtkSelectVisible
Points.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

_______________________________________________
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