[vtkusers] Re: ray cast rendered stereo is LR reversed

Dr. Daniel James White PhD dan at chalkie.org.uk
Mon Jan 17 02:14:43 EST 2005


Hi All,

I added a bug report to the bug tracker,
I'm not sure if it is already fixed in CVS,

I am trying to use this feature very often, and it needs to be fixed,
as it is quite fundamental to visualisation of complex data.

cheers

Dan

On 15 Jan 2005, at 00:23, vtkusers-request at vtk.org wrote:

> Message: 4
> Date: Fri, 14 Jan 2005 17:23:08 -0500
> From: Marius S Giurgi <rendezvous at dreamxplosion.com>
> Subject: [vtkusers] Raycasting Stereo Reversed
> To: schwarz at evl.uic.edu
> Cc: vtkusers at vtk.org
> Message-ID: <DE5E0E7D-667A-11D9-A944-000A95D7CA24 at dreamxplosion.com>
> Content-Type: text/plain; charset="us-ascii"
>
>>> Hi,
>>>
>>> When I render polygonal data in a stereo enabled render window the
> stereo
>>> pairs appear fine. But, when I use raycasting to render a volume,
> the
>>> stereo pairs are reversed. Setting the EyeAngle to a negative value
>>> corrects this when using raycasting only, but when I attempt to
> render
>>> both polygonal data and a raycasted image in the same renderer, one
> of the
>>> two is always reversed.
>>>
>>> Can anyone lend any assistance?
>>>
>>> Thanks,
>>>
>>> Nicholas
>
>
> Hi Nicholas.
>
> I came across the same stereo issue as the one you had posted on the
> vtk list some time ago about the volume/polydata stereo render being
> reversed. I was wondering if you found out any solution in the
> meantime.
>
> I too tried to stereo render both volume and polydata and got the same
> result. (but instead of using a stereo hardware I created two render
> viewports for the left and right eye (for cross eyed viewing)).  It
> looks like the stereo volume pair renders are swapped. While the
> polydata looks fine in 3D stereo, the volume is swapped (therefore it
> looks reversed in cross eyed viewing). You can tell that by the
> misplacement of the volume in the following stereo image below. I don't
> know much about how the rendering is done in vtk, but it looks to me
> that the volume is rendered separately from the polydata (using the
> polydata to crop it) then later recomposing the volume and polydata
> rendering, but in the wrong order (left and right swapped). Btw, this
> cropping (see how the axes crop the volume) appear even in a single
> render window once you hit 3 (to toggle between stereo and normal
> mode).
>
> Any ideas how to solve this issue?
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: pastedGraphic3.jpg
> Type: image/jpeg
> Size: 34227 bytes
> Desc: not available
> Url :  
> http://public.kitware.com/pipermail/vtkusers/attachments/20050114/ 
> a2228b9e/pastedGraphic3.jpg
>
>
Dr. Daniel James White BSc. (Hons.) PhD
Bioimaging Coordinator
Nanoscience Centre and
Department of Biological and Environmental science
Division of Molecular Recognition
Ambiotica C242
PO Box  35
University of Jyväskylä
Jyväskylä FIN 40014
Finland
+358 14 260 4183 (work)
+358 468102840 (mobile)

http://www.chalkie.org.uk
dan at chalkie.org.uk
white at cc.jyu.fi




More information about the vtkusers mailing list