If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

### Course: Pixar in a Box>Unit 6

Lesson 1: How virtual cameras work

# The effect of focal distance

## Simulation

Below is a simulation of a pinhole camera. Try capturing images using different focal distances and then answer the questions underneath.

## Questions

Increasing the focal distance makes the field of view
. This means that objects in the image appear
.

Increasing the focal length also causes images to appear
. This is because the rays of light are
spread out by the time they hit the image plane.

## Want to join the conversation?

• Could I have the code for the 3D pinhole camera?
• The closer you are to the image you are trying to capture the farther away it looks. Its like looking in the wrong end of a telescope.
• What if you wanted a clear,big and bright picture?
• You can just take an image with minimum focal length and aperture and then later magnify it using software.
• Why is the image upside down
• The light rays from the bottom of the image are going through the hole to the top of the other side. Same with the top, going to the bottom of the other side. If you still don't understand think of it this way: e.g. the top of a tree has to reflect light through a hole halfway down the wall since the hole is lower than the top of the tree, the light will be going down. After the light passes the hole, it continues to go down until it is projected on the opposite wall. Because it continues to go down, it will be on the bottom of the opposite wall. Do that with every point on the tree, and the image flips itself. Hope this helped for anyone wondering the same thing!
• Why dose it get smaller when you go closere
• Whenever the light comes through the hole in the middle, if the wall is closer, then it will hit the wall without traveling as far from the center. Thus, the image will stay in the middle of the wall, and be smaller as well.
• Try 50 Aperature or whatever and 343 Focal distance
• again how do i flip the image the right way up
• i dont think you can
(1 vote)
• this will make it better: focal distance 173 and aperture 5