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

Mohammed Amine SAHTARI msahtari at gmail.com
Wed Nov 12 05:18:27 EST 2008


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/20081112/c16e20a8/attachment.htm>


More information about the vtkusers mailing list