Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

AW: Java2D versus Java3D

  • To: "'m huang'" <qomo@xxxxxxxxx>
  • Subject: AW: Java2D versus Java3D
  • From: Mathias Stümpert <atzes@xxxxxx>
  • Date: Fri, 6 Dec 2002 01:11:27 +0100
Hi Maohai, 

> First a very basic question, is it possible to use Java3D
> but not have the effect of 3D?

Try this:

DisplayRenderer renderer = new TwoDDisplayRendererJ3D();
Display display = new DisplayImplJ3D("2D-Display", renderer);

This will give you a J3D-Display with a J2D-Display behavior.

Cheers, Mathias


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