[A83] Re: Shading


[Prev][Next][Index][Thread]

[A83] Re: Shading





>You mean grayscale, right?  Thats (at least in 4-layer grayscale) where you
>have 4 shades of pixels: white, light gray, dark gray and black.  This is
>achievable by switching between to buffers, each one containing a picture.
>You display the first buffer for 1/3 of the time, and the second buffer for
>2/3 of the time.  So if a pixel is off in both buffers, the pixel on the
>screen would be white.  If the pixel is on in the first one but off in the
>second one, the pixel on the screen would be light gray (Since it is on for
>1/3 of the time but off for 2/3 of the time, you get the effect of it being
>1/3 the darkness of a black pixel).  If a pixel is off in the first buffer
>but on in the second, it would be dark gray.  If a pixel is on in both
>buffers, it would be black.
>Thats my explanation, somebody can probably do better =)


That's pretty concise, except for this:  You need huge amounts of memory to 
store extra screens.  If you worte the plotscreen fro one, you still need 
another, most likely saferam1, and then a rountine to plot saferam1 to the 
screen, as ionfastcopy only does plotscreen (I think . . .) 






References: