[vtkusers] the detail of GPU based ray-casting

qlizhi qlizhi at gmail.com
Mon Jul 16 03:07:53 EDT 2012


 Hi, i was reading  the source code of VTK/Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx, and at line     4255:
                                  
  float fvalue[2];
  int ivalue=0;
  v->SetUniformi("dataSetTexture",1,&ivalue);

I  do not understand how it  set the dataSet available on texture  unit 0.   And, i am not sure the noise texture used for,  i know the the  theory of GPU based ray-casting . But when it comes to VTK, i find so much to learn. So i need your help! 




qlizhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120716/b36a5672/attachment.htm>


More information about the vtkusers mailing list