<P>Dear all , I have test the shader in vtk's new version. I use vtkActor's LoadMaterial function to load xml file and glsl files to shade the actor. but I don't know how to use shader when I reconstruct DICOM images with raycastion algrithm, the vtkVolumeProperty class do not have the method of LoadMaterial. How can I use shader in&nbsp;volume reconstruction?</P>
<P>&nbsp;</P>
<P>thanks!&nbsp;<BR><BR></P>
<DIV><BR>--<BR>-- <BR><BR>&nbsp;&nbsp;&nbsp;致 <BR>礼! <BR><BR>Wang&nbsp;Zhaowei <BR>Collage&nbsp;of&nbsp;Computer&nbsp;Science&nbsp;and&nbsp;Engineering,&nbsp;University&nbsp;of&nbsp;Computer&nbsp;Science&nbsp;and&nbsp;Technology&nbsp;of&nbsp;China. <BR>Address:&nbsp;NO.4,&nbsp;Section&nbsp;2,&nbsp;North&nbsp;Jianshe&nbsp;Road,&nbsp;Chengdu&nbsp;P.R.China&nbsp; <BR>Post&nbsp;Code:&nbsp;610054&nbsp; <BR>E-mail:&nbsp;kidwei@126.com <BR>HomePage:&nbsp;http://kidwei.goofar.com</DIV><br><!-- footer --><br><hr/>
<a href="http://www.yeah.net">网易邮箱10周年,技术见证辉煌</a>