Point Source (pntSrc)

key: pntSrc

type: SCfff

  1. string: object name.
  2. color: radiant power (W / nm).
  3. float: x coordinate of point
  4. float: y coordinate of point
  5. float: z coordinate of point

Description

A point light source which emits uniformly in all directions.

Conventions

Can be thought of as a spherical light source with zero (degenerate) radius.  Its a common primitive in systems that use local  shading models and included here for that reason.  Area sources should generally be preferred when creating new models in mdl.

Examples

pntSrc % a blue point light source at the origin
  "blue light"
  rgb 100.0 200.0 800.0 end
  0.0 0.0 0.0
end
e> mdl page