2018-01-30から1日間の記事一覧
行列演算を行う(OpenMaya #単位行列を生成 ident_mat = om.MMatrix() #nodeの行列を取得する import maya.api.OpenMaya as om node_mat = om.MMatrix(cmds.getAttr(node+".matrix")) #nodeを含めたワールド行列をもとめる node_wmat = om.MMatrix(cmds.getA…
行列演算を行う(OpenMaya #単位行列を生成 ident_mat = om.MMatrix() #nodeの行列を取得する import maya.api.OpenMaya as om node_mat = om.MMatrix(cmds.getAttr(node+".matrix")) #nodeを含めたワールド行列をもとめる node_wmat = om.MMatrix(cmds.getA…