The way to create my own texture sound interesting for me. But I am not 
familiar with textures.
How can I create my own 1D texture for this?
Thanks.
-sascha

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mathieu
MARACHE
Sent: Tuesday, January 02, 2007 11:41 PM
To: osg users
Subject: Re: [osg-users] Coloring a high grid


Another way I like a lot is to have a 1D texture with a gradient of
colors and assign textures coords to your vertices based on their z
value (zmin...zmax - 0...1 for example).

HTH

--
Mat

2007/1/3, Smeenk, R.J.M. (Roland) <[EMAIL PROTECTED]>:
>
> 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/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to