The region_3d.view_matrix of an area returns the perpective projection matrix. How to get the orthographic projection matrix for the same view?
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this community
perspective_matrix
iswindow_matrix * view_matrix
. Thewindow_matrix
andperspective_matrix
change when switching between persp and ortho.view_matrix
only changes when you pan/rot in the viewport. $\endgroup$