Jump to content

Cornell box

From Wikipedia, the free encyclopedia
Standard Cornell box rendered with POV-Ray
Cornell Box with 3 balls to model how different materials reflect light.

The Cornell box is a test aimed at determining the accuracy of rendering software by comparing the rendered scene with an actual photograph of the same scene,[1] and has become a commonly used 3D test model. It was created by Cindy M. Goral, Kenneth E. Torrance, Donald P. Greenberg, and Bennett Battaile at the Cornell University Program of Computer Graphics for their paper Modeling the Interaction of Light Between Diffuse Surfaces published and presented at SIGGRAPH'84.[2][3]

A physical model of the box is created and photographed with a CCD camera. The exact settings are then measured from the scene: emission spectrum of the light source, reflectance spectra of all the surfaces, exact position and size of all objects, walls, light source and camera.

The same scene is then reproduced in the renderer, and the output file is compared with the photograph.

The basic environment consists of:

  • One light source in the center of a white ceiling
  • A green right wall
  • A red left wall
  • A white back wall
  • A white floor

Objects are often placed inside the box. The first objects placed inside the environment were two white boxes. Another common version first used to test photon mapping includes two spheres: one with a perfect mirror surface and one made of glass.

The physical properties of the box are designed to show diffuse interreflection. For example, some light should reflect off the red and green walls and bounce onto the white walls, so parts of the white walls should appear slightly red or green.

Today, the Cornell box is often used to demonstrate renderers in a similar way as the Stanford bunny and the Utah teapot are; computer scientists often use the scene just for its visual properties without comparing it to test data from a physical model.[4]

See also

[edit]

References

[edit]
  1. ^ Niedenthal, Simon (2002-06-01). "Learning from the Cornell Box". Leonardo. 35 (3): 249–254. doi:10.1162/002409402760105235. ISSN 0024-094X. S2CID 57565464.
  2. ^ History of the Cornell Box
  3. ^ Cindy M. Goral, Kenneth E. Torrance, Donald P. Greenberg, and Bennett Battaile. Modeling the Interaction of Light Between Diffuse Surfaces Archived 2010-06-27 at the Wayback Machine. Siggraph 1984.
  4. ^ Tsingos, N.; Carlbom, I.; Elko, G.; Kubli, R.; Funkhouser, T. (2002-07-01). "Validating acoustical simulations in the Bell Labs Box" (PDF). IEEE Computer Graphics and Applications. 22 (4): 28–37. doi:10.1109/MCG.2002.1016696. ISSN 0272-1716.
[edit]