cga
08-08-2003, 09:29 PM
I know I can change the color of each vertex of any polygon to obtain a polygon that is smooth shaded with a gradient of those colors.
However, I was wondering if there is a way to achieve a similar effect with GLU for NURBs. I'd like to basically pass different colors attached to the vertices that form the hull of the object and have opengl do the proper interpolation, as the NURB object is being tesselated.
Thanks.
However, I was wondering if there is a way to achieve a similar effect with GLU for NURBs. I'd like to basically pass different colors attached to the vertices that form the hull of the object and have opengl do the proper interpolation, as the NURB object is being tesselated.
Thanks.