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

[no subject]

Hello, 

I am trying to add transparency to my program. It's currently set up like this: 

(index)->(x, y, z, value) 

and I have Maps added as such 

display.addMap( new ScalarMap( x, Display.XAxis ) ); 
display.addMap( new ScalarMap( y, Display.YAxis ) ); 
display.addMap( new ScalarMap( z, Display.ZAxis ) ); 
display.addMap( new ScalarMap( value, Display.RGB ) ); 
display.addMap( new ScalarMap( value, Display.Alpha ) ); 

But it does not seem to be working. I am currently running Java3D OpenGl 
version. 

The value data set ranges from 0 to about 3,000 with the majority of the values 
being near 1. I would like it so that the lower the value, the more transparent 
it is so that those near the higher end stands out and is not hidden by the 
"cloud" of lower level particles. 

Any ideas? 

Thanks everyone, 
-dave 


 
 
  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