Re: Java2D versus Java3D

Maohai:

First a very basic question, is it possible to use Java3D
but not have the effect of 3D?
If you look inside the little bit of logic in subs.py in the "makeDisplay()" routine, you'll see how it creates this effect -- basically when you make the display this way (as opposed to using makeDisplay2D() or makeDisplay3D(), it looks at the mappings and if it does not find one for the z axis, -and- if 3D is available, then it uses these two lines:
  tdr = TwoDDisplayRendererJ3D()
  disp = DisplayImplJ3D("Jython3D",tdr)
to create the 2D display using the 3D renderers.

tom



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