Hi guys,
I’m trying to draw a colored bezier surface. I have no issue whatsoever drawing my bezier surface using the pseudocode below:
glMap2d( GL_MAP2_VERTEX_3, … );
glEnable( GL_MAP2_VERTEX_3 );
glMapGrid2d( … );
glEvalMesh2(GL_FILL, …);
My question is this. Can I have each control point have a certain color that is blended in-between to show a multi-colored surface.
In other words, suppose i have a 5x5 grid of control points. I’ll end up with 25 control points on my surface. I want each of these control points to have a specific color and it is blended with the colors of neighbouring control points.
I have this is possible.
Do reply.
Thank-you in advance.