Hi Micha,
in MeshPlot::createOpenGlData() (module qwt3d_meshplot.cpp) is a bug.
When creating the polygons (i.e. inside of glBegin(GL_POLYGON)), the
normal must be set before the vertex.
Swapping the line glNormal3d(...) (line# 269) with glVertex3d(...)
(line# 268) solves it
(line numbers from SVN Revision 215).
Regards,
Gernot
|