Wrong stereo pairs
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When 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