<div>Hi,</div>
<div> </div>
<div>I have a problem where textures over 2000 pixels show up as white rectangles on my computer. </div>
<div> </div>
<div>It seems to be isolated to ATI cards - I have an X1600 with 256M / 512M RAM.</div>
<div> </div>
<div>Does anyone know if this affects all ATI cards, or can this be fixed with a new driver or with vtk 5.0? </div>
<div> </div>
<div>Demo code in [1] shows the problem.</div>
<div> </div>
<div>Thanks for any help or info! </div>
<div> </div>
<div>Nik</div>
<div>
<p>[1]</p>
<p>import Tkinter<br>from Tkinter import *<br>import math, os, sys<br>from vtkpython import *<br>import vtk</p>
<p>from vtk.tk.vtkLoadPythonTkWidgets import vtkLoadPythonTkWidgets</p>
<p>filename = "demo_lg.jpg" # 2300 pixel high image - displays as white rectangle on ATI cards.</p>
<p>#filename = "demo.jpg" # 2000 pixel high image - TOTALLY FINE</p>
<p><br>reader = vtk.vtkImageReader2Factory.CreateImageReader2(filename) <br>reader.SetFileName(filename)</p>
<p># set the window/level <br>viewer = vtkImageViewer2()<br>viewer.SetInput(reader.GetOutput())<br>viewer.SetColorWindow(100.0)<br>viewer.SetColorLevel(127.5)</p>
<p>viewer.Render()</p>
<p>#make interface<br>viewer.Render()</p>
<p>windowToimage = vtkWindowToImageFilter()<br>windowToimage.SetInput(viewer.GetRenderWindow())</p>
<p>frame = Frame()<br>frame.mainloop()</p></div>
<div> </div>