[vtkusers] vtkBorlandRenderWindow - An exception occurred whilst rendering

Jim jiksed at yahoo.com
Mon Jul 30 12:34:49 EDT 2007


Dear vtkusers,
   
  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:
   
  //---------------------------------------------------------------------------
void __fastcall TvtkBorlandRenderWindow::Paint(void)
{
  if (FRenderWindow)
    {
    try
      {
      FRenderWindow->Render();
      }
    catch (...)
      {
      // Some error trap should occurr here
      ShowMessage("An exception occurred whilst rendering");
      }
    }
  else
    { // Design time or before RenderWindow creation
    inherited::Paint();
    }
}
   
  Reducing "Hardware Acceleration" is really not a nice option. Is there any other fix in this vtkBorlandRenderWindow package or in my graphics card driver settings? Here is my computing environment: WinXP Pro, Borland Developer Studio 2006, VTK5.0.2, ATI Radeon x1300 graphics card. 
   
  Thank you for your help.
   
  Jim
   

       
---------------------------------
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070730/625a4701/attachment.htm>


More information about the vtkusers mailing list