[vtkusers] vtkBorlandRenderWindow - An exception occurred whilst rendering

Dean Inglis dean.inglis at sympatico.ca
Mon Jul 30 16:53:58 EDT 2007

Hi Jim,

Have you tried your application on another hardware platform
with a different graphics card?  I ran into similar problems
on pc's with ATI cards and now only use NVidia cards on
pc's in our lab.  One thing you could try is debugging, for example,
in your form's OnCreate event:


and then capture the debug output to a text file:

  vtkOutputWindow* ow = vtkOutputWindow::GetInstance();
  vtkFileOutputWindow* fow = vtkFileOutputWindow::New();
  fow->SetFileName( "my_debug.txt" );
  if ( ow )
    ow->SetInstance( fow );


  My program compiles and starts fine, but when I read a data set and render
an image, I get an error message which says "An exception occurred whilst
rendering". This problem can be solved by reducing "Hardware Acceleration"
in Windows display settings.

  I found that this error message is reported by vtkBorlandRenderWindow in
the following function:

More information about the vtkusers mailing list