Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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 


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690