How did this happen?

Once I was just playing around with stuff, when I looked through the camera and saw this:

I've always wanted to make my renders 3D glasses compatible.  Yay!  The problem is, I don't know why that happened or how to replicate it.  When I look outside the camera, the effect goes away.  (Also, will it show up in the final render?)