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.

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: