| /NW4C-1.2.23/include/nw/gfx/ |
| D | gfx_WorldMatrixUpdater.h | 129 math::VEC3* scale, 136 math::VEC3* scale, 143 math::VEC3* scale, 149 void MultScale(TMatrix* dstMatrix, const UMatrix* srcMatrix, const math::VEC3& scale) const in MultScale() argument 151 dstMatrix->f._00 = srcMatrix->f._00 * scale.x; in MultScale() 152 dstMatrix->f._10 = srcMatrix->f._10 * scale.x; in MultScale() 153 dstMatrix->f._20 = srcMatrix->f._20 * scale.x; in MultScale() 155 dstMatrix->f._01 = srcMatrix->f._01 * scale.y; in MultScale() 156 dstMatrix->f._11 = srcMatrix->f._11 * scale.y; in MultScale() 157 dstMatrix->f._21 = srcMatrix->f._21 * scale.y; in MultScale() [all …]
|
| D | gfx_CalculatedTransform.h | 268 void SetScale(const math::VEC3& scale) in SetScale() argument 270 m_Scale = scale; in SetScale() 359 this->m_Scale = transform.scale; in SetTransform() 536 const math::VEC3& scale = this->m_Scale; in UpdateScaleFlags() local 537 if (scale.x == scale.y && scale.x == scale.z) in UpdateScaleFlags() 541 if (scale.x == 1.0f) in UpdateScaleFlags()
|
| D | gfx_Model.h | 864 f32 scale = 1.0f / this->WorldTransform().Scale().x; in UpdateModelViewMatrixAndNormalMatrix() 865 scaleMtx.SetupScale(math::VEC3(scale, scale, scale)); in UpdateModelViewMatrixAndNormalMatrix() 888 f32 scale = 1.0f / this->WorldTransform().Scale().x; in UpdateModelViewMatrixAndNormalMatrix() 889 scaleMtx.SetupScale(math::VEC3(scale, scale, scale)); in UpdateModelViewMatrixAndNormalMatrix()
|
| /NW4C-1.2.23/sources/libraries/gfx/ |
| D | gfx_WorldMatrixUpdater.cpp | 61 math::VEC3* scale, in CalculateWorldXsi() argument 68 NW_NULL_ASSERT(scale); in CalculateWorldXsi() 125 scale->Set(localTransform.m_Scale); in CalculateWorldXsi() 129 math::VEC3Mult(scale, &parentWorldTransform.m_Scale, &localTransform.m_Scale); in CalculateWorldXsi() 137 math::VEC3* scale, in CalculateWorldMayaSsc() argument 144 NW_NULL_ASSERT(scale); in CalculateWorldMayaSsc() 200 scale->Set(localTransform.m_Scale); in CalculateWorldMayaSsc() 204 math::VEC3Mult(scale, &parentWorldTransform.m_Scale, &localTransform.m_Scale); in CalculateWorldMayaSsc() 212 math::VEC3* scale, in CalculateWorldBasic() argument 219 NW_NULL_ASSERT(scale); in CalculateWorldBasic() [all …]
|
| D | gfx_TransformAnim.cpp | 246 math::VEC3& scale = transform->m_Scale; in PostBlendAccurateScale() local 247 scale.x = math::FExp(scale.x); in PostBlendAccurateScale() 248 scale.y = math::FExp(scale.y); in PostBlendAccurateScale() 249 scale.z = math::FExp(scale.z); in PostBlendAccurateScale() 468 transform.scale = originalTransform->scale; in EvaluateMemberAnim() 472 transform.scale.x = (flags & anim::ResTransformAnimData::FLAG_SCALE_X_NOT_EXIST) ? in EvaluateMemberAnim() 473 originalTransform->scale.x : transformAnim.EvaluateScaleX(frame); in EvaluateMemberAnim() 474 transform.scale.y = (flags & anim::ResTransformAnimData::FLAG_SCALE_Y_NOT_EXIST) ? in EvaluateMemberAnim() 475 originalTransform->scale.y : transformAnim.EvaluateScaleY(frame); in EvaluateMemberAnim() 476 transform.scale.z = (flags & anim::ResTransformAnimData::FLAG_SCALE_Z_NOT_EXIST) ? in EvaluateMemberAnim() [all …]
|
| D | gfx_AmbientLight.cpp | 131 const math::VEC3 scale(1.0f, 1.0f, 1.0f); in CreateResAmbientLight() local 134 resAmbientLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResAmbientLight()
|
| D | gfx_HemiSphereLight.cpp | 132 const math::VEC3 scale(1.0f, 1.0f, 1.0f); in CreateResHemiSphereLight() local 135 resHemiSphereLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResHemiSphereLight()
|
| D | gfx_VertexLight.cpp | 150 const math::VEC3 scale(1.0f, 1.0f, 1.0f); in CreateResVertexLight() local 153 resVertexLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResVertexLight()
|
| D | gfx_FragmentLight.cpp | 149 const math::VEC3 scale(1.0f, 1.0f, 1.0f); in CreateResFragmentLight() local 152 resFragmentLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResFragmentLight()
|
| /NW4C-1.2.23/sources/libraries/snd/ |
| D | snd_Util.cpp | 636 u16 Util::CalcLpfFreq( f32 scale ) in CalcLpfFreq() argument 638 scale = ut::Clamp( scale, 0.0f, 1.0f ); in CalcLpfFreq() 644 if ( scale < CALC_LPF_FREQ_INTERCEPT ) in CalcLpfFreq() 648 else if ( scale >= 0.9f ) in CalcLpfFreq() 654 int idx = static_cast<int>( (scale-CALC_LPF_FREQ_INTERCEPT) / (0.1f/3) ); in CalcLpfFreq()
|
| D | snd_CurveAdshr.cpp | 350 s16 CurveAdshr::CalcDecibelSquare( int scale ) in CalcDecibelSquare() argument 352 NW_MINMAX_ASSERT( scale, 0, CALC_DECIBEL_SCALE_MAX ); in CalcDecibelSquare() 353 return DecibelSquareTable[ scale ]; in CalcDecibelSquare()
|
| /NW4C-1.2.23/sources/libraries/lyt/ |
| D | lyt_Util.cpp | 386 a0 = cosR * texSRT.scale.x; in CalcTextureMtx() 389 texSRT.scale.x * (-sinR); in CalcTextureMtx() 391 -sinR * texSRT.scale.y; in CalcTextureMtx() 400 texSRT.scale.y * sinR; in CalcTextureMtx() 402 sinR * texSRT.scale.x; in CalcTextureMtx() 404 a1 = cosR * texSRT.scale.y; in CalcTextureMtx()
|
| D | lyt_Material.cpp | 48 texSRTs[i].scale = res::Vec2(1.f, 1.f); in InitTexSRT() 244 texSRTs[i].scale = pResTexSRTs[i].scale; in Material() 606 f32 scale = 1.0f / 255.0f; in SetupGraphics() local 618 scale * 1.0f, in SetupGraphics() 619 scale * 1.0f, in SetupGraphics() 620 scale * 1.0f, in SetupGraphics() 621 scale * scale * alpha); in SetupGraphics()
|
| D | lyt_Pane.cpp | 327 m_Scale = pBlock->scale; in Pane() 596 math::VEC2 scale; in CalculateMtx() local 617 scale.Set(sx, sy); in CalculateMtx() 625 local::MakeMatrixSRT(m_Mtx, scale, m_Rotate, m_Translate); in CalculateMtx() 635 local::MakeMatrixSRT(m_Mtx, scale, m_Rotate.z, m_Translate); in CalculateMtx() 642 local::MultMatrixSRTxST(&m_GlbMtx, pParentMtx, &scale, &m_Translate); in CalculateMtx()
|
| /NW4C-1.2.23/include/nw/lyt/ |
| D | lyt_DrawInfo.h | 178 void SetLocationAdjustScale(const math::VEC2& scale) in SetLocationAdjustScale() argument 180 m_LocationAdjustScale = scale; in SetLocationAdjustScale()
|
| /NW4C-1.2.23/sources/libraries/gfx/res/ |
| D | gfx_ResMesh.cpp | 116 f32 scale = vertexStream.GetScale(); in ResSeparateDataShape_SetupVertexIrScale() local 118 … if ( commandIndex >= 0 ) { command[ commandIndex ] = ut::Float32::Float32ToBits32(scale); } in ResSeparateDataShape_SetupVertexIrScale() 119 NW_ASSERT( ! ( (commandIndex == BONE_INDEX_SCALE_INDEX) && (scale != 1.0f)) ); in ResSeparateDataShape_SetupVertexIrScale()
|
| /NW4C-1.2.23/include/nw/ut/ |
| D | ut_ResTypes.h | 314 ResVec2 scale; member 321 transform.scale = this->scale; in Transform2() 330 ResVec3 scale; member 337 transform.scale = this->scale; in Transform3()
|
| /NW4C-1.2.23/tools/DccPlugin/3dsMax/x86/2010/Scripts/Startup/ |
| D | NW4C_menu.ms | 31 …pnMagnify "Magnify: " pos:[40,136] width:120 height:16 range:[0.0001,10000,1] type:#float scale:0.1 34 spinner spnTimeStart "" pos:[248,160] width:64 height:16 range:[0,100000,0] type:#integer scale:1 35 spinner spnTimeEnd "" pos:[320,160] width:64 height:16 range:[0,100000,100] type:#integer scale:1 66 …slate Precision:" pos:[340,368] width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 67 …otate Precision:" pos:[342,392] width:78 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 68 …Scale Precision:" pos:[344,416] width:76 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 76 …eserved Uniform Registers:" pos:[160,450] width:80 height:16 range:[0,60,0] type:#integer scale:1 93 … "Node Translate:" pos:[80,584] width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 94 …odeR "Node Rotate:" pos:[82,608] width:78 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 95 …NodeS "Node Scale:" pos:[84,632] width:76 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 [all …]
|
| /NW4C-1.2.23/tools/DccPlugin/3dsMax/x64/2009/Scripts/Startup/ |
| D | NW4C_menu.ms | 31 …pnMagnify "Magnify: " pos:[40,136] width:120 height:16 range:[0.0001,10000,1] type:#float scale:0.1 34 spinner spnTimeStart "" pos:[248,160] width:64 height:16 range:[0,100000,0] type:#integer scale:1 35 spinner spnTimeEnd "" pos:[320,160] width:64 height:16 range:[0,100000,100] type:#integer scale:1 66 …slate Precision:" pos:[340,368] width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 67 …otate Precision:" pos:[342,392] width:78 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 68 …Scale Precision:" pos:[344,416] width:76 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 76 …eserved Uniform Registers:" pos:[160,450] width:80 height:16 range:[0,60,0] type:#integer scale:1 93 … "Node Translate:" pos:[80,584] width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 94 …odeR "Node Rotate:" pos:[82,608] width:78 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 95 …NodeS "Node Scale:" pos:[84,632] width:76 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 [all …]
|
| /NW4C-1.2.23/tools/DccPlugin/3dsMax/x86/2009/Scripts/Startup/ |
| D | NW4C_menu.ms | 31 …pnMagnify "Magnify: " pos:[40,136] width:120 height:16 range:[0.0001,10000,1] type:#float scale:0.1 34 spinner spnTimeStart "" pos:[248,160] width:64 height:16 range:[0,100000,0] type:#integer scale:1 35 spinner spnTimeEnd "" pos:[320,160] width:64 height:16 range:[0,100000,100] type:#integer scale:1 66 …slate Precision:" pos:[340,368] width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 67 …otate Precision:" pos:[342,392] width:78 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 68 …Scale Precision:" pos:[344,416] width:76 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 76 …eserved Uniform Registers:" pos:[160,450] width:80 height:16 range:[0,60,0] type:#integer scale:1 93 … "Node Translate:" pos:[80,584] width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 94 …odeR "Node Rotate:" pos:[82,608] width:78 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 95 …NodeS "Node Scale:" pos:[84,632] width:76 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 [all …]
|
| /NW4C-1.2.23/tools/DccPlugin/3dsMax/x64/2010/Scripts/Startup/ |
| D | NW4C_menu.ms | 31 …pnMagnify "Magnify: " pos:[40,136] width:120 height:16 range:[0.0001,10000,1] type:#float scale:0.1 34 spinner spnTimeStart "" pos:[248,160] width:64 height:16 range:[0,100000,0] type:#integer scale:1 35 spinner spnTimeEnd "" pos:[320,160] width:64 height:16 range:[0,100000,100] type:#integer scale:1 66 …slate Precision:" pos:[340,368] width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 67 …otate Precision:" pos:[342,392] width:78 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 68 …Scale Precision:" pos:[344,416] width:76 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 76 …eserved Uniform Registers:" pos:[160,450] width:80 height:16 range:[0,60,0] type:#integer scale:1 93 … "Node Translate:" pos:[80,584] width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 94 …odeR "Node Rotate:" pos:[82,608] width:78 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 95 …NodeS "Node Scale:" pos:[84,632] width:76 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 [all …]
|
| /NW4C-1.2.23/sources/libraries/anim/res/ |
| D | anim_ResAnim.cpp | 295 transform.scale.x = (flags & ResTransformAnimData::FLAG_SCALE_X_NOT_EXIST) ? in EvaluateResult() 296 originalTransform.scale.x : EvaluateScaleX(frame); in EvaluateResult() 297 transform.scale.y = (flags & ResTransformAnimData::FLAG_SCALE_Y_NOT_EXIST) ? in EvaluateResult() 298 originalTransform.scale.y : EvaluateScaleY(frame); in EvaluateResult() 299 transform.scale.z = (flags & ResTransformAnimData::FLAG_SCALE_Z_NOT_EXIST) ? in EvaluateResult() 300 originalTransform.scale.z : EvaluateScaleZ(frame); in EvaluateResult()
|
| /NW4C-1.2.23/include/nw/gfx/res/ |
| D | gfx_ResFragmentShader.h | 405 void SetScaleF32(f32 scale) in SetScaleF32() argument 407 if (scale == 1.0f) { ref().m_Scale = SCALE_1; } in SetScaleF32() 408 else if (scale == 2.0f) { ref().m_Scale = SCALE_2; } in SetScaleF32() 409 else if (scale == 4.0f) { ref().m_Scale = SCALE_4; } in SetScaleF32() 410 else if (scale == 8.0f) { ref().m_Scale = SCALE_8; } in SetScaleF32() 411 else if (scale == 0.25f) { ref().m_Scale = SCALE_0_25; } in SetScaleF32() 412 else if (scale == 0.5f) { ref().m_Scale = SCALE_0_5; } in SetScaleF32()
|
| D | gfx_ResMaterial.h | 241 void SetVertexColorScale(f32 scale) { ref().m_AmbientAndVertexColorScale.a = scale; } in SetVertexColorScale() argument 1168 void SetScale(const nw::math::VEC2& scale) in SetScale() argument 1170 if (this->ref().m_Scale != scale) in SetScale() 1172 this->ref().m_Scale.Set(scale.x, scale.y); in SetScale()
|
| /NW4C-1.2.23/include/nw/snd/ |
| D | snd_CurveAdshr.h | 82 static s16 CalcDecibelSquare( int scale );
|