home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sgi!fido!holodeck.csd.sgi.com!aschaffe
- From: aschaffe@holodeck.csd.sgi.com (Allan Schaffer)
- Newsgroups: comp.sys.sgi.graphics
- Subject: Re: Xor line drawing
- Date: 15 Dec 1992 21:08:46 GMT
- Organization: Silicon Graphics, Inc., Mountain View, CA
- Lines: 26
- Message-ID: <1glhguINNbes@fido.asd.sgi.com>
- References: <BzB14n.5xJ@undergrad.math.waterloo.edu>
- NNTP-Posting-Host: holodeck.csd.sgi.com
-
- bobbyc@surya.UWaterloo.CA (Bobby Chawla) said..
- >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 :-(.
-
- check the manpage for "logicop(3G)"
-
- Something like this should work:
-
- logicop (LO_XOR);
- bgnline();
- v3f(..);
- v3f(..);
- endline();
- logicop (LO_SRC) /* back to default */
-
- Allan
- --
- Allan Schaffer
- aschaffe@sgi.com
- aschaffe@netcom.com
-
-