problem solved.

org.jmol.g3d.Colix.calcArgbsGreyscale():

      for (int i = argbsGreyscale.length; --i >= 
Graphics3D.SPECIAL_COLIX_MAX; )
        argbsGreyscale[i] = Graphics3D.calcGreyscaleRgbFromRgb(argbs[i]);

was

      for (int i = argbsGreyscale.length; --i >= 0; )
        argbsGreyscale[i] = Graphics3D.calcGreyscaleRgbFromRgb(argbs[i]);


thus allowing colix=0 (no color) to be mapped to 0xFF000000 (black) 
under greyscale conditions.

Tricky!

Bob


Bob Hanson wrote:

> Anybody know what is going on with backgrounds of text (such as the 
> frank) when stereo redcyan is employed with a white background? Why 
> would they be black when the background is white? 
> Graphics3D.Text3D.plotunclipped() is working properly, I think.
>
> Bob
>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to