NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

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


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: