View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004480VTK(No Category)public2007-02-20 05:342016-08-12 09:54
ReporterValeria Gallo 
Assigned ToLisa Avila 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004480: Wrong stereo pairs
DescriptionWhen I enable the stereo mode (Anaglyph or CrystalEyes) on a volume rendered (with ray casting) image, I can see the stereo pairs only with positive parallax (I can see the volume “inside” the screen, I can see its depth), but it doesn't come out from the screen (negative parallax, the volume is “outside” the screen).

The strange thing is that with the Surface Rendering the stereo pairs are well generated. The problem is that on the focal plane there is not a "zero-displacement" between the stereo images. The left eye image is ever on the left of the screen and the right one is on the right (whilst the left eye image should be on the right before the focal plane, on the left beyond the focal plane; vice versa for the right eye image, like the stereo pairs generated with the Surface Rendering).

I have tried to modify vtkCamera.cxx to solve the problem, and I have observed that the stereo pairs are genereted from the correct perspective if I brutally modify the ComputePerspectiveTransform method, even if the displacement of the images is still wrong (there is not a zero displacement between the stereo pairs on the focal plane).

I attach the vtkCamera.cxx modified.

Regards,
Valeria
TagsNo tags attached.
Project
Type
Attached Filescxx file icon vtkCamera.cxx [^] (46,004 bytes) 1969-12-31 19:00

 Relationships

  Notes
(0006793)
Valeria Gallo (reporter)
2007-03-14 13:07

I have just verified that in the last version of VTK (downloaded from CVS) this problem was partially solved.
Now on the focal plane there is a "zero-displacement" between the stereo images, exactly as with the Surface Rendering mode.

However in my opinion there is still an open issue: to set up in run-time the parallax of the stereo pairs.
In my opinion there is the need of a method (e.g. parallax(double parallaxValue) ) to allow to put the volume arbitrary outside/inside the screen modifying the position of the stereo pairs.
At this time the only way I know to do it is to change the position of the focal point, but this solution in some cases is not suitable.

Regards
Valeria
(0010810)
Vale Gallo (reporter)
2008-03-14 13:50

As asked by David Cole on vtk-developers, I have sent a the code of a simple program.
In the CMakeLists.txt file attached, you have only to change the path for the 5.0.4 or 5.1.0 VTK version to see the differences in the stereo pairs generation.

I really hope the 5.2.0 version could be bug-fixed for the stereo visualization.
It would be really important.
(0036903)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-02-06 10:10 Jeff Baumes Assigned To Will Schroeder => Lisa Avila
2008-03-14 13:50 Vale Gallo Note Added: 0010810
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036903
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team