Re: Attenuation of lights

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose.engr.sgi.com)
Fri, 17 Apr 1998 11:25:35 -0700


+>---- On Apr 17, 3:20pm, Olivier Georg wrote:
> Subject: Attenuation of lights
->
->Hi pfAll,
->
->I am a bit confused with the attenuation of lights. It can be set for both
->a pfLightSource (in which case I suppose the three components depend on
->the source) and a pfLightModel (since it is specified for a pfGeoState,
->itself attached to a pfGeoSet, I can also suppose the components depend
->on the object which is enlighted). So... which version is correct ?

This one is actually in the pfMan pagees on pfLightModel and pfLight so I
have to bragg :-)

Attenuation on the light model is done only in IRIS GL operation.
OpenGL light attenuation is done per-light.

Per-light attenuation is only available in OpenGL.
IRIS GL light attenuation is done on the light model.

We even have a pfQueryFeature token so you can tell at run-time which
one you've got: PFQFTR_LIGHT_ATTENUATION.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (650) 933 - 1002  FAX: (650) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

attached mail follows:


From: "Olivier Georg"
Date: Fri, 17 Apr 1998 15:20:58 -0600
To: info-performer++at++sgi.com
Subject: Attenuation of lights
I am a bit confused with the attenuation of lights. It can be set for both a pfLightSource (in which case I suppose the three components depend on the source) and a pfLightModel (since it is specified for a pfGeoState, itself attached to a pfGeoSet, I can also suppose the components depend on the object which is enlighted). So... which version is correct ?

Olivier

-- 
---------------------------------------------------------------------
| Olivier Georg       \__  e-mail:    olivier.georg++at++epfl.ch         |
| Ch. de Montelly 43c    \__  home:   http://imtsg7.epfl.ch/~ogeorg |
| 1007 Lausanne/Switzerland \__  tel: +41 21 693 58 50 (work)       |
-------------------------------\__    +41 21 626 51 79 (private)    |
|   Heb Deh Hag Heb Warhoaz       \__--------------------------------
|   Hirio Ne Dalv Ket C'Hoaz         \__       ________    __o      |
|     ( Sans hier et sans demain )      \__      _____   _`\<,_     |
|     ( Aujourd'hui ne vaut rien )         \__      ___ (_)/ (_)    |
|               "Kinnig", Per Jakez Helias    \                     |
---------------------------------------------------------------------
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:15 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.