<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=862313015-28062004></SPAN><FONT face=Arial><FONT 
color=#008000>Hi&nbsp;Lisa,</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#008000></FONT></FONT>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#008000>T<SPAN 
class=862313015-28062004>hanks for pointing out these two different functions 
which I did not notice. vtkVolumeRaycastMapper-&gt;SetSampleDistance(0.2) solved 
the problem. What is the range and&nbsp;default value for the sample distance? 
Thanks. Yang</SPAN></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#008000><SPAN 
class=862313015-28062004></SPAN></FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><BR></DIV>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma 
size=2>-----Original Message-----<BR><B>From:</B> Lisa Avila 
[mailto:lisa.avila@kitware.com] <BR><B>Sent:</B> Monday, June 28, 2004 10:21 
AM<BR><B>To:</B> Xianjin Yang<BR><B>Subject:</B> Re: [vtkusers] Volume Rendering 
with vtkVolumeRaycastMapper<BR><BR></FONT></DIV>Hi Yang,<BR><BR>Did you change 
the SampleDistance (not ImageSampleDistance)? <BR><BR>Lisa<BR><BR><BR>At 10:01 
AM 6/28/2004, you wrote:<BR><BR>
<BLOCKQUOTE class=cite cite="" type="cite"><FONT size=2></FONT> <BR><FONT 
  size=2>Hi vtkusers,</FONT> <BR><BR><FONT size=2>I did volume rendering with 
  vtkVolumeRaycastMapper and the volume image looks fine (see the left image in 
  the attachment). I set the color opacity to 0 to turn the color below orange 
  transparent and expected a smooth "isosurface". The problem is that the image 
  surface looked jagged like the image rendered with vtkVolumeTextureMapper2D 
  (the right image). I tried finer data grid, lights, and ImageSampleDistance, 
  but no use. Will someone please tell me if I missed anything? 
  <BR></FONT><BR><FONT size=2>Thanks a lot.</FONT> <BR><BR><FONT 
  size=2>Yang</FONT> <BR><BR><FONT face="Arial, Helvetica" 
  size=2>&lt;&lt;raycast.jpg&gt;&gt; 
  </FONT><BR>_______________________________________________<BR>This is the 
  private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ 
  at: &lt;<A href="http://public.kitware.com/cgi-bin/vtkfaq" 
  eudora="autourl">http://public.kitware.com/cgi-bin/vtkfaq</A>&gt;<BR>Follow 
  this link to subscribe/unsubscribe:<BR><A 
  href="http://www.vtk.org/mailman/listinfo/vtkusers" 
  eudora="autourl">http://www.vtk.org/mailman/listinfo/vtkusers</A></BLOCKQUOTE></BODY></HTML>