opengl oblique projection
问题 I want to create a oblique (cavalier) projection in OpenGL. I know this operation is not default supported and instead I need a Shear Matrix and then make an Orthogonal Projection. Can you tell me what are the OpenGl steps / functions that I have to make? 回答1: I've not used a oblique/cavalier projection before, but the following should give you an idea of how to proceed: Create a 4x4 shear matrix, H(θ, Φ) = | 1, 0, -cot(θ), 0 | | 0, 1, -cot(Φ), 0 | | 0, 0, 1, 0 | | 0, 0, 0, 1 | θ being the