Original Spec| Sample

定義

PointLight { 
  exposedField SFFloat ambientIntensity  0       # [0,1]
  exposedField SFVec3f attenuation       1 0 0   # [0,)
  exposedField SFColor color             1 1 1   # [0,1]
  exposedField SFFloat intensity         1       # [0,1]
  exposedField SFVec3f location          0 0 0   # (-,)
  exposedField SFBool  on                TRUE 
  exposedField SFFloat radius            100     # [0,)
}
一点より光を発する点光源です。
ambientIntensity
物体の光の当たっていない面もこの強さのdiffuseColorで 光ります。
attenuation
光は距離rにより以下の式にしたがって減衰します。

1/max(attenuation[0] + attenuation[1]×r + attenuation[2]×r2 , 1)
color
光の色
intensity
光の強さ
location
光源の位置
on
光を発っするかどうか
radius
光の届く半径

サンプル

光のあたり具合を比較できるように物体を二つ配置して見ました。 attuenuationの効果による明るさの違いと、物体と光源の位置関係による 影の出来方の違いをご覧下さい。
#VRML V2.0 utf8
PointLight {
  location -3 0 3
  color 0 1 0 
  attenuation 0 .15 0
}
Shape { 
 geometry Sphere { } 
 appearance Appearance {  material Material {} }
}
Transform {
 children Shape { 
   geometry Sphere { } 
   appearance Appearance {  material Material {} }
  }
  translation 3 0 -2
}
NavigationInfo {
  headlight FALSE
}