We have a CAD program, GUI in ‘C’, graphics in OpenGL. When rendering our models they can be wireframe, shaded (flat), or shaded (smooth).
Color for the shading is in a “resource” file and can be specified by changing the attribute *colorShade to what ever you desire.
However, in the rendering, when you select “Smooth Shade” the model is ALWAYS rendered in “pink” even though the FLAT shading has been specified as dodgerBlue. How do I get something other than “pink” for the Smooth shading?