7

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.

greetings

Jonas
  • 71
  • 1
  • 3

1 Answers1

5

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.

CodeManX
  • 29,298
  • 3
  • 89
  • 128
  • And do you know where I can actually manipulate the projection matrix? – Jonas May 08 '14 at 15:39
  • Somewhere around here: https://developer.blender.org/diffusion/B/browse/master/source/blender/render/intern/ – CodeManX May 08 '14 at 18:09
  • Actually, its "exposed" in terms of reading it, heres how you read intrinsics and extrinsics... https://www.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... – ntg Aug 06 '19 at 09:55