[vtkusers] vtkBorlandRenderWindow - An exception occurred whilst rendering
jiksed at yahoo.com
Tue Jul 31 11:13:50 EDT 2007
Thanks for your prompt response. My application has been running for several years with a very limited number of complaints and it works fine without any problem on my HP laptop with ATI Mobility Radeon 9100 graphics card. Thanks for your recommendation. I will stay away from ATI and go for nVidia.
I have limited knowledge of programming and do not understand what I can do with your suggested debugging. Is there any way to solve my problem? Is the problem inside vtkBorlandRenderWindow or inside VTK in general?
I installed the latest version of ATI Catalyst but the problem still exists. Someone on this list suggested setting LIBGL_ALWAYS_INDIRECT=1. I set this in Environmental Variables || User Variables table but no luck either. Where shall I set this variable exactly, on Borland IDE or in Windows Systems || Environmental Variables? What does this setting do?
Dean Inglis <dean.inglis at sympatico.ca> wrote:
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:
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers