Skip to content
Discussion options

You must be logged in to vote

Hi @07hyx06

Yes you can, this constructor accepts a Matrix as input.

matrix = np.array([
    [0., 1., 2., 3.],
    [1., 2., 3., 4.],
    [2., 3., 4., 5.],
    [3., 4., 5., 6.]
])
transform =  mi.Transform4f(matrix)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 07hyx06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants