[vtkusers] Turn off Z buffer and sort PolyData by attribute values

Mohammed Amine SAHTARI msahtari at gmail.com
Thu Nov 13 04:26:00 EST 2008


Hi vtk users and experts,

How can turn off the Z buffer ?
I know how to do that in openGl but could some tell me how to do it with VTK
?

Please help

2008/11/12 Mohammed Amine SAHTARI <msahtari at gmail.com>

> Hi,
>
> I have a set of points with attribute scalars (1 scalar for each point) ,
> I use polydata to render this data and color the point acoording to scalar
> attributes (lut).
>  I want to sorte my list of points by lowest-->highest value.  Then when we
> render the points we will draw from lowest to highest.
> Highest points will be drawn last overtop of lower points. In this way I
> can render the peak of data (Max scalar).
> For this purpose, I need also to turn off the Z -Buffer.
>
> So, How can I sort my data from the lowest to the Highest value (scalar)
> using polydata ?
> How can I turn off the Z-Buffer for rendering?
>
> I really need you help, Any suggestions ?
>
> Amine
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081113/ab8c8668/attachment.htm>


More information about the vtkusers mailing list