<div dir="ltr"><div><div>Hi Marco,<br><br></div>what is the underlying pixel data type in those two images ?  The widget has an internal<br>vtkImageMapToColors which will do additional processing to convert the input to <br>
uchar if required.  How do you configure your widgets ?<br></div><br><div><br></div>- Dean<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 7:08 AM, Marco Sambin <span dir="ltr">&lt;<a href="mailto:m.sambin@gmail.com" target="_blank">m.sambin@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all.<div><br></div><div>In my VTK6-based Java application, I am using a vtkCanvas where I display three orthogonal vtkImagePlaneWidgets, cutting a volume loaded through vtkImageReader2.</div>
<div><br></div>
<div>Everything works fine on my development machine, which is a recent and moderately-powerful 64-bit Win 7-based machine.</div><div><br></div><div>For legacy-compatibility purposes, I tested this application under an older Win XP-based Pentium 4 machine with 1 GB RAM and old Barco graphic cards, and I obtained &quot;strange&quot; results:</div>

<div><br></div><div>- if I feed vtkImageReader2 with a volume made up of around 360 raw slices, each one 512x512 pixels, then the overall rendering performances of the view containing the three vtkImagePlaneWidgets are acceptable.</div>

<div><br></div><div>- on the other side, if I feed vtkImageReader2 with a volume made up of 90 (i.e., fewer) raw slices, each one 512x512 pixels, then the overall rendering performances of the view containing the three vtkImagePlaneWidgets become really poor, and I can distinguish the texture appearing on top of each plane widget painting as two separate triangles, given the slow rendering.</div>

<div><br></div><div>Can you guess why the rendering performance of the vtkImagePlaneWidgets are much worse with the smaller volume w.r.t. with the larger volume?</div><div><br></div><div>Thanks for any hints you will give.</div>

<div><br></div><div>Best regards,</div><div><br></div><div>Marco</div><div><br></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>