home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / bugs / 53 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.5 KB  |  46 lines

  1. Newsgroups: comp.sys.sgi.bugs
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!news.belwue.de!sun1.ruf.uni-freiburg.de!ise.fhg.de!usenet
  3. From: apian@ise.fhg.de (Peter Apian-Bennewitz)
  4. Subject: lmcolor on Indigo ELAN
  5. Message-ID: <apian.725588779@ise.fhg.de>
  6. Summary: lmcolor needed after light disable on elan ?!
  7. Keywords: light,lmcolor,elan
  8. Sender: usenet@ise.fhg.de
  9. Organization: FhG-ISE - Institute for Solar Energy Systems
  10. Date: Tue, 29 Dec 92 01:00:30 GMT
  11. Lines:       34
  12.  
  13. Hi,
  14.  
  15. The following code behaves differently on a Indigo ELAN
  16. and a 320VGX:
  17.  
  18. lmbind( ..wawawa )    /* switch lighting (lights,model,material) on */
  19. lmcolor( LMC_AD );
  20.   ..draw lighted stuff..
  21.   .. c3f,n3f,v3f calls..
  22.  
  23. lmbind( LMODEL,0 );    /* disable lighting */
  24. lmcolor( LMC_COLOR );    /* <- ?? */
  25.   ..draw unlighted stuff..
  26.   .. c3f,v3f calls..
  27.  
  28. Now, the unlighted stuff gets drawn depressingly black on a ELAN,
  29. if lmcolor( LMC_COLOR ) is not used. 
  30. The VGX behaviour is more similar to the man page: 
  31. "lmcolor mode is significant only while lighting is on".
  32.  
  33. Bug, feature, or my bloody ignorance of something obvious ?
  34.  
  35. if( FAQ ) printf("our news server went offline for some weeks.sorry\n");
  36.  
  37. TIA
  38.  
  39. Peter
  40.  
  41. --------------------------------------------------------------------
  42.  Peter Apian-Bennewitz                apian@ise.fhg.de
  43.  Fraunhofer Institute for Solar Energy Systems    Tel +49-761-4014-123
  44.  D-7800 Freiburg   ,  Oltmannsstrasse 22    Fax +49-761-4014-200
  45. --------------------------------------------------------------------
  46.