[vtkusers] vtk44 ATI X1600 problems with textures over 2000 pixels

nikolaus heger nikolaus.heger at gmail.com
Wed Jun 7 21:20:36 EDT 2006


Hi,

I have a problem where textures over 2000 pixels show up as white rectangles
on my computer.

It seems to be isolated to ATI cards - I have an X1600 with 256M / 512M RAM.

Does anyone know if this affects all ATI cards, or can this be fixed with a
new driver or with vtk 5.0?

Demo code in [1] shows the problem.

Thanks for any help or info!

Nik

[1]

import Tkinter
from Tkinter import *
import math, os, sys
from vtkpython import *
import vtk

from vtk.tk.vtkLoadPythonTkWidgets import vtkLoadPythonTkWidgets

filename = "demo_lg.jpg" # 2300 pixel high image - displays as white
rectangle on ATI cards.

#filename = "demo.jpg" # 2000 pixel high image - TOTALLY FINE


reader = vtk.vtkImageReader2Factory.CreateImageReader2(filename)
reader.SetFileName(filename)

# set the window/level
viewer = vtkImageViewer2()
viewer.SetInput(reader.GetOutput())
viewer.SetColorWindow(100.0)
viewer.SetColorLevel(127.5)

viewer.Render()

#make interface
viewer.Render()

windowToimage = vtkWindowToImageFilter()
windowToimage.SetInput(viewer.GetRenderWindow())

frame = Frame()
frame.mainloop()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060608/de7126bd/attachment.htm>


More information about the vtkusers mailing list