You can assign a height based color to each vertex. (fixed function pipeline solution) Or you can attach a vertex program to the grid geometry that does the coloring for you.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Kuhn Sent: woensdag 3 januari 2007 1:12 To: osg users Subject: [osg-users] Coloring a high grid Hy, I have a scene with high grids, the whole surface of the high grids are grey. To make the high differences more visible I want to color the surface depending on the z coordinates of each grid data. Can give me anyone a idea how I could do this. Thanks. Sascha _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
