Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!mintaka!think.com!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!eagle!monet.lerc.nasa.gov!xxdon From: xxdon@monet.lerc.nasa.gov (Don Sosoka) Newsgroups: comp.sys.sgi Subject: more multi-colored lighted polys Message-ID: <1991Jun17.171432.404@eagle.lerc.nasa.gov> Date: 17 Jun 91 17:14:32 GMT Sender: news@eagle.lerc.nasa.gov Organization: NASA/Lewis Research Center, Cleveland Lines: 28 Originator: xxdon@monet.lerc.nasa.gov Thanks to all who answered that in order to get lighted polygons with different colors at each vertex that I needed to preceed the following code call SHADEM (GOURAU) call BGNPOL do 10 i = 1,N icv(1) = IRED(i) icv(2) = IGREEN(i) icv(3) = IBLUE(i) call C3I (icv) vn(1) = XN(i) vn(2) = YN(i) vn(3) = ZN(i) call N3F (vn) v(1) = X(i) v(2) = Y(i) v(3) = Z(i) call V3F (v) 10 continue call ENDPOL with a call to LMCOLO (LMCAD). This indeed works. Unfortunately LMCOLOR works in Immediate Mode only and the application I have requires these polys to be in a display list (object). Anybody have any suggestions for this case? Thanks.