Phong Luminaire (pLmnr)

key: pLmnr

type: CCC(C)*

  1. mat'l: reflective material
  2. color: radiant exitance (W/(m^2 nm)).
  3. color: phong exponent to control emitted power.

Description

The phong exponent gives the power distribution as a function of the angle with the surface normal. An exponent of 1 indicates a diffuse source.

Readers who can only handle diffuse sources should ignore the exponent.


Directional emission distribution

radiant intensity is proportional to cos^e theta where e is the phong exponent.

BRDF


Examples

 pLmnr % a red material that emits diffusely
    lmbrtn  rgb 0.8 0.2 0.2 end end
    rgb 2.0 2.0 2.0 end 
    sclr 1.0 end
 end