-
pieper authored
Adds two classes to allow GPU programming. vtkOpenGLTextureImage allows reading/writing of vtkImageData to 3D textures on GPU. vtkOpenGLShaderComputation allows arbitrary shader programs to read from and write to textures. Together these support iterative algorithms where the data all stays on the GPU for efficient computation either with or without rendering the intermediate results. This code was originally developed in this repository where there are example uses: https://github.com/pieper/CommonGL Integration into the slicer core was originally done on this branch: https://github.com/pieper/Slicer/tree/add-commongl Thanks @Sunderlandkyl for help testing and debugging! From: Steve Pieper <pieper@isomics.com> git-svn-id: http://svn.slicer.org/Slicer4/trunk@27463 3bd1e089-480b-0410-8dfb-8563597acbee
16a4878d