2. Intrati in sursa si cautati folderul EterGrnLib. Deschideti Mesh.cpp.
Cauta :
Cod: Selectaţi tot
int * boneIndices = GrannyGetMeshBindingToBoneIndices(pgrnMeshBinding);
Cod: Selectaţi tot
int * boneIndices = (int*)GrannyGetMeshBindingToBoneIndices(pgrnMeshBinding);
Cod: Selectaţi tot
return GrannyGetMeshBindingToBoneIndices(m_pgrnMeshBindingTemp);
Cod: Selectaţi tot
return (int*)GrannyGetMeshBindingToBoneIndices(m_pgrnMeshBindingTemp);
Cod: Selectaţi tot
m_pgrnMeshDeformer = GrannyNewMeshDeformer(pgrnInputType, pgrnOutputType, GrannyDeformPositionNormal);
Cod: Selectaţi tot
m_pgrnMeshDeformer = GrannyNewMeshDeformer(pgrnInputType, pgrnOutputType, GrannyDeformPositionNormal, GrannyAllowUncopiedTail);
Cauta :
Cod: Selectaţi tot
GrannyUpdateModelMatrix(m_pgrnModelInstance, fSecondsElapsed, (const float *) pMatrix, (float *) pMatrix);
Cod: Selectaţi tot
GrannyUpdateModelMatrix(m_pgrnModelInstance, fSecondsElapsed, (const float *) pMatrix, (float *) pMatrix, false);
Deschide Material.cpp.
Cauta :
Cod: Selectaţi tot
granny_variant twoSideResult = GrannyFindMatchingMember(pgrnMaterial->ExtendedData.Type, pgrnMaterial->ExtendedData.Object, "Two-sided");
if (NULL != twoSideResult.Type)
GrannyConvertSingleObject(twoSideResult.Type, twoSideResult.Object, TwoSidedFieldType, &twoSided);
Cod: Selectaţi tot
granny_variant twoSideResult;
if (GrannyFindMatchingMember(pgrnMaterial->ExtendedData.Type, pgrnMaterial->ExtendedData.Object, "Two-sided", &twoSideResult)
&& NULL != twoSideResult.Type)
GrannyConvertSingleObject(twoSideResult.Type, twoSideResult.Object, TwoSidedFieldType, &twoSided, NULL);
Cauta :
Cod: Selectaţi tot
return GrannyGetMeshBindingToBoneIndices(m_vct_pgrnMeshBinding[iMeshBinding]);
Cod: Selectaţi tot
return (int*)GrannyGetMeshBindingToBoneIndices(m_vct_pgrnMeshBinding[iMeshBinding]);
Deschide folderul UserInterface.
Deschide UserInterface.cpp.
Cauta :
Cod: Selectaţi tot
static void GrannyError(granny_log_message_type Type,
granny_log_message_origin Origin,
char const *Error,
void *UserData)
{
TraceError("GRANNY: %s", Error);
}
Modifica/Inlocuieste cu :
Cod: Selectaţi tot
static void GrannyError(granny_log_message_type Type,
granny_log_message_origin Origin,
char const* File,
granny_int32x Line,
char const *Error,
void *UserData)
{
TraceError("GRANNY: %s", Error);
}
Descarcare Granny 2.9.12: