home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.bugs
- 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
- From: apian@ise.fhg.de (Peter Apian-Bennewitz)
- Subject: lmcolor on Indigo ELAN
- Message-ID: <apian.725588779@ise.fhg.de>
- Summary: lmcolor needed after light disable on elan ?!
- Keywords: light,lmcolor,elan
- Sender: usenet@ise.fhg.de
- Organization: FhG-ISE - Institute for Solar Energy Systems
- Date: Tue, 29 Dec 92 01:00:30 GMT
- Lines: 34
-
- Hi,
-
- The following code behaves differently on a Indigo ELAN
- and a 320VGX:
-
- lmbind( ..wawawa ) /* switch lighting (lights,model,material) on */
- lmcolor( LMC_AD );
- ..draw lighted stuff..
- .. c3f,n3f,v3f calls..
-
- lmbind( LMODEL,0 ); /* disable lighting */
- lmcolor( LMC_COLOR ); /* <- ?? */
- ..draw unlighted stuff..
- .. c3f,v3f calls..
-
- Now, the unlighted stuff gets drawn depressingly black on a ELAN,
- if lmcolor( LMC_COLOR ) is not used.
- The VGX behaviour is more similar to the man page:
- "lmcolor mode is significant only while lighting is on".
-
- Bug, feature, or my bloody ignorance of something obvious ?
-
- if( FAQ ) printf("our news server went offline for some weeks.sorry\n");
-
- TIA
-
- Peter
-
- --------------------------------------------------------------------
- Peter Apian-Bennewitz apian@ise.fhg.de
- Fraunhofer Institute for Solar Energy Systems Tel +49-761-4014-123
- D-7800 Freiburg , Oltmannsstrasse 22 Fax +49-761-4014-200
- --------------------------------------------------------------------
-