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.

Re: Change black background of Java 3D graphics in VisAD

Hi Charlie,

> I use Java 3D in VisAD to generate some 3D graphics, which is really
> nice. But one problem is that the graphics have black background and
> white coordinate frame. Is there a way to change these?

Use the setBackgroundColor() and setForegroundColor()
methods of DisplayRenderer, which you can get using the
getDisplayRenderer() method of your DisplayImpl.

Good luck,
Bill


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