<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Nicolae Mihalache wrote:
<blockquote TYPE=CITE>Hello!
<p>I'm new to vtk and I'm tring to improve the performance of some
<br>application :(
<br>I'm using vtk 3.2 + tcl and the performance problems I observe are
<br>related with having multiple renderers each with its own window.
<br>In short, what the program does is set some camera parameters and then
<br>call "renderX Render" where X is 1,2 or 3. If I call this function
many
<br>times for the same renderer, the call takes about 0.07 seconds. But
each
<br>time the renderer is changed, the call takes almost 3 seconds :(
<br>I tried to run this part of the application in vtk 4.0 but the
<br>performance seems to be the same.
<br>Any ideea how to improve it? Is it a limitation of the opengl
<br>implementation or vtk? I use a nvidia card on linux with nvidia drivers.
<p>The two renderers render in fact the same scene with the same actors
but
<br>from different angles.
<br>Other ways to implement it?
<p>Thanks,
<br>Nicolae Mihalache
<br><a href="http://public.kitware.com/mailman/listinfo/vtkusers"></a> </blockquote>
Maybe not a great idea from me ... but check the memory use with task manager
(or similar tool).
<br>Visualization is quite RAM-hungry and if you don't have much RAM it
"could" be that your performance problem is due to page-swapping from virtual
memory when you switch windows.
<br>I hope this can be a help.
<p>Greetings
<p> Stefano Mininel</html>