<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Bookman Old Style">Hi,</FONT></DIV>
<DIV><FONT face="Bookman Old Style"></FONT>&nbsp;</DIV>
<DIV><FONT face="Bookman Old Style">The reason maybe that you use a wrong data 
type.</FONT></DIV>
<DIV><FONT face="Bookman Old Style"></FONT>&nbsp;</DIV>
<DIV><FONT face="Bookman Old Style">Call reader-&gt;Update() then use 
reader-&gt;GetOutput()-&gt;GetScalarType() to get the correct data type. Then, 
assuming short*,</FONT></DIV>
<DIV><FONT face="Bookman Old Style">short *f = 
reader-&gt;GetOutput()-&gt;GetScalarPointer();</FONT></DIV>
<DIV><FONT face="Bookman Old Style">Then, in the loop use f[j] +=100 instead of 
f[j] += 10 you can see a notable change.</FONT></DIV>
<DIV><FONT face="Bookman Old Style"></FONT>&nbsp;</DIV>
<DIV><FONT face="Bookman Old Style">for(int k=0;k&lt;360;k++){<BR><BR>&nbsp; 
renWin-&gt;Render();<BR><BR>&nbsp; ren1-&gt;GetActiveCamera()-&gt;Azimuth( 1 
);<BR>&nbsp;&nbsp;&nbsp;&nbsp; for(int 
j=0;j&lt;dims[0]*dims[1]*dims[2];j++){<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
f[j]+=100;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
}<BR><BR><BR><BR>}<BR><BR>Cheers,<BR><BR>Yixun 
Liu<BR></DIV></FONT></BODY></HTML>