<div>I have got the solution to the problem!</div>
<div>&nbsp;</div>
<div>Allow8BitBMPOn<br><br>&nbsp;</div>
<div><span class="gmail_quote">2006/4/21, lee ricky &lt;<a href="mailto:rickyhust@gmail.com">rickyhust@gmail.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="DIRECTION: ltr">
<div style="DIRECTION: ltr">
<div>Hello Everyone!</div>
<div>&nbsp;</div>
<div>I have tested the Marching cubes and Raycasting algorithms with&nbsp;series BMP files:</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ring1.bmp ring2.bmp....ring9.bmp&nbsp;&nbsp;&nbsp; (8 bit ,428*354)</div>
<div>the first picture is a white ring&nbsp; in the center of the picture with black background</div>
<div>( &quot;ring1.bmp&quot;, the other 8 pictures&nbsp;are the same to the&nbsp;first one)</div>
<div>&nbsp;</div>
<div>In the Attachment:</div>
<div>&quot;vtkContourFilter_result.JPG&quot; is the result of surface rendering&nbsp;with vtkContourFilter</div>
<div>&quot;vtkMarchingCubes_result.JPG&quot;is the result of surface rendering with vtkMarchingCubes</div>
<div>&quot;raycasting_result.JPG&quot; is the result of volume rendering with vtkVolumeRayCastCompositeFunction</div>
<div>&nbsp;</div>
<div>the result of surface rendering with vtkContourFilter is right, but the others is not the result It should be.</div>
<div>&nbsp;</div>
<div>I uses the vtkBMPReader to read the BMP files,</div>
<div>It seems that vtk supports BMP file&nbsp;format not very good?</div>
<div>Looking forward to your reply!</div>
<div>&nbsp;</div>
<div>Thanks in advance!</div></div></div>
<div style="DIRECTION: ltr"><span class="sg">
<div style="DIRECTION: ltr"><span>
<div>&nbsp;</div>
<div>ricky</div></span></div></span></div><br clear="all"></blockquote></div><br>