mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 16:57:57 +03:00
Refactoring; Added all sounds from all TR; Removed trash legacy functions for skinning and meshes processing; New skinning procedure, without fixed arrays; Code cleaning; Decompiled LoadSamples; Dynamic size sound map;
This commit is contained in:
parent
49070202eb
commit
ac7d6b95f7
32 changed files with 1510 additions and 279 deletions
|
@ -519,8 +519,6 @@ RendererMesh* Renderer11::getRendererMeshFromTrMesh(RendererObject* obj, short*
|
|||
vertex.UV.y = (texture->vertices[v].y * 256.0f + 0.5f + GET_ATLAS_PAGE_Y(tile)) / (float)TEXTURE_ATLAS_SIZE;
|
||||
|
||||
vertex.Bone = boneIndex;
|
||||
if (isJoints && boneIndex != 0 && m_laraSkinJointRemap[boneIndex][indices[v]] != -1)
|
||||
vertex.Bone = m_laraSkinJointRemap[boneIndex][indices[v]];
|
||||
if (isHairs)
|
||||
vertex.Bone = indices[v];
|
||||
|
||||
|
@ -616,8 +614,6 @@ RendererMesh* Renderer11::getRendererMeshFromTrMesh(RendererObject* obj, short*
|
|||
vertex.UV.y = (texture->vertices[v].y * 256.0f + 0.5f + GET_ATLAS_PAGE_Y(tile)) / (float)TEXTURE_ATLAS_SIZE;
|
||||
|
||||
vertex.Bone = boneIndex;
|
||||
if (isJoints && boneIndex != 0 && m_laraSkinJointRemap[boneIndex][indices[v]] != -1)
|
||||
vertex.Bone = m_laraSkinJointRemap[boneIndex][indices[v]];
|
||||
if (isHairs)
|
||||
vertex.Bone = indices[v];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue