<br><br>Sir,<br>Thaks for your reply.Actually i am using volume rendering.But while rendering same data from the file using vtkimagereader i didn't have to setup opacity value and it visualized data using contourfilter and raycastmapper both.Is there any specific method for visualizing data stored in java char array and then using vtkimagedata.<br>
Here i must tell you what i am exactly doing.I have a data of dimension 1760x1024x1878 ,.raw 3d file, structured data.I want to read a little portion of it in an array(java) and render it.Somebody suggested me to use vtkimagedata to do it.I did it but inspite of giving proper result it is giving a red cuboid of given dimension.If you wish i can give you the code.<br>
<br>With Regards,<br>Nikhil Kumar<br>rit2007033<br>b.tech IT 6th sem<br>IIIT Allahabad<br>contact@9793905858<br>email: <a href="mailto:rit2007033@iiita.ac.in">rit2007033@iiita.ac.in</a><br> <a href="mailto:niksinghania@gmail.com">niksinghania@gmail.com</a><br>
<a href="http://profile.iiita.ac.in/RIT2007033/">http://profile.iiita.ac.in/RIT2007033/</a><br><br>