<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE type=text/css>UNKNOWN {
        cke_protected:
}
UNKNOWN {
        C:
}
</STYLE>
<META name=GENERATOR content="MSHTML 9.00.8112.16476"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=宋体><SPAN
class=761541809-15052013>1, Different data has different scale value. And you
should set different scale value for different opacty value.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=宋体><SPAN
class=761541809-15052013>2, In my understanding, ray casting could deal with all
kinds of data no matter they are unsigned char or unsigned
short.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=宋体><SPAN
class=761541809-15052013>If you have any problem, you could share some of your
test data, if it is not confidential.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=宋体><SPAN
class=761541809-15052013></SPAN></FONT> </DIV><FONT color=#0000ff size=2
face=宋体></FONT><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=zh-cn class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> vtkusers-bounces@vtk.org
[mailto:vtkusers-bounces@vtk.org] <B>On Behalf Of </B>李菲菲<BR><B>Sent:</B>
Wednesday, May 15, 2013 4:22 PM<BR><B>To:</B>
vtkusers@vtk.org<BR><B>Subject:</B> [vtkusers] Questions to render seismic
data by volume render method<BR></FONT><BR></DIV>
<DIV></DIV>
<P style="MARGIN-BOTTOM: 0cm"><SPAN style="FONT-SIZE: 16px"><FONT
face="Liberation Serif, serif"><SPAN style="FONT-WEIGHT: normal">I'm trying to
render a 3D seismic data by volumetric ray casting. The data is stored in
binary, and the data type is float. I read in the data with the class of
vtkImageData2 and the dimension of the data is 100x100x201. There are two
questions: </SPAN></FONT></SPAN></P>
<P style="MARGIN-BOTTOM: 0cm"><SPAN style="FONT-SIZE: 16px"><FONT
face="Liberation Serif, serif"><SPAN style="FONT-WEIGHT: normal">1 How to
choose the points to set opacity and color ? </SPAN></FONT></SPAN></P>
<P style="MARGIN-BOTTOM: 0cm"><SPAN style="FONT-SIZE: 16px"><FONT
face="Liberation Serif, serif"><SPAN style="FONT-WEIGHT: normal">2 As
vtkVolumeRayCastMapper can only deal with unsigned char or unsigned short ,
but the data read in is float. How to deal with this
problem?</SPAN></FONT></SPAN></P>
<P style="MARGIN-BOTTOM: 0cm"><FONT color=#0000ff size=2
face=宋体></FONT> </P>
<P style="MARGIN-BOTTOM: 0cm"><SPAN style="FONT-SIZE: 16px"><FONT
face="Liberation Serif, serif"><SPAN style="FONT-WEIGHT: normal">Many
thanks,</SPAN></FONT></SPAN></P>
<P style="MARGIN-BOTTOM: 0cm"><SPAN style="FONT-SIZE: 16px"><FONT
face="Liberation Serif, serif"><SPAN style="FONT-WEIGHT: normal">Feifei Li
@nscc-tj</SPAN></FONT></SPAN></P>
<P style="MARGIN-BOTTOM: 0cm"><FONT color=#0000ff size=2 face=宋体></FONT><FONT
color=#0000ff size=2 face=宋体></FONT> </P></BLOCKQUOTE></BODY></HTML>