Re: VisAD with Jython, but 2D only

Hi Frank...

Glad to see you jumping on the Jython/VisAD bandwagon!  Or at least
kicking the tires...

The main issue with the Java3D is that the 'quick graphs' use the
generic "makeDisplay()" in the module.  Therein, it tries to
determine if 3D is available, but apparently in your configuration it
does not sense this correctly and so apparently tries to use the "2D in
3D" rendering.

I would recommend a quick modification to your to fix this - just
replace the entire makeDisplay(maps) method in with these 4 lines:

def makeDisplay(maps):
  __ok3d = 0
  disp =  makeDisplay2D(maps)
  return disp

This will force all your displays to use only the 2D rendering.  I'm
always looking for new ideas for 'quick-graph' type of things.

Let me know how things are going.


Tom Whittaker
University of Wisconsin-Madison
Space Science and Eng. Center
ph:  608.262.2759

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