[vtkusers] Ray-Casting in VTK and parallel processing

BBerco bebe0705 at colorado.edu
Thu May 24 22:44:33 EDT 2018


I am using a vtkModifiedBSPTree to ray-trace a vtkPolydata. I gave a shot to
using *#pragma omp parallel for*, but this causes a segfault from within the
vtkModifiedBSPTree.

I think this is no else but the behavior ilustrated in this post
<http://vtk.1045678.n5.nabble.com/Deep-copy-of-vtk-Object-vtkModifiedBSPTree-tp5735254p5735309.html> 
.

As of today, it does not seem like the vtkAbstractCellLocator class is
thread-safe. So I was wondering what approach you would recommend for
parallel ray-tracing using either multicore CPUs or GPUs.





--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list