Measuring of rendering performance for Remote python-based Visualisation

Hi Evgeniya,

It is not recommended to call vtkOpenGLRenderer::New() yourself, because vtkRenderingOpenGL2 contains necessary OpenGL versions of many classes. For example: vtkOpenGLPolyDataMapper, vtkOpenGLActor, vtkOpenGLCamera, vtkOpenGLLight, vtkOpenGLFramebufferObject.

Many of these classes (like Camera and Light) are created by other classes, and without VTK_MODULE_INIT(vtkRendereringOpenGL2) the wrong class will be instantiated.

David