# Any python GPU computing api compatible with VTK objects?

**URL:** https://discourse.vtk.org/t/any-python-gpu-computing-api-compatible-with-vtk-objects/1322
**Category:** Support
**Created:** [July 11, 2019, 3:12pm UTC](https://discourse.vtk.org/t/any-python-gpu-computing-api-compatible-with-vtk-objects/1322 "2019-07-11T15:12:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![szx0112](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/edb3f5/32.png) [@szx0112](https://discourse.vtk.org/u/szx0112)
#### Post date: [July 11, 2019, 3:12pm UTC](https://discourse.vtk.org/t/any-python-gpu-computing-api-compatible-with-vtk-objects/1322/1 "2019-07-11T15:12:53Z")

</div>

For example, I have a dense point cloud (100,000 ~ 1000,000 pts), I want to check the intersection with a single outside point. I use the obbTree.IntersectWithLine to loop through all the point in the point cloud while it is too slow…

---

<div class="post-metadata">

### Author: ![pieper](https://discourse.vtk.org/user_avatar/discourse.vtk.org/pieper/32/17_2.png) [@pieper](https://discourse.vtk.org/u/pieper)
#### Post date: [July 11, 2019, 3:17pm UTC](https://discourse.vtk.org/t/any-python-gpu-computing-api-compatible-with-vtk-objects/1322/2 "2019-07-11T15:17:48Z")

</div>

You can have a look at this discussion and some of the recent work here:

> [@Interest in GPU image processing pipeline](https://discourse.vtk.org/t/interest-in-gpu-image-processing-pipeline/535):
>
> Hi all, We have several 3D Slicer related projects which require the use of fast multi-pass GPU-based algorithms. vtkOpenGLImageAlgorithmHelper can be used for this, but it requires that the textures are read back into memory as between each pass. Recently I’ve been implementing several VTK filters to upload vtkImageData to GPU, run any number of GLSL shaders on the textures (as vtkGPUImageData), and then download them back into a vtkImageData. You can find the current implementation here: [ht…](https://github.com/Sunderlandkyl/VTK/tree/vtkGPUImageFilter)

> **[NA-MIC Project Weeks](https://projectweek.na-mic.org/PW31_2019_Boston/Projects/GLSLShaders/)**
>
> Website for NA-MIC Project Weeks
