[SOLVED] Adjusting FOV to render part of the screen

Ok I think I solved it by calculating hte hfov from the vfov of the screen according to this thread:

Then I use the hfov in the code of that post:

Thanks for the hints.