home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- 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
- From: gleicher@CS.CMU.EDU (Michael Gleicher)
- Subject: GL lighting equation
- Message-ID: <By3057.Dqu.1@cs.cmu.edu>
- Originator: gleicher@HOSTESS.GRAPHICS.CS.CMU.EDU
- Sender: news@cs.cmu.edu (Usenet News System)
- Nntp-Posting-Host: hostess.graphics.cs.cmu.edu
- Organization: CMU Graphics Group
- Distribution: comp
- Date: Sat, 21 Nov 1992 19:43:54 GMT
- Lines: 17
-
-
- I'd like to know what the equation is for doing lighting calculations in GL.
- (I'd like to be able to compute the color of a point on the screen in my
- program, without having to draw it and read the pixel).
-
- I thought I saw the equations in an old GL manual, but couldn't find it (I
- looked in all the ones we have around).
-
- If someone could either give me the equation, or at least tell me where I can
- find it, I'd be most appreciative.
-
- Thanks,
- Mike
- --
- Michael Lee Gleicher gleicher@cs.cmu.edu
- ski bum, graphics hacker, and SCS PhD student
- Carnegie Mellon University, Pittsburgh, PA 15213-3891 (412) 268-6243 (school)
-