Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1 KB

vray_matrix.md

File metadata and controls

46 lines (26 loc) · 1 KB

VRayMatrix

from tdw.vray_data.vray_matrix import VRayMatrix

Matrix data for a VRay object or camera.


Class Variables

Variable Type Description Value
HANDEDNESS np.ndarray Conversion matrix from Y-up to Z-up, and left-hand to right-hand. np.array([[-1, 0, 0, 0],

Functions

__init__

__init__

VRayMatrix()

get_converted_node_matrix

self.get_converted_node_matrix(matrix)

Parameter Type Default Description
matrix np.ndarray The object transform matrix.

Returns: The converted matrix as a VRayMatrix.

get_converted_camera_matrix

self.get_converted_camera_matrix(avatar_matrix, sensor_matrix)

Parameter Type Default Description
avatar_matrix np.ndarray The avatar transform matrix.
sensor_matrix np.ndarray The sensor container matrix.

Returns: The converted matrices as a VRayMatrix.