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.

Porblems with off screen rendering of contour lines....

Hi all, 

I am trying to print out an DisplayImplJ3D image by
doing the following steps:
1. I create an new off screen DisplayImplJ3D
"offscreenDisplay"
2. I clone the ScalarMaps from the original visible
display and add it to the "offscreenDisplay"
3. I add the DataReferenceImpl from the original
visible display to the offscreenDisplay.

Everything seems to work. Except when I do the next
step of actually printing out the image. The .jpg file
is empty!

This only happens with contour lines. I am able to
print surfaces but not contours. 

Can anyone help? I am at a complete loss. 

There are times that I seem to be hanging on the
statement :
java.awt.image.BufferedImage buffImage
offscreenDisplay.getImage(true);
I don't know why that happens. 

I will settle for being able to see the contours in my
output files from the offscreenDisplay. 

Thanks
Surekha




                
__________________________________________ 
Yahoo! DSL ? Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


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