Hello,
I am trying to impelement a two-point perspective projection and don't really know how to fill custom matrix for such a case.
The problem is as follows.
1. My camera is placed at camZ offset and camY height and looking at the origin point, which in turn the rotation center of the zx surface about Y axis.
2. All objects are disposed on this zx surface.
3. I need to create two-point perspective in order to eliminate any distortion along Y axis. In this case lines parallel to Y axis will remain parallel.
I could not find any code examples written in openGL.
Does anyone know how to do it?

Thank you in advance

alex