Move closer or shrink FOV?

There was this question posed by my professor in a computer graphics class. It was for bonus points (we love them, don’t we?) and sadly, I didn’t give a satisfactory answer. And to this date, I still don’t know what the answer should be.

To elaborate, first I need to explain what field of view or FOV is. Humans have an FOV of almost 180 degrees. For 3D graphics and computer games, it’s typically 90, 60 or 45 degrees (helps with cutting down processing calculations). What is it?

Simple illustration of field of view

Suppose you’re standing somewhere looking at a scene. You notice something in the distance, and you want to take a closer look or zoom in. For the purposes of this example, let’s just assume you have some bionic superpower that enables your eyes to function like a camera/binoculars thingy.

There are two ways to go about doing this. You can physically move closer. Or you can shrink your FOV. A smaller FOV means less is visible, but whatever is visible is enlarged, so to speak. Either way, the object of your attention becomes larger.

Move closer or shrink FOV?

The resulting rendered scene is of the same “width” in both cases. The object is enlarged in both cases. The question was, what’s the difference between moving closer and shrinking the FOV?

Let’s look at a normal rendered scene.

Scene with normal perspective

If we move closer and keep the FOV at 60 degrees, we get this:

Scene with camera closer

If we stay where we are and change the FOV to 45 degrees, we get this:

Scene with smaller FOV

Using the tree and cube to act as reference points, and the mountain as backdrop, can you spot the difference?

Now that I think about it, the answer probably has some similarities to the concept of ray tracing. Instead of having light reflecting off objects and enter your eye, think about shooting back rays from the eye towards the scene.

I guess I’ll have to talk more on this. Please share your answer and we can compare notes. Stay tuned.

Creating simple graphics for documents

What happens when you’re tasked with “beautifying” a web site? Or when you need to spruce up a document to add some colour? In both cases, the graphics required don’t even need to
be done by professionals, just good enough to be close to professional quality. The graphics aren’t even the main focus, nor will they make or break a deal.

What you need is an easy way to come up with something moderately good. What you need is Paint.NET. After you’ve set the software up (it’s free), draw some rectangles on the canvas.
Four rectangles

Then use the Radial Blur effect
Radial blur menu

Set it to say 10 degrees
Radial blur option

And you’ll get this
Radial blur result

Or you can experiment with the zoom effect
Zoom blur menu

Set the zoom amount to 30
Zoom blur option

With the zoom result below
Zoom blur result

Maybe you’re in the artsy mood for twisting
Twist effect menu

Set the twist amount to 20 and the quality to 5
Twist effect option

And the final result
Twist effect result

Ok fine, so they don’t look like much. But they can fill in the space for a top right corner of the web page or something. Or as an unobtrusive background of some header text. You can try using block colours, but they really look terrible. With some imagination, you can create some nifty graphics. Go to the tutorial forums of Paint.NET and get some ideas!