Home
last modified time | relevance | path

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

12

/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_BillboardUpdater.cpp116 const f32 (*m)[4] = viewMatrix.m; in Update() local
117 viewPos.x = - (m[0][0] * wPos.x + m[0][1] * wPos.y + m[0][2] * wPos.z + m[0][3]); in Update()
118 viewPos.y = - (m[1][0] * wPos.x + m[1][1] * wPos.y + m[1][2] * wPos.z + m[1][3]); in Update()
119 viewPos.z = - (m[2][0] * wPos.x + m[2][1] * wPos.y + m[2][2] * wPos.z + m[2][3]); in Update()
178 f32 (*const m)[4] = localMatrix->m; in CalculateLocalMatrix() local
195 m[0][0] = rx.x; in CalculateLocalMatrix()
196 m[0][1] = ry.x; in CalculateLocalMatrix()
197 m[0][2] = rz.x; in CalculateLocalMatrix()
198 m[0][3] = 0.0f; in CalculateLocalMatrix()
200 m[1][0] = rx.y; in CalculateLocalMatrix()
[all …]
Dgfx_MaterialState.cpp32 f32 (*const m)[4] = pOut->m; in CreateMatrixForLinearShadowMapTexture() local
35 m[0][0] = 0.5f * coeff * scaleZ; in CreateMatrixForLinearShadowMapTexture()
36 m[0][1] = 0.0f; in CreateMatrixForLinearShadowMapTexture()
37 m[0][2] = -0.5f * scaleZ; in CreateMatrixForLinearShadowMapTexture()
38 m[0][3] = 0.0f; in CreateMatrixForLinearShadowMapTexture()
40 m[1][0] = 0.0f; in CreateMatrixForLinearShadowMapTexture()
41 m[1][1] = 0.5f * coeff * scaleZ; in CreateMatrixForLinearShadowMapTexture()
42 m[1][2] = -0.5f * scaleZ; in CreateMatrixForLinearShadowMapTexture()
43 m[1][3] = 0.0f; in CreateMatrixForLinearShadowMapTexture()
45 m[2][0] = 0.0f; in CreateMatrixForLinearShadowMapTexture()
[all …]
/NW4C-2.0.3/include/nw/math/inline/
Dmath_Matrix44.ipp67 pOut->m[0][0] = scaleS * rotateCos;
68 pOut->m[0][1] = -scaleS * rotateSin;
69 pOut->m[0][3] = scaleS * ( 0.5f * rotateSin - 0.5f * rotateCos + 0.5f - translateS);
71 pOut->m[1][0] = scaleT * rotateSin;
72 pOut->m[1][1] = scaleT * rotateCos;
73 pOut->m[1][3] = scaleT * (-0.5f * rotateSin - 0.5f * rotateCos + 0.5f - translateT);
75 pOut->m[0][2] = pOut->m[1][2] =
76 pOut->m[2][0] = pOut->m[2][1] = pOut->m[2][3] =
77 pOut->m[3][0] = pOut->m[3][1] = pOut->m[3][2] = 0.0f;
78 pOut->m[2][2] = pOut->m[3][3] = 1.0f;
[all …]
Dmath_Matrix34.ipp44 f32 (*const m)[4] = pOut->m;
52 m[0][0] = 1.0f;
53 m[0][1] = 0.0f;
54 m[0][2] = 0.0f;
55 m[0][3] = -pCamPos->x;
57 m[1][0] = 0.0f;
58 m[1][1] = 0.0f;
60 m[2][0] = 0.0f;
61 m[2][2] = 0.0f;
66 m[1][2] = 1.0f;
[all …]
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_Pane.cpp85 register const f32 a00 = pMtxParent->m[0][0]; in MultMatrixSRTxST()
86 register const f32 a01 = pMtxParent->m[0][1]; in MultMatrixSRTxST()
87 register const f32 a02 = pMtxParent->m[0][2]; in MultMatrixSRTxST()
88 register const f32 a03 = pMtxParent->m[0][3]; in MultMatrixSRTxST()
90 register const f32 a10 = pMtxParent->m[1][0]; in MultMatrixSRTxST()
91 register const f32 a11 = pMtxParent->m[1][1]; in MultMatrixSRTxST()
92 register const f32 a12 = pMtxParent->m[1][2]; in MultMatrixSRTxST()
93 register const f32 a13 = pMtxParent->m[1][3]; in MultMatrixSRTxST()
95 register const f32 a20 = pMtxParent->m[2][0]; in MultMatrixSRTxST()
96 register const f32 a21 = pMtxParent->m[2][1]; in MultMatrixSRTxST()
[all …]
Dlyt_Suppliment.cpp56 value += p1->m[i][k] * p2->m[k][j]; in MTX44Mult()
58 tmp.m[i][j] = value; in MTX44Mult()
63 tmp.m[3][j] = p2->m[3][j]; in MTX44Mult()
Dlyt_TextBox.cpp647 pMtx->m[0][3] += pMtx->m[0][0] * pos.x + pMtx->m[0][1] * pos.y; in GetTextGlobalMtx()
648 pMtx->m[1][3] += pMtx->m[1][0] * pos.x + pMtx->m[1][1] * pos.y; in GetTextGlobalMtx()
649 pMtx->m[2][3] += pMtx->m[2][0] * pos.x + pMtx->m[2][1] * pos.y; in GetTextGlobalMtx()
653 pMtx->m[0][1] = - pMtx->m[0][1]; in GetTextGlobalMtx()
654 pMtx->m[1][1] = - pMtx->m[1][1]; in GetTextGlobalMtx()
655 pMtx->m[2][1] = - pMtx->m[2][1]; in GetTextGlobalMtx()
Dlyt_Common.cpp379 nw::math::MTX44 m( in DrawLine() local
384 internal::MTX44Mult(&m, &graphicsResource.GetMtxModelView(), &m); in DrawLine()
385 glUniformMatrix4fv(glGetUniformLocation(program, "uModelView"), 1, GL_TRUE, m.a); in DrawLine()
393 nw::math::MTX44 m( in DrawLine() local
398 internal::MTX44Mult(&m, &graphicsResource.GetMtxModelView(), &m); in DrawLine()
399 glUniformMatrix4fv(glGetUniformLocation(program, "uModelView"), 1, GL_TRUE, m.a); in DrawLine()
407 nw::math::MTX44 m( in DrawLine() local
412 internal::MTX44Mult(&m, &graphicsResource.GetMtxModelView(), &m); in DrawLine()
413 glUniformMatrix4fv(glGetUniformLocation(program, "uModelView"), 1, GL_TRUE, m.a); in DrawLine()
421 nw::math::MTX44 m( in DrawLine() local
[all …]
Dlyt_Util.cpp476 texMtx.m[0][0] = a0; in CalcTextureMtx()
477 texMtx.m[0][1] = a1; in CalcTextureMtx()
478 texMtx.m[0][2] = texSRT.translate.x + center.x + a0 * (-center.x) + a1 * (-center.y); in CalcTextureMtx()
487 texMtx.m[1][0] = a0; in CalcTextureMtx()
488 texMtx.m[1][1] = a1; in CalcTextureMtx()
489 texMtx.m[1][2] = texSRT.translate.y + center.y + a0 * (-center.x) + a1 * (-center.y); in CalcTextureMtx()
/NW4C-2.0.3/include/nw/ut/
Dut_ResTypes.h372 ResF32 m[2][2]; member
378 nw::math::MTX22 m; in MTX22() local
379 for (int i = 0; i < 4; ++i ) { m.a[i] = this->a[i]; } in MTX22()
380 return m; in MTX22()
393 ResF32 m[2][3]; member
399 nw::math::MTX22 m; in MTX23() local
400 for (int i = 0; i < 6; ++i ) { m.a[i] = this->a[i]; } in MTX23()
401 return m; in MTX23()
415 ResF32 m[3][3]; member
421 nw::math::MTX33 m; in MTX33() local
[all …]
/NW4C-2.0.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-2.0.3/tools/DccPlugin/3dsMax/x64/2011/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-2.0.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-2.0.3/tools/DccPlugin/3dsMax/x86/2011/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-2.0.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-2.0.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-2.0.3/include/nw/gfx/
Dgfx_CalculatedTransform.h394 math::VEC3* v0 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[0]); in NormalizeRotateMatrix()
395 math::VEC3* v1 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[1]); in NormalizeRotateMatrix()
396 math::VEC3* v2 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[2]); in NormalizeRotateMatrix()
461 math::VEC3* v0 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[0]); in QuaternionToRotateMatrix()
462 math::VEC3* v1 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[1]); in QuaternionToRotateMatrix()
463 math::VEC3* v2 = reinterpret_cast<math::VEC3*>(&this->m_TransformMatrix.m[2]); in QuaternionToRotateMatrix()
488 const math::MTX34& m = this->TransformMatrix(); in AdjustZeroRotateMatrix() local
489 const math::VEC3* v0 = reinterpret_cast<const math::VEC3*>(&m.m[0]); in AdjustZeroRotateMatrix()
490 const math::VEC3* v1 = reinterpret_cast<const math::VEC3*>(&m.m[1]); in AdjustZeroRotateMatrix()
491 const math::VEC3* v2 = reinterpret_cast<const math::VEC3*>(&m.m[2]); in AdjustZeroRotateMatrix()
/NW4C-2.0.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-2.0.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-2.0.3/include/nw/lyt/
Dlyt_GraphicsResource.h376 void SetMtxModelView(const math::MTX34 m) in SetMtxModelView() argument
378 m_MtxModelView = m; in SetMtxModelView()
/NW4C-2.0.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-2.0.3/tools/DccPlugin/Maya/scripts/
DNW4C_CreateMenu.mel25 -m ("NintendoWare for CTR\n"
172 setParent -m ..;
/NW4C-2.0.3/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp875 translate.x = s_SpotLight->WorldMatrix().m[0][3]; in UpdateScene()
876 translate.y = s_SpotLight->WorldMatrix().m[1][3]; in UpdateScene()
877 translate.z = s_SpotLight->WorldMatrix().m[2][3]; in UpdateScene()
879 s_ShadowCamera->WorldMatrix().m[0][3] = translate.x; in UpdateScene()
880 s_ShadowCamera->WorldMatrix().m[1][3] = translate.y; in UpdateScene()
881 s_ShadowCamera->WorldMatrix().m[2][3] = translate.z; in UpdateScene()

12