home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.graphics
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!benoist
- From: benoist@netcom.com (Tom Benoist)
- Subject: Re: Xor line drawing
- Message-ID: <1992Dec15.215717.974@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <BzB14n.5xJ@undergrad.math.waterloo.edu>
- Date: Tue, 15 Dec 1992 21:57:17 GMT
- Lines: 41
-
- In article <BzB14n.5xJ@undergrad.math.waterloo.edu> bobbyc@surya.UWaterloo.CA
- (Bobby Chawla) writes:
- > Could someone tell me how to draw a line on the SGI Indigos in
- > Exclusive-Or mode?
- >
- > I would like to draw lines, and if the user does not require them,
- > then be able to erase them efficiently.
- >
- > I was looking at the documentation and could not find it anywhere :-(.
- >
-
- Try:
- logicop(LO_XOR);
-
- As is usually the case with useful functions like logicop and pixmode
- some machines just dont support it. The Indigo is okay though.
-
-
- [From logicop(3G)]
-
- This routine does not function on IRIS-4D B and G models, nor does it
- function on early serial numbers of the Personal Iris. Use gversion to
- determine which type you have.
-
- Some IRIS-4D GT and GTX models do support this routine. Use getgdesc to
- determine if logicop is supported.
-
- BUGS
- Personal Iris models do not support logical operations in combination
- with non-solid patterns nor with zoomed pixel writes or copies. When
- either of these features is selected, the default logical operation,
- LO_SRC, will be used regardless of the value passed to logicop.
-
-
-
- Question:
- Once OpenGL is implemented will more of these functions be supported
- for ALL machines, or are the old GT's just gonna have to use old software?
-
- -Tom Benoist
- benoist@netcom.com
-