| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_WorldMatrixUpdater.h | 131 math::VEC3* scale, 138 math::VEC3* scale, 145 math::VEC3* scale, 151 void MultScale(TMatrix* dstMatrix, const UMatrix* srcMatrix, const math::VEC3& scale) const in MultScale() argument 153 dstMatrix->f._00 = srcMatrix->f._00 * scale.x; in MultScale() 154 dstMatrix->f._10 = srcMatrix->f._10 * scale.x; in MultScale() 155 dstMatrix->f._20 = srcMatrix->f._20 * scale.x; in MultScale() 157 dstMatrix->f._01 = srcMatrix->f._01 * scale.y; in MultScale() 158 dstMatrix->f._11 = srcMatrix->f._11 * scale.y; in MultScale() 159 dstMatrix->f._21 = srcMatrix->f._21 * scale.y; in MultScale() [all …]
|
| D | gfx_TransformNode.h | 244 const math::VEC3& scale = math::VEC3(1.0f, 1.0f, 1.0f) 261 math::VEC3Mult(&resultScale, &scale, &resTransform.scale); 279 math::VEC3 scale; in SetResourceScaledTransform() local 281 nw::math::MTX34DecomposeToColumnScale(&scale, &transformMatrix); in SetResourceScaledTransform() 283 NW_ASSERT(scale.x > 0 && scale.y > 0 && scale.z > 0); in SetResourceScaledTransform() 285 matrix.f._00 = transformMatrix.f._00 / scale.x; in SetResourceScaledTransform() 286 matrix.f._10 = transformMatrix.f._10 / scale.x; in SetResourceScaledTransform() 287 matrix.f._20 = transformMatrix.f._20 / scale.x; in SetResourceScaledTransform() 288 matrix.f._01 = transformMatrix.f._01 / scale.y; in SetResourceScaledTransform() 289 matrix.f._11 = transformMatrix.f._11 / scale.y; in SetResourceScaledTransform() [all …]
|
| D | gfx_CalculatedTransform.h | 278 void SetScale(const math::VEC3& scale) in SetScale() argument 280 m_Scale = scale; in SetScale() 369 this->m_Scale = transform.scale; in SetTransform() 592 const math::VEC3& scale = this->m_Scale; in UpdateScaleFlags() local 593 if (scale.x == scale.y && scale.x == scale.z) in UpdateScaleFlags() 597 if (scale.x == 1.0f) in UpdateScaleFlags()
|
| D | gfx_Model.h | 881 f32 scale = 1.0f / this->WorldTransform().Scale().x; in UpdateModelViewMatrixAndNormalMatrix() 882 scaleMtx.SetupScale(math::VEC3(scale, scale, scale)); in UpdateModelViewMatrixAndNormalMatrix() 905 f32 scale = 1.0f / this->WorldTransform().Scale().x; in UpdateModelViewMatrixAndNormalMatrix() 906 scaleMtx.SetupScale(math::VEC3(scale, scale, scale)); in UpdateModelViewMatrixAndNormalMatrix()
|
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_WorldMatrixUpdater.cpp | 63 math::VEC3* scale, in CalculateWorldXsi() argument 70 NW_NULL_ASSERT(scale); in CalculateWorldXsi() 127 scale->Set(localTransform.m_Scale); in CalculateWorldXsi() 131 math::VEC3Mult(scale, &parentWorldTransform.m_Scale, &localTransform.m_Scale); in CalculateWorldXsi() 139 math::VEC3* scale, in CalculateWorldMayaSsc() argument 146 NW_NULL_ASSERT(scale); in CalculateWorldMayaSsc() 202 scale->Set(localTransform.m_Scale); in CalculateWorldMayaSsc() 206 math::VEC3Mult(scale, &parentWorldTransform.m_Scale, &localTransform.m_Scale); in CalculateWorldMayaSsc() 214 math::VEC3* scale, in CalculateWorldBasic() argument 221 NW_NULL_ASSERT(scale); in CalculateWorldBasic() [all …]
|
| D | gfx_TransformAnimEvaluator.cpp | 56 transform.scale = originalTransform->scale; in EvaluateMemberAnim() 60 transform.scale.x = (flags & anim::ResTransformAnimData::FLAG_SCALE_X_NOT_EXIST) ? in EvaluateMemberAnim() 61 originalTransform->scale.x : transformAnim.EvaluateScaleX(frame); in EvaluateMemberAnim() 62 transform.scale.y = (flags & anim::ResTransformAnimData::FLAG_SCALE_Y_NOT_EXIST) ? in EvaluateMemberAnim() 63 originalTransform->scale.y : transformAnim.EvaluateScaleY(frame); in EvaluateMemberAnim() 64 transform.scale.z = (flags & anim::ResTransformAnimData::FLAG_SCALE_Z_NOT_EXIST) ? in EvaluateMemberAnim() 65 originalTransform->scale.z : transformAnim.EvaluateScaleZ(frame); in EvaluateMemberAnim() 245 result->SetScale(originalTransform->scale); in EvaluateMemberBakedAnim() 247 const math::Vector3& scale = originalTransform->scale; in EvaluateMemberBakedAnim() local 248 if (scale.x == scale.y && scale.x == scale.z) in EvaluateMemberBakedAnim() [all …]
|
| D | gfx_TransformAnimBlendOp.cpp | 138 math::VEC3& scale = transform->m_Scale; in PostBlendAccurateScale() local 139 scale.x = math::FExp(scale.x); in PostBlendAccurateScale() 140 scale.y = math::FExp(scale.y); in PostBlendAccurateScale() 141 scale.z = math::FExp(scale.z); in PostBlendAccurateScale()
|
| D | gfx_AmbientLight.cpp | 164 const math::VEC3 scale(1.0f, 1.0f, 1.0f); in CreateResAmbientLight() local 167 resAmbientLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResAmbientLight()
|
| D | gfx_HemiSphereLight.cpp | 165 const math::VEC3 scale(1.0f, 1.0f, 1.0f); in CreateResHemiSphereLight() local 168 resHemiSphereLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResHemiSphereLight()
|
| D | gfx_VertexLight.cpp | 183 const math::VEC3 scale(1.0f, 1.0f, 1.0f); in CreateResVertexLight() local 186 resVertexLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResVertexLight()
|
| D | gfx_MaterialState.cpp | 423 math::Vector3 scale(scaleFactor, scaleFactor, scaleFactor); in ActivateTextureCoordinators() local 424 math::MTX34Scale(&scaleMatrix, &scale); in ActivateTextureCoordinators() 432 math::Vector3 scale(scaleFactor, scaleFactor, scaleFactor); in ActivateTextureCoordinators() local 433 math::MTX34Scale(&scaleMatrix, &scale); in ActivateTextureCoordinators()
|
| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_CurveAdshr.cpp | 352 s16 CurveAdshr::CalcDecibelSquare( int scale ) in CalcDecibelSquare() argument 354 NW_MINMAX_ASSERT( scale, 0, CALC_DECIBEL_SCALE_MAX ); in CalcDecibelSquare() 355 return DecibelSquareTable[ scale ]; in CalcDecibelSquare()
|
| D | snd_Util.cpp | 640 u16 Util::CalcLpfFreq( f32 scale ) in CalcLpfFreq() argument 642 scale = ut::Clamp( scale, 0.0f, 1.0f ); in CalcLpfFreq() 648 if ( scale < CALC_LPF_FREQ_INTERCEPT ) in CalcLpfFreq() 652 else if ( scale >= 0.9f ) in CalcLpfFreq() 658 int idx = static_cast<int>( (scale-CALC_LPF_FREQ_INTERCEPT) / (0.1f/3) ); in CalcLpfFreq()
|
| /NW4C-2.0.3/include/nw/lyt/ |
| D | lyt_DrawInfo.h | 180 void SetLocationAdjustScale(const math::VEC2& scale) in SetLocationAdjustScale() argument 182 m_LocationAdjustScale = scale; in SetLocationAdjustScale()
|
| /NW4C-2.0.3/sources/libraries/lyt/ |
| D | lyt_Util.cpp | 468 a0 = cosR * texSRT.scale.x; in CalcTextureMtx() 471 texSRT.scale.x * (-sinR); in CalcTextureMtx() 473 -sinR * texSRT.scale.y; in CalcTextureMtx() 482 texSRT.scale.y * sinR; in CalcTextureMtx() 484 sinR * texSRT.scale.x; in CalcTextureMtx() 486 a1 = cosR * texSRT.scale.y; in CalcTextureMtx()
|
| D | lyt_Material.cpp | 50 texSRTs[i].scale = res::Vec2(1.f, 1.f); in InitTexSRT() 246 texSRTs[i].scale = pResTexSRTs[i].scale; in Material() 608 f32 scale = 1.0f / 255.0f; in SetupGraphics() local 620 scale * 1.0f, in SetupGraphics() 621 scale * 1.0f, in SetupGraphics() 622 scale * 1.0f, in SetupGraphics() 623 scale * scale * alpha); in SetupGraphics()
|
| D | lyt_Pane.cpp | 329 m_Scale = pBlock->scale; in Pane() 598 math::VEC2 scale; in CalculateMtx() local 619 scale.Set(sx, sy); in CalculateMtx() 627 local::MakeMatrixSRT(m_Mtx, scale, m_Rotate, m_Translate); in CalculateMtx() 637 local::MakeMatrixSRT(m_Mtx, scale, m_Rotate.z, m_Translate); in CalculateMtx() 644 local::MultMatrixSRTxST(&m_GlbMtx, pParentMtx, &scale, &m_Translate); in CalculateMtx()
|
| /NW4C-2.0.3/include/nw/ut/ |
| D | ut_ResTypes.h | 316 ResVec2 scale; member 323 transform.scale = this->scale; in Transform2() 332 ResVec3 scale; member 339 transform.scale = this->scale; in Transform3()
|
| /NW4C-2.0.3/sources/libraries/gfx/res/ |
| D | gfx_ResMesh.cpp | 118 f32 scale = vertexStream.GetScale(); in ResSeparateDataShape_SetupVertexIrScale() local 120 … if ( commandIndex >= 0 ) { command[ commandIndex ] = ut::Float32::Float32ToBits32(scale); } in ResSeparateDataShape_SetupVertexIrScale() 121 NW_ASSERT( ! ( (commandIndex == BONE_INDEX_SCALE_INDEX) && (scale != 1.0f)) ); in ResSeparateDataShape_SetupVertexIrScale()
|
| /NW4C-2.0.3/sources/libraries/anim/res/ |
| D | anim_ResAnim.cpp | 297 transform.scale.x = (flags & ResTransformAnimData::FLAG_SCALE_X_NOT_EXIST) ? in EvaluateResult() 298 originalTransform.scale.x : EvaluateScaleX(frame); in EvaluateResult() 299 transform.scale.y = (flags & ResTransformAnimData::FLAG_SCALE_Y_NOT_EXIST) ? in EvaluateResult() 300 originalTransform.scale.y : EvaluateScaleY(frame); in EvaluateResult() 301 transform.scale.z = (flags & ResTransformAnimData::FLAG_SCALE_Z_NOT_EXIST) ? in EvaluateResult() 302 originalTransform.scale.z : EvaluateScaleZ(frame); in EvaluateResult()
|
| /NW4C-2.0.3/include/nw/gfx/res/ |
| D | gfx_ResFragmentShader.h | 418 void SetScaleF32(f32 scale) in SetScaleF32() argument 420 if (scale == 1.0f) { ref().m_Scale = SCALE_1; } in SetScaleF32() 421 else if (scale == 2.0f) { ref().m_Scale = SCALE_2; } in SetScaleF32() 422 else if (scale == 4.0f) { ref().m_Scale = SCALE_4; } in SetScaleF32() 423 else if (scale == 8.0f) { ref().m_Scale = SCALE_8; } in SetScaleF32() 424 else if (scale == 0.25f) { ref().m_Scale = SCALE_0_25; } in SetScaleF32() 425 else if (scale == 0.5f) { ref().m_Scale = SCALE_0_5; } in SetScaleF32()
|
| D | gfx_ResMaterial.h | 247 void SetVertexColorScale(f32 scale) { ref().m_AmbientAndVertexColorScale.a = scale; } in SetVertexColorScale() argument 1197 void SetScale(const nw::math::VEC2& scale) in SetScale() argument 1199 if (this->ref().m_Scale != scale) in SetScale() 1201 this->ref().m_Scale.Set(scale.x, scale.y); in SetScale()
|
| /NW4C-2.0.3/include/nw/snd/ |
| D | snd_CurveAdshr.h | 84 static s16 CalcDecibelSquare( int scale );
|
| /NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2009/Scripts/Startup/ |
| D | NW4C_menu.ms | 101 …spinner spnMagnify "Magnify: " width:120 height:16 range:[0.0001,10000,1] type:#float scale:0.1 a… 106 spinner spnTimeStart "" width:64 height:16 range:[0,100000,0] type:#integer scale:1 align:#left 107 …spinner spnTimeEnd "" width:64 height:16 range:[0,100000,100] type:#integer scale:1 align:#left … 195 …pnReserveUniform "Max Reserved Uniform Registers:" width:160 range:[0,60,0] type:#integer scale:1\ 201 …spnReserveUniform "Max Reserved Uniform Registers:" width:80 range:[0,60,0] type:#integer scale:1\ 264 …Node Translate:" width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 align:#right … 265 … "Tex Translate:" width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 align:#right 266 …spinner spnToleranceColor "Color:" width:80 height:16 range:[0.0001,100,0.001] type:#float scale:… 268 …" Node Rotate:" width:80 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 align:#right … 269 …xR " Tex Rotate:" width:80 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 align:#right [all …]
|
| /NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2011/Scripts/Startup/ |
| D | NW4C_menu.ms | 101 …spinner spnMagnify "Magnify: " width:120 height:16 range:[0.0001,10000,1] type:#float scale:0.1 a… 106 spinner spnTimeStart "" width:64 height:16 range:[0,100000,0] type:#integer scale:1 align:#left 107 …spinner spnTimeEnd "" width:64 height:16 range:[0,100000,100] type:#integer scale:1 align:#left … 195 …pnReserveUniform "Max Reserved Uniform Registers:" width:160 range:[0,60,0] type:#integer scale:1\ 201 …spnReserveUniform "Max Reserved Uniform Registers:" width:80 range:[0,60,0] type:#integer scale:1\ 264 …Node Translate:" width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 align:#right … 265 … "Tex Translate:" width:80 height:16 range:[0.0001,100,0.01] type:#float scale:0.01 align:#right 266 …spinner spnToleranceColor "Color:" width:80 height:16 range:[0.0001,100,0.001] type:#float scale:… 268 …" Node Rotate:" width:80 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 align:#right … 269 …xR " Tex Rotate:" width:80 height:16 range:[0.0001,100,0.1] type:#float scale:0.01 align:#right [all …]
|