#VRML V2.0 utf8

NAME neutral PhBXYZSpectrum {xyz 1 1 1}
NAME wave PhBBlackBodySpectrum { temperature 6000
                                 luminance 1 }

NAME DiffuseWhite PhBHomogeneousSurface {
   bsdf PhBSimpleBSDF {
      intensity 0.8
      spectrum USE wave
      scatterer PhBDiffuseReflector {}
   }
}

NAME Light PhBHomogeneousSurface {
   edf PhBEDF {
      intensity 10000.   		# [lux]
      spectrum USE neutral
      emitter PhBDiffuseEmitter {}
   }
}

Transform {
   children [ Shape {            
      geometry Sphere { radius 3. }
      appearance PhBAppearance {
	 surface USE DiffuseWhite
      }
   }, Transform {                 
      translation 7 10 7             
      children Shape {
	 geometry Sphere { radius 0.1 }
	 appearance PhBAppearance {
	    surface USE Light
	 }
      }
   } ]
}
 
