#VRML V2.0 utf8

Viewpoint {
  position -3 0 0
  orientation 2.18557e-08 -1 -2.18557e-08 1.5708
  fieldOfView 0.785398
  description "ViewPoint 1"
}

NAME neutral PhBXYZSpectrum {xyz 1 1 1}

NAME red PhBXYZSpectrum { xyz   0.514145 0.265106 0.024101    }
NAME green PhBXYZSpectrum { xyz   0.323884 0.670106 0.122853    }
NAME blue PhBXYZSpectrum { xyz    0.161971 0.064788 0.853047   }


NAME SpecularWhite PhBHomogeneousSurface {
   bsdf PhBSimpleBSDF {
      intensity 0.7 ,
      spectrum USE neutral ,
      scatterer PhBPerfectSpecularReflector {}
   }
}

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


PhBHomogeneousBackground {
   spectralBasis [ USE red, USE green,  USE blue ]
   spectralWeights [ .5, .5, 1 ]
}

Transform {
   children [ Shape {
      geometry Sphere { radius 1. }
      appearance PhBAppearance {
	 surface USE DiffuseWhite
      }
   }
     ]
}
