I have seen some questions to this topic but all of them are not satisfactory for my problem. Is it possible to set a custom 4x4 projection matrix in Python to use for rendering in Blender? I'm not interested to manipulate single parameters (lens, shift, clipping...), I rather would like to set the whole matrix at once. Is it possible in Python or do I have to go deeper?

I would be so thankful for any informations or hints.



1 Answer 1


A camera object, bpy.types.Camera, does not expose a matrix property or anything similar. You can only change the available properties, which should be equal to what you can do via the user interface in the Object data tab.

  • $\begingroup$ And do you know where I can actually manipulate the projection matrix? $\endgroup$
    – Jonas
    Commented May 8, 2014 at 15:39
  • $\begingroup$ Somewhere around here: developer.blender.org/diffusion/B/browse/master/source/blender/… $\endgroup$
    – CodeManX
    Commented May 8, 2014 at 18:09
  • $\begingroup$ Actually, its "exposed" in terms of reading it, heres how you read intrinsics and extrinsics... blender.org/forum/viewtopic.php?t=20231 But still looking how to set them, its probably not an one-liner, but have to do it using sensor etc... $\endgroup$
    – ntg
    Commented Aug 6, 2019 at 9:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .