Archive for August 2008

Generalized Perspective Projection

Perspective projection is a well-understood aspect of 3D graphics. It is not something that 3D programmers spend much time thinking about. Most OpenGL applications simply select a field of view, specify near and far clipping plane distances, and call gluPerspective or glFrustum. These functions suffice in the vast majority of cases. However, the field of Virtual Reality introduces circumstances under which they fail. This article discusses the limitations of these perspective projection functions, and describes a more generalized perspective projection formulation. Implementation and an example application using OpenGL are provided. [Read More.]

Varrier

How to view crossed-eye stereo pairs

Despite being the easiest stereo technique to view, many people still have trouble viewing cross-eye image pairs. It is a skill that gets easier with practice, and some might need a little push to get started. This page exists to offer advice and explanation which will hopefully help some of those who continue to be baffled. [Read More]

Stereo Teapot

GDB STFU

I get annoyed when gdb asks me to confirm trivial operations such as killing a program, restarting a program from the beginning, or exiting gdb altogether. A single line of configuration resolves these annoyances, but I tend to forget the syntax (and even the config file name) each time I move to a new machine. I end up digging around in the documentation for several minutes, an exercise complicated by the GNU Project’s “info” system. Apparently they’re too good for man pages, but won’t switch to HTML. “STFU” isn’t in the index, so I’m posting it here in order to remind myself once and for all.

In ~/.gdbinit

set confirm off