[vtk-developers] Problem with ATI X1600 and large textures

nikolaus heger nikolaus.heger at gmail.com
Sun Jun 18 04:58:15 EDT 2006


[I already posted this on vtk-users, please ignore if you are on both lists,
thanks!]

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.

The current theory is that this is a hardware limit. I am going to try and
contact ATI as well.

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://public.kitware.com/pipermail/vtk-developers/attachments/20060618/7464d1bf/attachment.html>


More information about the vtk-developers mailing list