[vtk-developers] vtkOpenGLPolyDataMapper::RenderPiece

obara obara at simmetrix.com
Fri May 25 14:55:10 EDT 2001


Hi Folks,

Doesn't vtkOpenGlRenderWindow::MakeCurrent() only have to be called once 
when rendering the window?  We were rendering a simple scene 120x's and 
found this function being called 120,000 because 
vtkOpenGLPolyDataMapper::RenderPiece() calls 
vtkOpenGlRenderWindow::MakeCurrent().

At least I didn't ask anything about indentation or where to put braces.

Thanks in advance,

Bob

Robert M. O'Bara
Senior Software Engineer
Simmetrix Inc.
1223 Peoples Ave.
Troy, NY 12180

Lab: (518) 276-2867
Main Office: (518) 276-2729






More information about the vtk-developers mailing list