카테고리: Computer Graphics

angular fisheye image mapping: 3D point ⟹ pixel

Image fishEyeImage; fishEyeImage.load( "RenderedImageUsingFisheyeLens.exr" ); // given data Point worldPoint = ...; Point worldCameraPosition = ...; Point worldAimingPoint = ...; // the assumption in this example) // the camera's up vector = world y-axis Vector upVector = Vector( 0.0, 1.0, 0.0 ); // three orthogonal unit axes of the camera space // xAxis: right vector

How to exchange rotation matrix between Zelos and Maya

[pre-multiplied system with row-major ordering] (ex) Zelos X: rotation matrix about x-axis Y: rotation matrix about y-axis Z: rotation matrix about z-axis R: rotation matrix in x->y->z axis order. q=(ZYX)p Therefore, R = ZYX [post-multiplied system with column-major ordering] (ex) Maya qt = pt ( (Xt) (Yt) (Zt) )=pt (ZYX)t (t: transpose) Therefore, R =