<div>Hi Dean,</div> <div> </div> <div>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.</div> <div> </div> <div>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?</div> <div> </div> <div>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?
<BR></div> <div>Thank you.</div> <div> </div> <div>Jim</div> <div><BR><B><I>Dean Inglis <dean.inglis@sympatico.ca></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Jim,<BR><BR>Have you tried your application on another hardware platform<BR>with a different graphics card? I ran into similar problems<BR>on pc's with ATI cards and now only use NVidia cards on<BR>pc's in our lab. One thing you could try is debugging, for example,<BR>in your form's OnCreate event:<BR><BR>my_borlandrenderwindow->GetRenderWindow()->DebugOn();<BR>my_borlandrenderwindow->GetInteractor()->DebugOn();<BR>my_borlandrenderwindow->GetRenderer()->DebugOn();<BR><BR>and then capture the debug output to a text file:<BR><BR>vtkOutputWindow* ow = vtkOutputWindow::GetInstance();<BR>vtkFileOutputWindow* fow = vtkFileOutputWindow::New();<BR>fow->SetFileName( "my_debug.txt" );<BR>if ( ow
)<BR>{<BR>ow->SetInstance( fow );<BR>}<BR>fow->Delete();<BR><BR><BR>HTH,<BR>Dean<BR><BR><BR>My program compiles and starts fine, but when I read a data set and render<BR>an image, I get an error message which says "An exception occurred whilst<BR>rendering". This problem can be solved by reducing "Hardware Acceleration"<BR>in Windows display settings.<BR><BR>I found that this error message is reported by vtkBorlandRenderWindow in<BR>the following function:<BR><BR><BR></BLOCKQUOTE><BR><p> 
<hr size=1>Fussy? Opinionated? Impossible to please? Perfect. <a href="http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 ">Join Yahoo!'s user panel</a> and lay it on us.