Example #1
0
 public Camera()
 {
     Lens = new ThinLens() { ApertureNumber = 2.8f, FocalLength = 0.05f };
     //FocusZ = -(20 * Lens.FocalLength);
     FocusZ = -4f;
     UpdatePerspective();
 }
Example #2
0
 public Camera()
 {
     Lens = new ThinLens()
     {
         ApertureNumber = 2.8f, FocalLength = 0.05f
     };
     //FocusZ = -(20 * Lens.FocalLength);
     FocusZ = -4f;
     UpdatePerspective();
 }