[vtkusers] vtkFixedPointVolumeRayCastMapper initialization performance improvement

Lasso, Andras (GE Healthcare) Andras.Lasso at med.ge.com
Wed Aug 1 08:44:23 EDT 2007


Hi all,
 
I've implemented multi-threaded gradient computation in
vtkFixedPointVolumeRayCastMapper. It can make the volume rendering
initialization step 30-40% faster on a dual-core system (and probably
even faster on a system with more CPUs), if shading is used.
 
Just a few changes were needed, as the
vtkFixedPointVolumeRayCastMapperComputeGradients method was already
prepared for multi-threaded computation. I attach the updated files
(based on VTK-5.0.3 release).
 
Would it be possible to integrate this performance improvement into the
next VTK release?
 
Thanks in advance.
Andras


________________________________

From: vtkusers-bounces+andras.lasso=med.ge.com at vtk.org
[mailto:vtkusers-bounces+andras.lasso=med.ge.com at vtk.org] On Behalf Of
Lasso, Andras (GE Healthcare)
Sent: Tuesday, July 31, 2007 4:46 PM
To: vtkusers at vtk.org
Subject: [vtkusers] Gradients computation speed-up
invtkFixedPointVolumeRayCastMapper by multi-threading


Hi all,
 
I use vtkFixedPointVolumeRayCastMapper for volume rendering. The image
quality is perfect, but I have to wait about 30 sec for the first
rendered image, mainly due gradient computation.
 
Currently (VTK-5.0.3) the gradient computation is implemented in a
single thread. I would expect that on multi-core/CPU systems the
gradient computation could be made 2-4 times faster with a
multi-threaded implementation. Looking at the code I've found that the
algorithm in vtkFixedPointVolumeRayCastMapperComputeGradients is already
prepared for a multi-threaded implementation.
 
Does anyone know why the multi-threaded gradient computation just
prepared, and finally not implemented for
vtkFixedPointVolumeRayCastMapper?
 
Andras
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070801/cd5cf11c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkFixedPointVolumeRayCastMapper.zip
Type: application/x-zip-compressed
Size: 27718 bytes
Desc: vtkFixedPointVolumeRayCastMapper.zip
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070801/cd5cf11c/attachment.bin>


More information about the vtkusers mailing list