home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16730 < prev    next >
Encoding:
Text File  |  1992-11-21  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!gleicher
  3. From: gleicher@CS.CMU.EDU (Michael Gleicher)
  4. Subject: GL lighting equation
  5. Message-ID: <By3057.Dqu.1@cs.cmu.edu>
  6. Originator: gleicher@HOSTESS.GRAPHICS.CS.CMU.EDU
  7. Sender: news@cs.cmu.edu (Usenet News System)
  8. Nntp-Posting-Host: hostess.graphics.cs.cmu.edu
  9. Organization: CMU Graphics Group
  10. Distribution: comp
  11. Date: Sat, 21 Nov 1992 19:43:54 GMT
  12. Lines: 17
  13.  
  14.  
  15. I'd like to know what the equation is for doing lighting calculations in GL.
  16. (I'd like to be able to compute the color of a point on the screen in my
  17. program, without having to draw it and read the pixel). 
  18.  
  19. I thought I saw the equations in an old GL manual, but couldn't find it (I
  20. looked in all the ones we have around).
  21.  
  22. If someone could either give me the equation, or at least tell me where I can
  23. find it, I'd be most appreciative.
  24.  
  25. Thanks,
  26.     Mike
  27. -- 
  28. Michael Lee Gleicher                gleicher@cs.cmu.edu
  29.         ski bum, graphics hacker, and SCS PhD student
  30. Carnegie Mellon University, Pittsburgh, PA 15213-3891    (412) 268-6243 (school)
  31.