Blender Camera and perspective projection

To project from 3d to 2d general equation is:

newx = SCALEx/z
newy = SCALE

My question is how can you relate blender camera and the SCALE factor. I want to take the lens info so I can render the camera view correct. Any help greatly appreciated. Thanks also to Theeth…I got the camera view working properly now.

Cheers. :smiley:

I have no idea.