[Edu-sig] Fw: Stereo 3D with Jython

Jason Cunliffe jason.cunliffe at verizon.net
Wed Aug 20 20:20:30 EDT 2003


Thought you might be interested in this..

----- Original Message ----- 
From: "Paul Kominsky" <pkominsky at yahoo.com>
To: <visad-list at ssec.wisc.edu>
Sent: Wednesday, August 20, 2003 4:40 PM
Subject: Stereo 3D with Jython


> 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
> 
> 



More information about the Edu-sig mailing list