MantisBT - VTKEdge
View Issue Details
0008548VTKEdgepublic2009-02-17 03:002010-08-12 12:19
Gianluca 
François Bertel 
normalmajoralways
resolvedfixed 
0008548: clipping planes with vtkKWEGPUVolumeRayCastMapper doesn't work properly
As you can see from this video:

http://www.youtube.com/watch?v=NjUTTA86yTM [^]

the clipping algorithm produce bad results (i.e. missing or backfaced triangles). This apply to every volume I have tried.
I use latest VTK (5.3.0) and VTK-Edge version (from CVS). My system configuration:
 
- Windows XP SP3;
- Visual Studio 2005 SP1;
- CPU: QuadCore Intel Core 2 Extreme QX9770 (3,4 Ghz) - FSB 1600 Mhz;
- GPU: 2 x nVidia Geforce GTX 280 (2 x 1GB) (connected in SLI);
- RAM: 4 GB DDR3 (1333 Mhz);
- MB: Asus Striker II Extreme (nVidia nForce 790i Ultra SLI);
No tags attached.
related to 0008549resolved François Bertel Volume rendering deformation 
Issue History
2009-02-17 03:00GianlucaNew Issue
2010-03-01 19:54François BertelStatusnew => assigned
2010-03-01 19:54François BertelAssigned To => François Bertel
2010-03-01 19:55François BertelNote Added: 0019673
2010-03-01 19:55François BertelStatusassigned => feedback
2010-03-01 19:56François BertelRelationship addedrelated to 0008549
2010-03-17 03:20GianlucaNote Added: 0019919
2010-08-12 09:38GianlucaNote Added: 0021732
2010-08-12 12:19François BertelNote Added: 0021735
2010-08-12 12:19François BertelNote Added: 0021736
2010-08-12 12:19François BertelStatusfeedback => resolved
2010-08-12 12:19François BertelResolutionopen => fixed

Notes
(0019673)
François Bertel   
2010-03-01 19:55   
Thanks to Julien Finet, this bug is probably fixed in VTK/VolumeRendering/vtkOpenGLGPUVolumeRayCastMapper.cxx Revision: 1.8
(0019919)
Gianluca   
2010-03-17 03:20   
Hi, I have tested the new version, but all the bugs still occurs (including the related 0008549).
(0021732)
Gianluca   
2010-08-12 09:38   
I found and fix the bug, but I'm not sure how to signal this correctly. I posted the solution on the user and developer list.
(0021735)
François Bertel   
2010-08-12 12:19   
For reference, this is the first fix in this email:
http://www.vtk.org/pipermail/vtkusers/2010-August/110968.html [^]
(0021736)
François Bertel   
2010-08-12 12:19   
The patch has been applied and a little bit changed to be robust when the box is fully clipped and has no point at all:

http://vtk.org/gitweb?p=VTK.git;a=commit;h=6afda0daf4a0fbb2527e6024d995d8e74ca7f222 [^]

Commit 6afda0daf4a0fbb2527e6024d995d8e74ca7f222