<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Courier New" size=2>Hi everybody</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>I am having a problem displaying an image. 
I want to read the image an create a 3D image from it.&nbsp; The&nbsp;script is 
OK&nbsp;and the display window appears but there is no rendering in the window, 
the window is just empty. Can someone please help me ?</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>thanks for your help</FONT></DIV>
<DIV><FONT face="Courier New" size=2>thomas</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>here is my script :</FONT></DIV>
<DIV><FONT size=2><FONT face=Arial></FONT></FONT>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>package require vtklocal</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>vtkTIFFReader r1<BR>r1 SetFileName 
"tazc.tif"</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>vtkImageDataGeometryFilter itop<BR>itop 
SetInput [r1 GetOutput]</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>vtkWarpScalar warp<BR>&nbsp; warp SetInput 
[itop GetOutput]<BR>&nbsp; warp SetScaleFactor 1</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>vtkWindowLevelLookupTable 
look</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>vtkPolyDataMapper m<BR>m SetInput [warp 
GetPolyDataOutput]<BR>m SetScalarRange 0 2000<BR>m 
ImmediateModeRenderingOff<BR>m SetLookupTable look</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>vtkActor a <BR>a SetMapper 
m</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>vtkRenderer ren<BR>ren AddActor 
a</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>vtkRenderWindow renWin<BR>renWin AddRenderer 
ren<BR>renWin SetSize 800 600</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>vtkRenderWindowInteractor iren<BR>iren 
SetRenderWindow renWin</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>puts "rendering..."<BR>renWin Render<BR>puts 
"done"<BR>iren Start</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial></FONT>&nbsp;</DIV></FONT></BODY></HTML>