OpenGL @ Lighthouse 3D

Does anyone have an example of picking in 3D?

I already tried, but when I rotate my 3D model,
rendered 3D model is at the center of the window
while the selection model is somewhere off the center of the window