Re: Stereo 3D with Jython

Hi Paul,

I think you need to copy what you find in
visad/examples/TestStereo.java, especially in
its setupServerDisplays() method.

Good luck,
Bill

On Wed, 20 Aug 2003, Paul Kominsky wrote:

> Hello,
>
> I have a jython script/app that generates
> DisplayImplJ3D displays.  I would like to
> view these in stereo 3D, but have not been
> successful.  Stereo vision works with other
> apps.  Any suggestions would be appreciated.
>
> I'm using the standard windows visad installer,
> and have modified the jye.bat script so the
> last line starts:
> %JYTHON_PATH%\jre\bin\java.exe -Dj3d.stereo=PREFERRED
>
> I'm using the following in my jython script:
>
>   disp = DisplayImplJ3D("display1")
>   pbody
> disp.getDisplayRenderer().getView().getPhysicalBody()
>   pbody.setLeftEyePosition(  Point3d(-.0050,0.0,0.0) )
>   pbody.setRightEyePosition( Point3d(+.0050,0.0,0.0) )
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
>