home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / graphics / 23 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.8 KB  |  52 lines

  1. Newsgroups: comp.sys.sgi.graphics
  2. 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
  3. From: benoist@netcom.com (Tom Benoist)
  4. Subject: Re: Xor line drawing
  5. Message-ID: <1992Dec15.215717.974@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. References: <BzB14n.5xJ@undergrad.math.waterloo.edu>
  8. Date: Tue, 15 Dec 1992 21:57:17 GMT
  9. Lines: 41
  10.  
  11. In article <BzB14n.5xJ@undergrad.math.waterloo.edu> bobbyc@surya.UWaterloo.CA 
  12. (Bobby Chawla) writes:
  13. > Could someone tell me how to draw a line on the SGI Indigos in 
  14. > Exclusive-Or mode?  
  15. >
  16. > I would like to draw lines, and if the user does not require them,
  17. > then be able to erase them efficiently.
  18. >
  19. > I was looking at the documentation and could not find it anywhere :-(.
  20. >
  21.  
  22. Try:
  23. logicop(LO_XOR);
  24.  
  25. As is usually the case with useful functions like logicop and pixmode
  26. some machines just dont support it.  The Indigo is okay though.
  27.  
  28.  
  29. [From logicop(3G)]
  30.  
  31.      This routine does not function on IRIS-4D B and G models, nor does it
  32.      function on early serial numbers of the Personal Iris.  Use gversion to
  33.      determine which type you have.
  34.  
  35.      Some IRIS-4D GT and GTX models do support this routine.  Use getgdesc to
  36.      determine if logicop is supported.
  37.  
  38. BUGS
  39.      Personal Iris models do not support logical operations in combination
  40.      with non-solid patterns nor with zoomed pixel writes or copies.  When
  41.      either of these features is selected, the default logical operation,
  42.      LO_SRC, will be used regardless of the value passed to logicop.
  43.  
  44.  
  45.  
  46. Question:
  47. Once OpenGL is implemented will more of these functions be supported
  48. for ALL machines, or are the old GT's just gonna have to use old software?
  49.  
  50. -Tom Benoist
  51.  benoist@netcom.com
  52.