Support for axis angle representation of rotations |commit Bug Fixes Fixed corner case inlook_at_view_transform|commit Fixed softmax_rgb_blend with mesh is outside zfar |commit Fixed corner case inmatrix_to_quaternionfunction |commit Misc
frompytorch3dimporttransformsN=10r=transforms.random_rotations(N)T=transforms.Transform3d().rotate(R=r)R=transforms.Rotate(r)x=T[0]# okx=R[0]# TypeError: __init__() got an unexpected keyword argument 'matrix' This is because all these classes (namelyRotate,Translate,Scale,RotateAxisAngle)...
def rotate_axis_angle(self, *args, **kwargs) -> "Transform3d": return self.compose( RotateAxisAngle(device=self.device, dtype=self.dtype, *args, **kwargs) RotateAxisAngle(*args, device=self.device, dtype=self.dtype, **kwargs) ) def clone(self) -> "Transform3d": 11 changes: 5 ...