

Task

Display a smooth shaded triangle with OpenGL.

 Triangle created using C example compiled with GCC 4.1.2 and freeglut3.


Style[Graphics3D[{Polygon[{{-1, 0, 0}, {1, 0, 0}, {0, Sqrt[3], 0.5}}, 
    VertexColors -> {Red, Green, Blue}]}, Boxed -> False], 
 RenderingOptions -> {"3DRenderingEngine" -> "OpenGL"}]