[vtkusers] Land topography with distinct colors

mcsalas at chilesat.net mcsalas at chilesat.net
Tue Mar 11 10:42:42 EST 2003


Hi, i make a land topography of a txt file (x, y, z) . I reading the coords,
and then triangulate with Dealunay2D (thank's a Sebastien MARAUX) and render
the surface. this Ok.

The problem now is:

Depending the z Coord, the surface need show with distinct colors, p.e.

z < 1.4 = green
1.5 < z < 2 = blue
2 < z = red

How make this and conserving the form of the original surface??

any code example or suggestions please..

Best Regards,

Max from chile
mcsalas at chilesat.net




More information about the vtkusers mailing list