I’m trying to render spherical harmonics,I’m using the sample code from Paul Bourke site, but I get a GL_INVALID_VALUE error while evaluating the last point of the quad.
Here is the url : http://astronomy.swin.edu.au/pbourke/geometry/sphericalh/
The sample uses quads to render the surface, is it possible that the four points of the quad doesn’t lie on EXACTLY the same plane ?
Is there a sort of tolerance in wich OGL accepts vertex like they are on the same plane ?
Do someone knows some other samples on line on rendering spherical harmonics with OGL ?
P.S: I don’t wanna in any way say that P.Bourke code is wrong,it’s surely my fault, his site is really gr8 a must visit for every math programmer.