The region_3d.view_matrix of an area returns the perpective projection matrix. How to get the orthographic projection matrix for the same view?

  • $\begingroup$ The api docs say the perspective_matrix is window_matrix * view_matrix. The window_matrix and perspective_matrix change when switching between persp and ortho. view_matrix only changes when you pan/rot in the viewport. $\endgroup$
    – sambler
    Sep 4, 2019 at 4:45
  • $\begingroup$ @sambler I was trying to transform the coordinates into view_matrix to get the projection of a point on plane (blender.stackexchange.com/questions/150645/…). That problem is solved. But thank you for this piece of information. $\endgroup$
    – greentail
    Sep 4, 2019 at 8:40


You must log in to answer this question.

Browse other questions tagged .