Am facut update la granny la 2.9 iar acum primesc erroarea asta cand deschid clientul.
Aveti idee de la ce e?Multumesc.
Aveti idee de la ce e?
Urcal in alta parte daca vrei , de aici nu il pot lua.Athero scrie:http://www.girlshare.ro/3489984393.5 Baga asta peste cel din fisier de la server.

http://www.gfile.ro/?do=fD&fI=a0295d6f8 ... 3bd2edcb2fdemonboy12 scrie:Urcal in alta parte daca vrei , de aici nu il pot lua.Athero scrie:http://www.girlshare.ro/3489984393.5 Baga asta peste cel din fisier de la server.
Aceeasi erroare...Athero scrie:http://www.gfile.ro/?do=fD&fI=a0295d6f8 ... 3bd2edcb2fdemonboy12 scrie:Urcal in alta parte daca vrei , de aici nu il pot lua.Athero scrie:http://www.girlshare.ro/3489984393.5 Baga asta peste cel din fisier de la server.

Ai facut update la granny cel pentru 2.9 ?demonboy12 scrie:Aceeasi erroare...Athero scrie:http://www.gfile.ro/?do=fD&fI=a0295d6f8 ... 3bd2edcb2fdemonboy12 scrie: Urcal in alta parte daca vrei , de aici nu il pot lua.
Oricum multumesc ca ai incercat sa ma ajuti.
Da , normal.Athero scrie:Ai facut update la granny cel pentru 2.9 ?demonboy12 scrie:Aceeasi erroare...Athero scrie:
http://www.gfile.ro/?do=fD&fI=a0295d6f8 ... 3bd2edcb2f
Oricum multumesc ca ai incercat sa ma ajuti.

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);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);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);Cod: Selectaţi tot
return GrannyGetMeshBindingToBoneIndices(m_vct_pgrnMeshBinding[iMeshBinding]);Cod: Selectaţi tot
return (int*)GrannyGetMeshBindingToBoneIndices(m_vct_pgrnMeshBinding[iMeshBinding]);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);
}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);
}Athero scrie:Refă după acest tutorial :
Mai întâiu intri in folderul cu sursa client în Extern şi bagi ce găseşti aici în library şi include : http://www.gfile.ro/?do=fD&fI=2dd89f59e ... 9b1c280050
După care deschizi sursa cu visual studio şi faci cum zic aici :
În EterGrnLib cauţi Mesh.cpp cauţi :
Modifici cuCod: Selectaţi tot
int * boneIndices = GrannyGetMeshBindingToBoneIndices(pgrnMeshBinding);
CauţiCod: Selectaţi tot
int * boneIndices = (int*)GrannyGetMeshBindingToBoneIndices(pgrnMeshBinding);
Modifici cuCod: Selectaţi tot
return GrannyGetMeshBindingToBoneIndices(m_pgrnMeshBindingTemp);
CauţiCod: Selectaţi tot
return (int*)GrannyGetMeshBindingToBoneIndices(m_pgrnMeshBindingTemp);
Modifici cuCod: Selectaţi tot
m_pgrnMeshDeformer = GrannyNewMeshDeformer(pgrnInputType, pgrnOutputType, GrannyDeformPositionNormal);
Acuma cauţi ModelInstanceUpdate.cpp tot în EterGrnLib şi cauţi :Cod: Selectaţi tot
m_pgrnMeshDeformer = GrannyNewMeshDeformer(pgrnInputType, pgrnOutputType, GrannyDeformPositionNormal, GrannyAllowUncopiedTail);
Modific cuCod: Selectaţi tot
GrannyUpdateModelMatrix(m_pgrnModelInstance, fSecondsElapsed, (const float *) pMatrix, (float *) pMatrix);
Acuma tot în EterGrnLib te duci în Material.cpp şi cauţiCod: Selectaţi tot
GrannyUpdateModelMatrix(m_pgrnModelInstance, fSecondsElapsed, (const float *) pMatrix, (float *) pMatrix, false);
Modifici cuCod: 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);
Tot în EterGrnLib te duci în ModelInstanceModel.cpp şi cauţiCod: 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);
Modifici cuCod: Selectaţi tot
return GrannyGetMeshBindingToBoneIndices(m_vct_pgrnMeshBinding[iMeshBinding]);
Am terminat cu EterGrnLib , acuma te duci in UserInterface -> UserInterface.cpp şi cauţiCod: Selectaţi tot
return (int*)GrannyGetMeshBindingToBoneIndices(m_vct_pgrnMeshBinding[iMeshBinding]);
Modifici cuCod: 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); }
Acuma compilezi sursa şi adaugi asta în client peste cel care îl aiCod: 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); }
http://www.gfile.ro/?do=fD&fI=2fc2b0348 ... 641997cc14 -> win32
http://www.gfile.ro/?do=fD&fI=0dceb9754 ... 39c10ce90f -> win64
am incercat toate metodele ... ai idee cum scap de asta?
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 98 vizitatori