Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Stereo viewing in VisAD/Python

Hi Mike,

> I would like to enable stereo viewing displays in VisAD/Python. Is there a
> direct way to do that with Python commands? If not, what VisAD/Java
> commands can I add to the Python code to do this? I am building a display
> in one case  (using subs.makeDisplay). I would also like to be able to use
> stereo with the "plot" command if possible.

I don't think there's anything about stereo in the
visad.python package, so you'll have to do it by invoking
Java constructors and methods of VisAD from Python. For an
example see the setupServerDisplays() method of
visad/examples/TestStereo.java. But you can use
DisplayImplJ3D.JPANEL instead of DisplayImplJ3D.APPLETFRAME.

Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690