Hi Yixun,<br><br>My code is exactly same as I posted in my previous message. The only changes I made were for setdirectoryname and vtkfixedpointvolumeraycastmapper. After that I was getting a rectangular box with only images on 2 sides. But now I have added the opacity term as in one of your previous messages and I can see the whole volume. It is working fine now. 
<br>You can try the code, it is there in one of my previous post.&nbsp; It will be difficult for me to send the dicom images, the dataset is just too big, but it should work on any dicom series.<br><br>Is there a way to color the volume and see different things in different colors in the rendered volume? If anyone knows how to do it, plz let me know.
<br><br>Thanks,<br>Ashish<br><br><div><span class="gmail_quote">On 9/14/06, <b class="gmail_sendername">Yixun Liu</b> &lt;<a href="mailto:yxliu@fudan.edu.cn">yxliu@fudan.edu.cn</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>





<div bgcolor="#ffffff">
<div><font face="Bookman Old Style">You can send you code and image to me. I 
will give a test.</font></div></div><div><span class="sg">
<div><font face="Bookman Old Style"></font>&nbsp;</div>
<div><font face="Bookman Old Style">Yixun</font></div>
</span></div><div><blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"></blockquote></div></div></blockquote></div><br>