I recently made some improvements to the graphics rendering of the spheres
in Jmol.

The small spheres looked pretty good, but the big spheres suffered from
'banding'. They are really only visible when you zoom in close, but it
always bothered me a little bit :-)

I posted a request to a 'game developers graphics' forum and got a few
responses. One response was right on target and gave me some clues as to
how to solve the problem.

The solution was to use a random number generator to help dither the
colors. I then used the random number generator again to generate a little
more 'noise' in the shading.

The results are quite interesting. Take a look at the 4 images in:
  http://jmol.sf.net/banding



Miguel





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to