[vtkusers] strange effect with set stereo type to crystal eyes

fabio depascalis fabio.depascalis at gmail.com
Thu Dec 1 14:01:24 EST 2005


Hello All

I've written a simple code to try the stereo mode rendering;
but I'have noted a strange effect...the  crystal eyes stereo mode rendering
 run only after I resize o move the window
This effect is not present with other type of stereo rendering

Can someone explain to me this behavior

Thanks, Fabio

package require vtk
vtkRenderWindow renWin

renWin StereoCapableWindowOn
renWin SetStereoTypeToCrystalEyes

vtkConeSource conecone SetHeight 3.0
cone SetRadius 1.0
cone SetResolution 10

vtkPolyDataMapper coneMapper
coneMapper SetInput [cone GetOutput]

vtkActor coneActor
coneActor SetMapper coneMapper

vtkRenderer ren1
ren1 AddActor coneActor
ren1 SetBackground 0.1 0.2 0.4

vtkRenderWindowInteractor iren
iren SetRenderWindow renWin

renWin AddRenderer ren1
renWin SetSize 500 500
renWin StereoRenderOn

iren Initialize
iren Start
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20051201/0e333944/attachment.htm>


More information about the vtkusers mailing list