[add] Base cinemachine
This commit is contained in:
@@ -23,27 +23,16 @@ void CCamera_Cinematic::Priority_Update(_float fTimeDelta)
|
||||
return;
|
||||
}
|
||||
if (false == m_bIsCurrentTransition) {
|
||||
if (m_bEnable_FollowLerp) {
|
||||
_float fTimeDenom = max(m_vFollowLerpTime.y, FLT_EPSILON);
|
||||
_vector vNewPos = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&m_vFollowPos_Src), XMLoadFloat3(&m_vFollowPos_Dest), CMyTools::Saturate(m_vFollowLerpTime.x / fTimeDenom)), 1.f);
|
||||
m_pTransformCom->Set_State(STATE::POSITION, vNewPos);
|
||||
}
|
||||
else {
|
||||
m_pTransformCom->Set_State(STATE::POSITION, m_pFollowTarget->Get_Component<CTransform>()->Get_State(STATE::POSITION));
|
||||
}
|
||||
if (m_bEnable_LookLerp) {
|
||||
_float fTimeDenom = max(m_vLookLerpTime.y, FLT_EPSILON);
|
||||
_vector vNewLook = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&m_vLookPos_Src), XMLoadFloat3(&m_vLookPos_Dest), CMyTools::Saturate(m_vLookLerpTime.x / fTimeDenom)), 1.f);
|
||||
m_pTransformCom->LookAt(vNewLook);
|
||||
}
|
||||
else {
|
||||
m_pTransformCom->LookAt(m_pLookTarget->Get_Component<CTransform>()->Get_State(STATE::POSITION));
|
||||
}
|
||||
m_pLookTargetPart->Priority_Update(fTimeDelta);
|
||||
m_pFollowTargetPart->Priority_Update(fTimeDelta);
|
||||
m_pTransformCom->Set_State(STATE::POSITION, m_pFollowTargetPart->Get_WorldPostion());
|
||||
m_pTransformCom->LookAt(m_pLookTargetPart->Get_WorldPostion());
|
||||
}
|
||||
else {
|
||||
|
||||
Transition(fTimeDelta);
|
||||
}
|
||||
m_bActive = true;
|
||||
Update_LerpTimer(fTimeDelta);
|
||||
__super::Bind_Matrices();
|
||||
}
|
||||
|
||||
@@ -55,8 +44,6 @@ void CCamera_Cinematic::Update(_float fTimeDelta)
|
||||
if (false == m_bActive) {
|
||||
return;
|
||||
}
|
||||
Transition(fTimeDelta);
|
||||
Update_LerpTimer(fTimeDelta);
|
||||
}
|
||||
void CCamera_Cinematic::Late_Update(_float fTimeDelta)
|
||||
{
|
||||
@@ -86,24 +73,8 @@ void CCamera_Cinematic::Update_LerpTimer(_float fTimeDelta)
|
||||
return;
|
||||
}
|
||||
Lerp_Translation(fTimeDelta);
|
||||
Lerp_Rotation(fTimeDelta);
|
||||
Lerp_FovY(fTimeDelta);
|
||||
if (true == m_bEnable_LookLerp) {
|
||||
m_vLookLerpTime.x += fTimeDelta;
|
||||
if (m_vLookLerpTime.y <= m_vLookLerpTime.x) {
|
||||
m_vLookLerpTime.x = 0.f;
|
||||
XMStoreFloat3(&m_vLookPos_Src, XMLoadFloat3(&m_vLookPos_Dest));
|
||||
XMStoreFloat3(&m_vLookPos_Dest, m_pLookTarget->Get_WorldPostion());
|
||||
}
|
||||
}
|
||||
|
||||
if (true == m_bEnable_FollowLerp) {
|
||||
m_vFollowLerpTime.x += fTimeDelta;
|
||||
if (m_vFollowLerpTime.y <= m_vFollowLerpTime.x) {
|
||||
m_vFollowLerpTime.x = 0.f;
|
||||
XMStoreFloat3(&m_vFollowPos_Src, m_pTransformCom->Get_State(STATE::POSITION));
|
||||
XMStoreFloat3(&m_vFollowPos_Dest, m_pFollowTarget->Get_WorldPostion());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void CCamera_Cinematic::Set_Priority(_uint iPriority)
|
||||
@@ -131,12 +102,7 @@ void CCamera_Cinematic::Trigger(CTimeSocket& Socket)
|
||||
break;
|
||||
case TIMESOCKET_FUNC::TRANSLATION:
|
||||
{
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3((_float3*)&pContents->pxTransform.p), 1.f));
|
||||
m_pTransformCom->RotationQ(pContents->pxTransform.q);
|
||||
|
||||
_vector vNewPos = m_pTransformCom->Get_State(STATE::POSITION);
|
||||
m_pFollowTargetPart->Set_WorldPostion(vNewPos);
|
||||
m_pLookTargetPart->Set_WorldPostion(vNewPos + m_pTransformCom->Get_State(STATE::LOOK) * 10.f);
|
||||
m_pFollowTargetPart->Set_WorldPostion(XMVectorSetW(XMLoadFloat3((_float3*)&pContents->pxTransform.p), 1.f));
|
||||
Clear_Lerp_Translation();
|
||||
} break;
|
||||
case TIMESOCKET_FUNC::TRANSLATION_LERP:
|
||||
@@ -144,6 +110,16 @@ void CCamera_Cinematic::Trigger(CTimeSocket& Socket)
|
||||
Clear_Lerp_Translation();
|
||||
Start_Lerp_Translation(pContents->vParam_11.x, pContents->pxTransform);
|
||||
} break;
|
||||
case TIMESOCKET_FUNC::ROTATION: {
|
||||
m_pTransformCom->RotationQ(pContents->pxTransform.q);
|
||||
m_pLookTargetPart->Set_WorldPostion(m_pTransformCom->Get_State(STATE::POSITION) + m_pTransformCom->Get_State(STATE::LOOK) * 10.f);
|
||||
Clear_Lerp_Rotation();
|
||||
} break;
|
||||
case TIMESOCKET_FUNC::ROTATION_LERP:
|
||||
{
|
||||
Clear_Lerp_Rotation();
|
||||
Start_Lerp_Rotation(pContents->vParam_11.x, pContents->pxTransform);
|
||||
} break;
|
||||
case TIMESOCKET_FUNC::LOOK_AT:
|
||||
{
|
||||
Set_LookTarget(pContents->pOtherTarget);
|
||||
@@ -232,25 +208,22 @@ void CCamera_Cinematic::Lerp_Translation(_float fTimeDelta)
|
||||
m_vLerpTranslationTimer.x = m_vLerpTranslationTimer.y;
|
||||
m_bLerpTranslation = false;
|
||||
}
|
||||
_float4x4 ResultMatrix = {};
|
||||
CMyTools::MatrixLerp(&m_vLerpTranslationStart, &m_vLerpTranslationEnd, &m_vLerpRotQStart, &m_vLerpRotQEnd,
|
||||
ResultMatrix, m_vLerpTranslationTimer.x / m_vLerpTranslationTimer.y);
|
||||
m_pTransformCom->Set_WorldMatrix(ResultMatrix);
|
||||
|
||||
_vector vPos = XMVectorSetW(XMVectorLerp(XMLoadFloat3(&m_vLerpTranslationStart), XMLoadFloat3(&m_vLerpTranslationEnd), m_vLerpTranslationTimer.x / m_vLerpTranslationTimer.y), 1.f);
|
||||
m_pFollowTargetPart->Set_WorldPostion(vPos);
|
||||
}
|
||||
}
|
||||
void CCamera_Cinematic::Start_Lerp_Translation(_float fTimeMaximum, PSX::PxTransform pxTransform)
|
||||
{
|
||||
_float3 vTrans = { pxTransform.p.x , pxTransform.p.y, pxTransform.p.z };
|
||||
_float4 vRotQ = { pxTransform.q.x, pxTransform.q.y, pxTransform.q.z, pxTransform.q.w };
|
||||
Start_Lerp_Translation(fTimeMaximum, vTrans, vRotQ);
|
||||
Start_Lerp_Translation(fTimeMaximum, vTrans);
|
||||
}
|
||||
void CCamera_Cinematic::Start_Lerp_Translation(_float fTimeMaximum, _float3& vTrans, _float4& vRotQ)
|
||||
void CCamera_Cinematic::Start_Lerp_Translation(_float fTimeMaximum, _float3& vTrans)
|
||||
{
|
||||
m_bLerpTranslation = { fTimeMaximum != 0 };
|
||||
m_vLerpTranslationTimer = { 0.f, fTimeMaximum };
|
||||
m_pTransformCom->Compress_WorldMatrix(m_vLerpTranslationStart, m_vLerpRotQStart);
|
||||
XMStoreFloat3(&m_vLerpTranslationStart, m_pTransformCom->Get_State(STATE::POSITION));
|
||||
m_vLerpTranslationEnd = vTrans;
|
||||
m_vLerpRotQEnd = vRotQ;
|
||||
}
|
||||
void CCamera_Cinematic::Clear_Lerp_Translation()
|
||||
{
|
||||
@@ -258,6 +231,36 @@ void CCamera_Cinematic::Clear_Lerp_Translation()
|
||||
m_vLerpTranslationTimer = {};
|
||||
m_vLerpTranslationStart = {};
|
||||
m_vLerpTranslationEnd = {};
|
||||
}
|
||||
void CCamera_Cinematic::Lerp_Rotation(_float fTimeDelta)
|
||||
{
|
||||
if (true == m_bLerpRotiation) {
|
||||
m_vLerpRotiationTimer.x += fTimeDelta;
|
||||
if (m_vLerpRotiationTimer.y < m_vLerpRotiationTimer.x) {
|
||||
m_vLerpRotiationTimer.x = m_vLerpRotiationTimer.y;
|
||||
m_bLerpRotiation = false;
|
||||
}
|
||||
_vector vRotQ = XMQuaternionSlerp(XMLoadFloat4(&m_vLerpRotQStart), XMLoadFloat4(&m_vLerpRotQEnd), m_vLerpRotiationTimer.x / m_vLerpRotiationTimer.y);
|
||||
_vector vPos = m_pTransformCom->Get_State(STATE::POSITION);
|
||||
m_pLookTargetPart->Get_Component<CTransform>()->RotationQ(vRotQ);
|
||||
}
|
||||
}
|
||||
void CCamera_Cinematic::Start_Lerp_Rotation(_float fTimeMaximum, PSX::PxTransform pxTransform)
|
||||
{
|
||||
_float4 vRotQ = { pxTransform.q.x, pxTransform.q.y, pxTransform.q.z, pxTransform.q.w };
|
||||
Start_Lerp_Rotation(fTimeMaximum, vRotQ);
|
||||
}
|
||||
void CCamera_Cinematic::Start_Lerp_Rotation(_float fTimeMaximum, _float4& vRotQ)
|
||||
{
|
||||
m_bLerpRotiation = { fTimeMaximum != 0 };
|
||||
m_vLerpRotiationTimer = { 0.f, fTimeMaximum };
|
||||
XMStoreFloat4(&m_vLerpRotQStart, m_pTransformCom->Get_QuarternionVector());
|
||||
m_vLerpRotQEnd = vRotQ;
|
||||
}
|
||||
void CCamera_Cinematic::Clear_Lerp_Rotation()
|
||||
{
|
||||
m_bLerpRotiation = { false };
|
||||
m_vLerpRotiationTimer = {};
|
||||
m_vLerpRotQStart = {};
|
||||
m_vLerpRotQEnd = {};
|
||||
}
|
||||
|
||||
@@ -531,21 +531,23 @@ void CLevel_Field::Load_CutSceneXML(const string& path, CCamera* pCamera, CMonst
|
||||
SocketContents.strEventName = pEventNameText ? pEventNameText : "";
|
||||
|
||||
SocketContents.eTypeParam = TIMESOCKET_PARAM::END;
|
||||
if (const _char* pTypeText = pInfoNode->Attribute("eTypeParam"))
|
||||
const _char* pTypeText = pInfoNode->Attribute("eTypeParam");
|
||||
if (nullptr != pTypeText)
|
||||
{
|
||||
CTimeSocket::TryParse_TimeSocketParam(string_view(pTypeText), SocketContents.eTypeParam);
|
||||
}
|
||||
|
||||
SocketContents.eTypeFunc = TIMESOCKET_FUNC::END;
|
||||
if (const _char* pFuncText = pInfoNode->Attribute("eTypeFunc"))
|
||||
const _char* pFuncText = pInfoNode->Attribute("eTypeFunc");
|
||||
if (nullptr != pFuncText)
|
||||
{
|
||||
CTimeSocket::TryParse_TimeSocketFunc(string_view(pFuncText), SocketContents.eTypeFunc);
|
||||
}
|
||||
|
||||
SocketContents.pEventTarget = nullptr;
|
||||
SocketContents.funcEvent = nullptr;
|
||||
|
||||
if (const _char* pTargetText = pInfoNode->Attribute("pTarget"))
|
||||
const _char* pTargetText = pInfoNode->Attribute("pTarget");
|
||||
if (nullptr != pTargetText)
|
||||
{
|
||||
if (strcmp(pTargetText, "CAMERA_CINEMATIC") == 0)
|
||||
{
|
||||
@@ -565,6 +567,12 @@ void CLevel_Field::Load_CutSceneXML(const string& path, CCamera* pCamera, CMonst
|
||||
SocketContents.pEventTarget = pEventTarget;
|
||||
SocketContents.funcEvent = [pEventTarget](CTimeSocket& Socket) { pEventTarget->Trigger(Socket); };
|
||||
}
|
||||
else if (strcmp(pTargetText, "ACTOR_RANROK") == 0)
|
||||
{
|
||||
CMonster* pEventTarget = pMonster;
|
||||
SocketContents.pEventTarget = pEventTarget;
|
||||
SocketContents.funcEvent = [pEventTarget](CTimeSocket& Socket) { pEventTarget->Trigger(Socket); };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1108,6 +1108,9 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
|
||||
FX_MESH,
|
||||
TEXT("../Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl"), VTXMESH::Elements, VTXMESH::iNumElements));
|
||||
jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
|
||||
FX_VTXPOS,
|
||||
TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl"), VTXPOS::Elements, VTXPOS::iNumElements));
|
||||
}
|
||||
|
||||
#pragma endregion
|
||||
|
||||
@@ -80,6 +80,7 @@ HRESULT CRanrok::Initialize(void* pArg)
|
||||
|
||||
m_pModelCom->Set_DisableRootMotionScale(true);
|
||||
|
||||
m_pTransformCom->Compress_WorldMatrix(m_vInitialTrans, m_vInitialRotQ);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -336,7 +337,9 @@ void CRanrok::Trigger(CTimeSocket& Socket)
|
||||
}break;
|
||||
case TIMESOCKET_FUNC::SET_FSMSTATE:
|
||||
{
|
||||
m_pFSM->Change_State(FSMSTATE::TUCKED);
|
||||
if (Socket.m_Contents.vFlags.b[0]) {
|
||||
m_pFSM->Change_State(FSMSTATE::TUCKED);
|
||||
}
|
||||
}break;
|
||||
default:
|
||||
break;
|
||||
@@ -990,7 +993,13 @@ void CRanrok::Describe_Entity()
|
||||
GUI::Begin("UNIT", 0, IMGUI_GLOBAL_BEGIN_FLAG);
|
||||
if (GUI::CollapsingHeader("Ranrak")) {
|
||||
__super::Describe_Entity();
|
||||
|
||||
if (GUI::SmallButton("ResetPos")) {
|
||||
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSetW(XMLoadFloat3(&m_vInitialTrans), 1.f));
|
||||
m_pCharacter_Controller->Set_Position(m_pTransformCom->Get_State(STATE::POSITION));
|
||||
m_pTransformCom->RotationQ(XMLoadFloat4(&m_vInitialRotQ));
|
||||
m_iCurrentFlow = 0;
|
||||
m_iCurrentPoint = 0;
|
||||
}
|
||||
string AnimList = m_pModelCom->Get_AnimList(m_pModelCom->Get_AnimIndex());
|
||||
GUI::Text(AnimList.c_str());
|
||||
|
||||
|
||||
@@ -41,8 +41,12 @@ class CCamera_Cinematic final : public CCamera
|
||||
|
||||
void Lerp_Translation(_float fTimeDelta);
|
||||
void Start_Lerp_Translation(_float fTimeMaximum, PSX::PxTransform pxTransform);
|
||||
void Start_Lerp_Translation(_float fTimeMaximum, _float3& vTrans, _float4& vRotQ);
|
||||
void Start_Lerp_Translation(_float fTimeMaximum, _float3& vTrans);
|
||||
void Clear_Lerp_Translation();
|
||||
void Lerp_Rotation(_float fTimeDelta);
|
||||
void Start_Lerp_Rotation(_float fTimeMaximum, PSX::PxTransform pxTransform);
|
||||
void Start_Lerp_Rotation(_float fTimeMaximum, _float4& vRotQ);
|
||||
void Clear_Lerp_Rotation();
|
||||
|
||||
|
||||
void Lerp_FovY(_float fTimeDelta);
|
||||
@@ -57,6 +61,9 @@ class CCamera_Cinematic final : public CCamera
|
||||
_bool m_bLerpTranslation = { false };
|
||||
_float2 m_vLerpTranslationTimer = {};
|
||||
|
||||
_bool m_bLerpRotiation = { false };
|
||||
_float2 m_vLerpRotiationTimer = {};
|
||||
|
||||
_float3 m_vLerpTranslationStart = {};
|
||||
_float3 m_vLerpTranslationEnd = {};
|
||||
_float4 m_vLerpRotQStart = {};
|
||||
|
||||
@@ -93,6 +93,8 @@ class CRanrok final : public CMonster
|
||||
#ifdef _DEBUG
|
||||
virtual void Describe_Entity() override;
|
||||
|
||||
_float4 m_vInitialRotQ = {};
|
||||
_float3 m_vInitialTrans = {};
|
||||
#endif // _DEBUG
|
||||
|
||||
private:
|
||||
|
||||
@@ -67,6 +67,40 @@
|
||||
<float X="" Y="" Z="" W=""/>
|
||||
</Param_11>
|
||||
</Socket>
|
||||
<Socket fStartPosition = "0">
|
||||
<Info strEventName = "Rotation" eTypeParam = "TRANSFORM" pTarget = "CAMERA_CINEMATIC" eTypeFunc="ROTATION"/>
|
||||
<Param_0>
|
||||
<OtherTarget Layer = "" TypeID = ""/>
|
||||
<Transform>
|
||||
<RotQ X="-0.078" Y="0.221" Z="0.018" W="0.972"/>
|
||||
<Trans X="10.088" Y="7.579" Z="26.052"/>
|
||||
</Transform>
|
||||
</Param_0>
|
||||
<vFlags>
|
||||
<Flag id ="0">false</Flag>
|
||||
<Flag id ="1">false</Flag>
|
||||
<Flag id ="2">false</Flag>
|
||||
<Flag id ="3">false</Flag>
|
||||
<Flag id ="4">false</Flag>
|
||||
<Flag id ="5">false</Flag>
|
||||
<Flag id ="6">false</Flag>
|
||||
<Flag id ="7">false</Flag>
|
||||
<Flag id ="8">false</Flag>
|
||||
<Flag id ="9">false</Flag>
|
||||
<Flag id ="10">false</Flag>
|
||||
<Flag id ="11">false</Flag>
|
||||
<Flag id ="12">false</Flag>
|
||||
<Flag id ="13">false</Flag>
|
||||
<Flag id ="14">false</Flag>
|
||||
<Flag id ="15">false</Flag>
|
||||
</vFlags>
|
||||
<Param_10>
|
||||
<uint X="" Y="" Z="" W=""/>
|
||||
</Param_10>
|
||||
<Param_11>
|
||||
<float X="" Y="" Z="" W=""/>
|
||||
</Param_11>
|
||||
</Socket>
|
||||
<Socket fStartPosition = "0">
|
||||
<Info strEventName = "LOOK_RANROK" eTypeParam = "TARGET" pTarget = "CAMERA_CINEMATIC" eTypeFunc="LOOK_AT"/>
|
||||
<Param_0>
|
||||
@@ -101,40 +135,6 @@
|
||||
<float X="" Y="" Z="" W=""/>
|
||||
</Param_11>
|
||||
</Socket>
|
||||
<Socket fStartPosition = "0" >
|
||||
<Info strEventName = "Transition" eTypeParam = "END" pTarget ="CAMERA_CINEMATIC" eTypeFunc="TRANSLATION_LERP"/>
|
||||
<Param_0>
|
||||
<OtherTarget Layer = "" TypeID = ""/>
|
||||
<Transform>
|
||||
<RotQ X="" Y="" Z="" W=""/>
|
||||
<Trans X="" Y="" Z=""/>
|
||||
</Transform>
|
||||
</Param_0>
|
||||
<vFlags>
|
||||
<Flag id ="0">true</Flag>
|
||||
<Flag id ="1">false</Flag>
|
||||
<Flag id ="2">false</Flag>
|
||||
<Flag id ="3">false</Flag>
|
||||
<Flag id ="4">false</Flag>
|
||||
<Flag id ="5">false</Flag>
|
||||
<Flag id ="6">false</Flag>
|
||||
<Flag id ="7">false</Flag>
|
||||
<Flag id ="8">false</Flag>
|
||||
<Flag id ="9">false</Flag>
|
||||
<Flag id ="10">false</Flag>
|
||||
<Flag id ="11">false</Flag>
|
||||
<Flag id ="12">false</Flag>
|
||||
<Flag id ="13">false</Flag>
|
||||
<Flag id ="14">false</Flag>
|
||||
<Flag id ="15">false</Flag>
|
||||
</vFlags>
|
||||
<Param_10>
|
||||
<uint X="" Y="" Z="" W=""/>
|
||||
</Param_10>
|
||||
<Param_11>
|
||||
<float X="" Y="" Z="" W=""/>
|
||||
</Param_11>
|
||||
</Socket>
|
||||
<Socket fStartPosition = "1" >
|
||||
<Info strEventName = "ZOOM_IN_LERP" eTypeParam = "NOT_USE" pTarget = "CAMERA_CINEMATIC" eTypeFunc="ZOOM_LERP"/>
|
||||
<Param_0>
|
||||
@@ -169,40 +169,6 @@
|
||||
<float X="60" Y="20" Z="0.5" W=""/>
|
||||
</Param_11>
|
||||
</Socket>
|
||||
<Socket fStartPosition = "1.5" >
|
||||
<Info strEventName = "ZOOM_OUT_TRANS_LERP" eTypeParam = "TRANSFORM" pTarget = "CAMERA_CINEMATIC" eTypeFunc="TRANSLATION_LERP"/>
|
||||
<Param_0>
|
||||
<OtherTarget Layer = "" TypeID = ""/>
|
||||
<Transform>
|
||||
<RotQ X="-0.133" Y="0.200" Z="0.027" W="0.970"/>
|
||||
<Trans X="61.119" Y="25.549" Z="130.570"/>
|
||||
</Transform>
|
||||
</Param_0>
|
||||
<vFlags>
|
||||
<Flag id ="0">false</Flag>
|
||||
<Flag id ="1">false</Flag>
|
||||
<Flag id ="2">false</Flag>
|
||||
<Flag id ="3">false</Flag>
|
||||
<Flag id ="4">false</Flag>
|
||||
<Flag id ="5">false</Flag>
|
||||
<Flag id ="6">false</Flag>
|
||||
<Flag id ="7">false</Flag>
|
||||
<Flag id ="8">false</Flag>
|
||||
<Flag id ="9">false</Flag>
|
||||
<Flag id ="10">false</Flag>
|
||||
<Flag id ="11">false</Flag>
|
||||
<Flag id ="12">false</Flag>
|
||||
<Flag id ="13">false</Flag>
|
||||
<Flag id ="14">false</Flag>
|
||||
<Flag id ="15">false</Flag>
|
||||
</vFlags>
|
||||
<Param_10>
|
||||
<uint X="" Y="" Z="" W=""/>
|
||||
</Param_10>
|
||||
<Param_11>
|
||||
<float X="2" Y="0" Z="0" W=""/>
|
||||
</Param_11>
|
||||
</Socket>
|
||||
<Socket fStartPosition = "1.5" >
|
||||
<Info strEventName = "ZOOM_OUT_LERP" eTypeParam = "NOT_USE" pTarget = "CAMERA_CINEMATIC" eTypeFunc="ZOOM_LERP"/>
|
||||
<Param_0>
|
||||
@@ -237,6 +203,74 @@
|
||||
<float X="20" Y="40" Z="2" W=""/>
|
||||
</Param_11>
|
||||
</Socket>
|
||||
<Socket fStartPosition = "1.5" >
|
||||
<Info strEventName = "ZOOM_OUT_TRANS_LERP" eTypeParam = "TRANSFORM" pTarget = "CAMERA_CINEMATIC" eTypeFunc="TRANSLATION"/>
|
||||
<Param_0>
|
||||
<OtherTarget Layer = "" TypeID = ""/>
|
||||
<Transform>
|
||||
<RotQ X="-0.100" Y="0.205" Z="0.021" W="0.973"/>
|
||||
<Trans X="65.920" Y="32.915" Z="149.397"/>
|
||||
</Transform>
|
||||
</Param_0>
|
||||
<vFlags>
|
||||
<Flag id ="0">false</Flag>
|
||||
<Flag id ="1">false</Flag>
|
||||
<Flag id ="2">false</Flag>
|
||||
<Flag id ="3">false</Flag>
|
||||
<Flag id ="4">false</Flag>
|
||||
<Flag id ="5">false</Flag>
|
||||
<Flag id ="6">false</Flag>
|
||||
<Flag id ="7">false</Flag>
|
||||
<Flag id ="8">false</Flag>
|
||||
<Flag id ="9">false</Flag>
|
||||
<Flag id ="10">false</Flag>
|
||||
<Flag id ="11">false</Flag>
|
||||
<Flag id ="12">false</Flag>
|
||||
<Flag id ="13">false</Flag>
|
||||
<Flag id ="14">false</Flag>
|
||||
<Flag id ="15">false</Flag>
|
||||
</vFlags>
|
||||
<Param_10>
|
||||
<uint X="" Y="" Z="" W=""/>
|
||||
</Param_10>
|
||||
<Param_11>
|
||||
<float X="2" Y="0" Z="0" W=""/>
|
||||
</Param_11>
|
||||
</Socket>
|
||||
<Socket fStartPosition = "3.5" >
|
||||
<Info strEventName = "Ranrok_TUCK_0" eTypeParam = "NOT_USE" pTarget = "ACTOR_RANROK" eTypeFunc="SET_FSMSTATE"/>
|
||||
<Param_0>
|
||||
<OtherTarget Layer = "" TypeID = ""/>
|
||||
<Transform>
|
||||
<RotQ X="" Y="" Z="" W=""/>
|
||||
<Trans X="" Y="" Z=""/>
|
||||
</Transform>
|
||||
</Param_0>
|
||||
<vFlags>
|
||||
<Flag id ="0">true</Flag>
|
||||
<Flag id ="1">false</Flag>
|
||||
<Flag id ="2">false</Flag>
|
||||
<Flag id ="3">false</Flag>
|
||||
<Flag id ="4">false</Flag>
|
||||
<Flag id ="5">false</Flag>
|
||||
<Flag id ="6">false</Flag>
|
||||
<Flag id ="7">false</Flag>
|
||||
<Flag id ="8">false</Flag>
|
||||
<Flag id ="9">false</Flag>
|
||||
<Flag id ="10">false</Flag>
|
||||
<Flag id ="11">false</Flag>
|
||||
<Flag id ="12">false</Flag>
|
||||
<Flag id ="13">false</Flag>
|
||||
<Flag id ="14">false</Flag>
|
||||
<Flag id ="15">false</Flag>
|
||||
</vFlags>
|
||||
<Param_10>
|
||||
<uint X="" Y="" Z="" W=""/>
|
||||
</Param_10>
|
||||
<Param_11>
|
||||
<float X="" Y="" Z="" W=""/>
|
||||
</Param_11>
|
||||
</Socket>
|
||||
<Socket fStartPosition = "9" >
|
||||
<Info strEventName = "Ready_PLAYERPos" eTypeParam = "TRANSFORM" pTarget = "ACTOR_PLAYER" eTypeFunc="TRANSLATION"/>
|
||||
<Param_0>
|
||||
@@ -302,7 +336,7 @@
|
||||
<uint X="" Y="" Z="" W=""/>
|
||||
</Param_10>
|
||||
<Param_11>
|
||||
<float X="20" Y="60" Z="" W=""/>
|
||||
<float X="60" Y="20" Z="" W=""/>
|
||||
</Param_11>
|
||||
</Socket>
|
||||
<Socket fStartPosition = "9" >
|
||||
|
||||
@@ -377,6 +377,9 @@ HRESULT CLoader::Loading_For_Logo()
|
||||
jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
|
||||
FX_MESH,
|
||||
TEXT("../Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl"), VTXMESH::Elements, VTXMESH::iNumElements));
|
||||
jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
|
||||
FX_VTXPOS,
|
||||
TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl"), VTXPOS::Elements, VTXPOS::iNumElements));
|
||||
}
|
||||
|
||||
m_strMessage = TEXT("Texture Loading..");
|
||||
|
||||
@@ -24,6 +24,8 @@ typedef enum class typeTimeSocket_Func {
|
||||
// COMMON
|
||||
TRANSLATION,
|
||||
TRANSLATION_LERP,
|
||||
ROTATION,
|
||||
ROTATION_LERP,
|
||||
TOGGLE_FLAGS,
|
||||
|
||||
// CAMERA
|
||||
@@ -57,6 +59,8 @@ static constexpr pair<string_view, TIMESOCKET_FUNC> g_SocketFuncTypeTable[ENUM_C
|
||||
{
|
||||
{"TRANSLATION", TIMESOCKET_FUNC::TRANSLATION},
|
||||
{"TRANSLATION_LERP", TIMESOCKET_FUNC::TRANSLATION_LERP},
|
||||
{"ROTATION", TIMESOCKET_FUNC::ROTATION},
|
||||
{"ROTATION_LERP", TIMESOCKET_FUNC::ROTATION_LERP},
|
||||
{"TOGGLE_FLAGS", TIMESOCKET_FUNC::TOGGLE_FLAGS},
|
||||
|
||||
{"BIND_CAMERA", TIMESOCKET_FUNC::BIND_CAMERA},
|
||||
|
||||
Reference in New Issue
Block a user