Newsgroups: comp.windows.news
Path: utzoo!utgpu!watserv1!watcgl!watcgl!bmacinty
From: bmacinty@mud.uwaterloo.ca (Blair MacIntyre)
Subject: Re: Comparing and contrasting NeWS and X
In-Reply-To: uad1077@dircon.co.uk's message of 23 Jun 91 13: 37:07 GMT
Message-ID: <1991Jun24.145627.7638@watcgl.waterloo.edu>
Sender: news@watcgl.waterloo.edu (USENET News System)
Organization: University of Waterloo
References: <1991Jun23.133707.3366@dircon.co.uk>
Date: Mon, 24 Jun 1991 14:56:27 GMT
Lines: 33

>>>>> On 23 Jun 91 13:37:07 GMT,
>>>>> In message <1991Jun23.133707.3366@dircon.co.uk>,
>>>>> uad1077@dircon.co.uk (Ian Kemmish) wrote:

Ian> Both of them consciously ruled fairly large classes of activity out
Ian> of their graphics libraries.  In the case of NeWS, as Jim Gettys
Ian> points out, this rules out certain imaging applications, as well as
Ian> ECAD and other things that like bitplanes.  

I don't understand this.  If I create a Dynamic Colormap in NeWS,
I can allocate colormapsegments from it in such a way as to give me the
ability to play with bitplanes.

What are you guys talking about?  What am I missing?

After all, the simple little Fader demo uses bitplane animation.

To steal a bit from the header of the fader demo:

%
% Fader uses colormap double buffering to get its results.  4 pixels
% are allocated by asking for 1 cell and 2 planes.  combining this one 
% cell with the 4 possible plane mask combinations gives the 4 pixels
% used.  the base cell with no planes ORd in is used as the background
% for the window.  the cell with either plane turned on gives the two
% foreground colors.  the cell with both planes turned on is the
% pixel value of the combined foregrounds.
%

--
Blair MacIntyre, Computer Graphics Lab
Dept. of Computer Science, University of Waterloo, Waterloo, ON, Canada, N2L3G1
{bmacintyre@{watcgl|violet|watdragon}}.{waterloo.edu|uwaterloo.ca}
