I'm a absolute beginner in OpenGL. I have created a sphere with the help of tutorials. Now i would like to display a function on the surface of the sphere. This means for every point (x,y,z) on the surface of the sphere i compute a scalar value f(xi,yi,zi) = si and assign a color to this value.
Do someone of you know a tutorial that shows how to achieve this or can explain it to me?
Thanks in advance,