[comp.sys.mac] Drawing In Color

jcocon%hazel.cs.clemson.edu@hubcap.clemson.edu (James C O'Connor III, 2846) (05/20/89)

I wrote a program which does raytraces and displays the picture on the screen
by directly manipulating the bits of the SE's monochrome screen.  Now I would
like to show the pictures on a Mac II.  Even in monochrome screen the bit
manipulations don't work properly, so I moved to quickdraw.  Using the moveto
and lineto functions, screen drawing now takes minutes rather than seconds.
Does anyone out there have info on how to draw in gray tones with quickdraw,
then how to do it directly?  All of my documentation on quickdraw is pre-Mac II

Thanks for the help.
Jim

timk@zaphod.ncsa.uiuc.edu (05/21/89)

/* Written  9:29 pm  May 19, 1989 by jcocon%hazel.cs.@hubcap.clemson.edu in zaphod:comp.sys.mac */
/* ---------- "Drawing In Color" ---------- */
I wrote a program which does raytraces and displays the picture on the screen
by directly manipulating the bits of the SE's monochrome screen.  Now I would
like to show the pictures on a Mac II.  Even in monochrome screen the bit
manipulations don't work properly, so I moved to quickdraw.  Using the moveto
and lineto functions, screen drawing now takes minutes rather than seconds.
Does anyone out there have info on how to draw in gray tones with quickdraw,
then how to do it directly?  All of my documentation on quickdraw is pre-Mac II

Thanks for the help.
Jim
/* End of text from zaphod:comp.sys.mac */


We will be soon releasing the source code to NCSA DataScope where I have
worked out how to do a "virtual" image buffer.  There is also an example
disk from APDA with similar code on it.

Tim Krauskopf
NCSA