Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 45) sorted by relevance

12

/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_BillboardUpdater.cpp114 const f32 (*m)[4] = viewMatrix.m; in Update() local
115 viewPos.x = - (m[0][0] * wPos.x + m[0][1] * wPos.y + m[0][2] * wPos.z + m[0][3]); in Update()
116 viewPos.y = - (m[1][0] * wPos.x + m[1][1] * wPos.y + m[1][2] * wPos.z + m[1][3]); in Update()
117 viewPos.z = - (m[2][0] * wPos.x + m[2][1] * wPos.y + m[2][2] * wPos.z + m[2][3]); in Update()
176 f32 (*const m)[4] = localMatrix->m; in CalculateLocalMatrix() local
193 m[0][0] = rx.x; in CalculateLocalMatrix()
194 m[0][1] = ry.x; in CalculateLocalMatrix()
195 m[0][2] = rz.x; in CalculateLocalMatrix()
196 m[0][3] = 0.0f; in CalculateLocalMatrix()
198 m[1][0] = rx.y; in CalculateLocalMatrix()
[all …]
Dgfx_MaterialState.cpp30 f32 (*const m)[4] = pOut->m; in CreateMatrixForLinearShadowMapTexture() local
33 m[0][0] = 0.5f * coeff * scaleZ; in CreateMatrixForLinearShadowMapTexture()
34 m[0][1] = 0.0f; in CreateMatrixForLinearShadowMapTexture()
35 m[0][2] = -0.5f * scaleZ; in CreateMatrixForLinearShadowMapTexture()
36 m[0][3] = 0.0f; in CreateMatrixForLinearShadowMapTexture()
38 m[1][0] = 0.0f; in CreateMatrixForLinearShadowMapTexture()
39 m[1][1] = 0.5f * coeff * scaleZ; in CreateMatrixForLinearShadowMapTexture()
40 m[1][2] = -0.5f * scaleZ; in CreateMatrixForLinearShadowMapTexture()
41 m[1][3] = 0.0f; in CreateMatrixForLinearShadowMapTexture()
43 m[2][0] = 0.0f; in CreateMatrixForLinearShadowMapTexture()
[all …]
Dgfx_TransformAnim.cpp155 const math::MTX34& m = transform->TransformMatrix(); in AdjustZeroRotateMatrix() local
156 const math::VEC3* v0 = reinterpret_cast<const math::VEC3*>(&m.m[0]); in AdjustZeroRotateMatrix()
157 const math::VEC3* v1 = reinterpret_cast<const math::VEC3*>(&m.m[1]); in AdjustZeroRotateMatrix()
158 const math::VEC3* v2 = reinterpret_cast<const math::VEC3*>(&m.m[2]); in AdjustZeroRotateMatrix()
/NW4C-1.3.3/include/nw/math/inline/
Dmath_Matrix44.ipp65 pOut->m[0][0] = scaleS * rotateCos;
66 pOut->m[0][1] = -scaleS * rotateSin;
67 pOut->m[0][3] = scaleS * ( 0.5f * rotateSin - 0.5f * rotateCos + 0.5f - translateS);
69 pOut->m[1][0] = scaleT * rotateSin;
70 pOut->m[1][1] = scaleT * rotateCos;
71 pOut->m[1][3] = scaleT * (-0.5f * rotateSin - 0.5f * rotateCos + 0.5f - translateT);
73 pOut->m[0][2] = pOut->m[1][2] =
74 pOut->m[2][0] = pOut->m[2][1] = pOut->m[2][3] =
75 pOut->m[3][0] = pOut->m[3][1] = pOut->m[3][2] = 0.0f;
76 pOut->m[2][2] = pOut->m[3][3] = 1.0f;
[all …]
Dmath_Matrix34.ipp42 f32 (*const m)[4] = pOut->m;
50 m[0][0] = 1.0f;
51 m[0][1] = 0.0f;
52 m[0][2] = 0.0f;
53 m[0][3] = -pCamPos->x;
55 m[1][0] = 0.0f;
56 m[1][1] = 0.0f;
58 m[2][0] = 0.0f;
59 m[2][2] = 0.0f;
64 m[1][2] = 1.0f;
[all …]
/NW4C-1.3.3/sources/libraries/lyt/
Dlyt_Pane.cpp83 register const f32 a00 = pMtxParent->m[0][0]; in MultMatrixSRTxST()
84 register const f32 a01 = pMtxParent->m[0][1]; in MultMatrixSRTxST()
85 register const f32 a02 = pMtxParent->m[0][2]; in MultMatrixSRTxST()
86 register const f32 a03 = pMtxParent->m[0][3]; in MultMatrixSRTxST()
88 register const f32 a10 = pMtxParent->m[1][0]; in MultMatrixSRTxST()
89 register const f32 a11 = pMtxParent->m[1][1]; in MultMatrixSRTxST()
90 register const f32 a12 = pMtxParent->m[1][2]; in MultMatrixSRTxST()
91 register const f32 a13 = pMtxParent->m[1][3]; in MultMatrixSRTxST()
93 register const f32 a20 = pMtxParent->m[2][0]; in MultMatrixSRTxST()
94 register const f32 a21 = pMtxParent->m[2][1]; in MultMatrixSRTxST()
[all …]
Dlyt_Suppliment.cpp54 value += p1->m[i][k] * p2->m[k][j]; in MTX44Mult()
56 tmp.m[i][j] = value; in MTX44Mult()
61 tmp.m[3][j] = p2->m[3][j]; in MTX44Mult()
Dlyt_TextBox.cpp645 pMtx->m[0][3] += pMtx->m[0][0] * pos.x + pMtx->m[0][1] * pos.y; in GetTextGlobalMtx()
646 pMtx->m[1][3] += pMtx->m[1][0] * pos.x + pMtx->m[1][1] * pos.y; in GetTextGlobalMtx()
647 pMtx->m[2][3] += pMtx->m[2][0] * pos.x + pMtx->m[2][1] * pos.y; in GetTextGlobalMtx()
651 pMtx->m[0][1] = - pMtx->m[0][1]; in GetTextGlobalMtx()
652 pMtx->m[1][1] = - pMtx->m[1][1]; in GetTextGlobalMtx()
653 pMtx->m[2][1] = - pMtx->m[2][1]; in GetTextGlobalMtx()
Dlyt_Common.cpp377 nw::math::MTX44 m( in DrawLine() local
382 internal::MTX44Mult(&m, &graphicsResource.GetMtxModelView(), &m); in DrawLine()
383 glUniformMatrix4fv(glGetUniformLocation(program, "uModelView"), 1, GL_TRUE, m.a); in DrawLine()
391 nw::math::MTX44 m( in DrawLine() local
396 internal::MTX44Mult(&m, &graphicsResource.GetMtxModelView(), &m); in DrawLine()
397 glUniformMatrix4fv(glGetUniformLocation(program, "uModelView"), 1, GL_TRUE, m.a); in DrawLine()
405 nw::math::MTX44 m( in DrawLine() local
410 internal::MTX44Mult(&m, &graphicsResource.GetMtxModelView(), &m); in DrawLine()
411 glUniformMatrix4fv(glGetUniformLocation(program, "uModelView"), 1, GL_TRUE, m.a); in DrawLine()
419 nw::math::MTX44 m( in DrawLine() local
[all …]
Dlyt_Util.cpp394 texMtx.m[0][0] = a0; in CalcTextureMtx()
395 texMtx.m[0][1] = a1; in CalcTextureMtx()
396 texMtx.m[0][2] = texSRT.translate.x + center.x + a0 * (-center.x) + a1 * (-center.y); in CalcTextureMtx()
405 texMtx.m[1][0] = a0; in CalcTextureMtx()
406 texMtx.m[1][1] = a1; in CalcTextureMtx()
407 texMtx.m[1][2] = texSRT.translate.y + center.y + a0 * (-center.x) + a1 * (-center.y); in CalcTextureMtx()
/NW4C-1.3.3/include/nw/ut/
Dut_ResTypes.h370 ResF32 m[2][2]; member
376 nw::math::MTX22 m; in MTX22() local
377 for (int i = 0; i < 4; ++i ) { m.a[i] = this->a[i]; } in MTX22()
378 return m; in MTX22()
391 ResF32 m[2][3]; member
397 nw::math::MTX22 m; in MTX23() local
398 for (int i = 0; i < 6; ++i ) { m.a[i] = this->a[i]; } in MTX23()
399 return m; in MTX23()
413 ResF32 m[3][3]; member
419 nw::math::MTX33 m; in MTX33() local
[all …]
/NW4C-1.3.3/tools/DccPlugin/3dsMax/x86/2009/Scripts/Startup/
DNW4C_mtl.ms.inc72 fn getMtlAttribute m create =
74 local attrib = m.custAttributes["NW4C Material Custom Attribute"]
79 append m.custAttributes attrib
136 for m in mtls do
138 local attr = getMtlAttribute m true
140 local li = dotNetObject "System.Windows.Forms.ListViewItem" m.name
201 for m in mtls do
203 local n = refs.dependentNodes m
219 for m in mtls do
221 attr = getMtlAttribute m true
[all …]
/NW4C-1.3.3/tools/DccPlugin/3dsMax/x86/2010/Scripts/Startup/
DNW4C_mtl.ms.inc72 fn getMtlAttribute m create =
74 local attrib = m.custAttributes["NW4C Material Custom Attribute"]
79 append m.custAttributes attrib
136 for m in mtls do
138 local attr = getMtlAttribute m true
140 local li = dotNetObject "System.Windows.Forms.ListViewItem" m.name
201 for m in mtls do
203 local n = refs.dependentNodes m
219 for m in mtls do
221 attr = getMtlAttribute m true
[all …]
/NW4C-1.3.3/tools/DccPlugin/3dsMax/x64/2009/Scripts/Startup/
DNW4C_mtl.ms.inc72 fn getMtlAttribute m create =
74 local attrib = m.custAttributes["NW4C Material Custom Attribute"]
79 append m.custAttributes attrib
136 for m in mtls do
138 local attr = getMtlAttribute m true
140 local li = dotNetObject "System.Windows.Forms.ListViewItem" m.name
201 for m in mtls do
203 local n = refs.dependentNodes m
219 for m in mtls do
221 attr = getMtlAttribute m true
[all …]
/NW4C-1.3.3/tools/DccPlugin/3dsMax/x64/2010/Scripts/Startup/
DNW4C_mtl.ms.inc72 fn getMtlAttribute m create =
74 local attrib = m.custAttributes["NW4C Material Custom Attribute"]
79 append m.custAttributes attrib
136 for m in mtls do
138 local attr = getMtlAttribute m true
140 local li = dotNetObject "System.Windows.Forms.ListViewItem" m.name
201 for m in mtls do
203 local n = refs.dependentNodes m
219 for m in mtls do
221 attr = getMtlAttribute m true
[all …]
/NW4C-1.3.3/SampleData/Sound/Projects/simple/seq/
Dse.cseq5 ; �m�[�g�R�}���h����
103 ; �����̃��W�����[�V�����Ńm�[�g�I�����邲�ƂɃ��W�����[�V�������x�������Ȃ�
118 ; ��L�̃��W�����[�V�����V�[�P���X�Ńm�[�g�R�}���h���^�C�Ō��Ԃ��Ƃɂ��A
119 ; �m�[�g�I���������̃��W�����[�V�������x�������Ȃ��Ă���
146 ; �m�[�g�E�G�C�g�Ȃ�
147 ; �X�[�p�[�}���I�̃C���g����3���|���t�H�j�b�N�m�[�g����‚̃g���b�N�ōs���Ă���
183 ; ��L�̃m�[�g�E�G�C�g�Ȃ��Ɠ����������R�g���b�N�ɕ����āA�P�g���b�N�P���ōs���Ă���
184 ; ����Ƀg���b�N�R�Ńm�C�Y�̃g���b�N���t�����Ă���B
/NW4C-1.3.3/include/nw/gfx/
Dgfx_CalculatedTransform.h386 math::VEC3* v0 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[0]); in NormalizeRotateMatrix()
387 math::VEC3* v1 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[1]); in NormalizeRotateMatrix()
388 math::VEC3* v2 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[2]); in NormalizeRotateMatrix()
455 math::VEC3* v0 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[0]); in QuaternionToRotateMatrix()
456 math::VEC3* v1 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[1]); in QuaternionToRotateMatrix()
457 math::VEC3* v2 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[2]); in QuaternionToRotateMatrix()
/NW4C-1.3.3/SampleData/Graphics/DccPlugin/Maya/PrjSmpMale/scenes/
DMaleModel.ma6170 setAttr -s 31 ".m";
6450 connectAttr "MaleMat.msg" "materialInfo1.m";
6543 connectAttr "Male.msg" "bindPose1.m[0]";
6544 connectAttr "Root.msg" "bindPose1.m[1]";
6545 connectAttr "Spine.msg" "bindPose1.m[2]";
6546 connectAttr "Spine1.msg" "bindPose1.m[3]";
6547 connectAttr "RightCollar.msg" "bindPose1.m[4]";
6548 connectAttr "RightShoulder.msg" "bindPose1.m[5]";
6549 connectAttr "RightElbow.msg" "bindPose1.m[6]";
6550 connectAttr "RightHand.msg" "bindPose1.m[7]";
[all …]
DMaleWalk.ma6682 setAttr -s 31 ".m";
7004 connectAttr "Rf:MaleMat.msg" "Rf:materialInfo1.m";
7097 connectAttr "Male.msg" "Rf:bindPose1.m[0]";
7098 connectAttr "Root.msg" "Rf:bindPose1.m[1]";
7099 connectAttr "Spine.msg" "Rf:bindPose1.m[2]";
7100 connectAttr "Spine1.msg" "Rf:bindPose1.m[3]";
7101 connectAttr "RightCollar.msg" "Rf:bindPose1.m[4]";
7102 connectAttr "RightShoulder.msg" "Rf:bindPose1.m[5]";
7103 connectAttr "RightElbow.msg" "Rf:bindPose1.m[6]";
7104 connectAttr "RightHand.msg" "Rf:bindPose1.m[7]";
[all …]
DMaleRun.ma6658 setAttr -s 31 ".m";
7102 connectAttr "Rf:MaleMat.msg" "Rf:materialInfo1.m";
7195 connectAttr "Male.msg" "Rf:bindPose1.m[0]";
7196 connectAttr "Root.msg" "Rf:bindPose1.m[1]";
7197 connectAttr "Spine.msg" "Rf:bindPose1.m[2]";
7198 connectAttr "Spine1.msg" "Rf:bindPose1.m[3]";
7199 connectAttr "RightCollar.msg" "Rf:bindPose1.m[4]";
7200 connectAttr "RightShoulder.msg" "Rf:bindPose1.m[5]";
7201 connectAttr "RightElbow.msg" "Rf:bindPose1.m[6]";
7202 connectAttr "RightHand.msg" "Rf:bindPose1.m[7]";
[all …]
/NW4C-1.3.3/include/nw/lyt/
Dlyt_GraphicsResource.h374 void SetMtxModelView(const math::MTX34 m) in SetMtxModelView() argument
376 m_MtxModelView = m; in SetMtxModelView()
/NW4C-1.3.3/SampleData/Graphics/DccPlugin/Maya/ToyPierrot/scenes/
DPierrotModel.ma6 requires "Mayatomr" "10.0.1.8m - 3.7.1.27 ";
5251 addAttr -ci true -m -sn "stringOptions" -ln "stringOptions" -at "compound" -nc
6771 setAttr -s 24 ".m";
7191 connectAttr "PierrotEyeMat.msg" "marionnette_test_fix_materialInfo24.m";
7219 connectAttr "PierrotAllMat.msg" "marionnette_test_fix_materialInfo33.m";
7281 connectAttr "PierrotClothMat.msg" "materialInfo1.m";
7325 connectAttr "PierrotSpecMat.msg" "materialInfo2.m";
7452 connectAttr "Root.msg" "bindPose1.m[1]";
7453 connectAttr "Spine.msg" "bindPose1.m[2]";
7454 connectAttr "Neck.msg" "bindPose1.m[3]";
[all …]
/NW4C-1.3.3/tools/DccPlugin/Maya/scripts/
DNW4C_CreateMenu.mel26 -m ("NintendoWare for CTR\n"
173 setParent -m ..;
/NW4C-1.3.3/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp873 translate.x = s_SpotLight->WorldMatrix().m[0][3]; in UpdateScene()
874 translate.y = s_SpotLight->WorldMatrix().m[1][3]; in UpdateScene()
875 translate.z = s_SpotLight->WorldMatrix().m[2][3]; in UpdateScene()
877 s_ShadowCamera->WorldMatrix().m[0][3] = translate.x; in UpdateScene()
878 s_ShadowCamera->WorldMatrix().m[1][3] = translate.y; in UpdateScene()
879 s_ShadowCamera->WorldMatrix().m[2][3] = translate.z; in UpdateScene()
/NW4C-1.3.3/demos/gfx/ShadowMapDemo/sources/
DShadowMapDemo.cpp939 translate.x = s_SpotLight->WorldMatrix().m[0][3]; in UpdateScene()
940 translate.y = s_SpotLight->WorldMatrix().m[1][3]; in UpdateScene()
941 translate.z = s_SpotLight->WorldMatrix().m[2][3]; in UpdateScene()
943 s_ShadowCamera->WorldMatrix().m[0][3] = translate.x; in UpdateScene()
944 s_ShadowCamera->WorldMatrix().m[1][3] = translate.y; in UpdateScene()
945 s_ShadowCamera->WorldMatrix().m[2][3] = translate.z; in UpdateScene()

12