Closed andyyankai closed 1 year ago
Hello @andyyankai,
Assuming that T
refers to a Mitsuba 3 transform, you can get the underlying transformation matrix in NumPy or Torch as follows:
rot.matrix.numpy()
rot.matrix.torch()
Otherwise, please let me know what T
stands for in this case.
Is there anyway to convert a transform matrix to numpy? like
rot = T.rotate([0,1,0], 90)
rot.numpy()