Returns the 3x4 camera matrix. For a description of the camera matrix see, e.g., https://en.wikipedia.org/wiki/Camera_matrix. For a usage example, see the associated test.
(self)
| 798 | |
| 799 | @property |
| 800 | def matrix(self): |
| 801 | """Returns the 3x4 camera matrix. |
| 802 | |
| 803 | For a description of the camera matrix see, e.g., |
| 804 | https://en.wikipedia.org/wiki/Camera_matrix. |
| 805 | For a usage example, see the associated test. |
| 806 | """ |
| 807 | image, focal, rotation, translation = self.matrices() |
| 808 | return image @ focal @ rotation @ translation |
| 809 | |
| 810 | def update(self, scene_option=None): |
| 811 | """Updates geometry used for rendering. |