!HELP! Milkshape Skeleton Loading -> !!Crash!!
Hi,
i have read the Tutorials from Brett Porter.
When i loading static Models without Animations it Works good!
But when i loading a Model with a Key Frame Animation (Bones) it crashs bevor display anything...i started to debug...the misstake is here:
-----------------------------------------------------------------
(steps of going to the mistake..)
Model.cpp
---------
void Model::draw()
.
.
.
const Matrix& final = m_pJoints[m_pVertices[index].m_boneID].m_final;
.
.
.
newNormal.transform3( final );
.
.
.
Vector.cpp
----------
void Vector::transform3( const Matrix& m )
.
.
.
vector[0] = m_vector[0]*matrix[0]+m_vector[1]*matrix[4]+m_vector[2]*matrix[8]; <- on this Position it crashed!!!
the Value for the m_matrix is: 0x000000b0
and the Value for m_matix[0] - m_matrix [15] is: CXX0030: Error: expression cannot be evaluated
-----------------------------------------------------------------
Please Help me ... i dont know what i make bad...
bye Stylez99
PS: sorry for my very bad english!
October 20, 2003 04:26 AM
It seems your matrix is initialised. Could you have a look at where its values are initialised?
October 20, 2003 04:27 AM
vector[0] = m_vector[0]*matrix[0]+m_vector[1]*matrix[4]+m_vector[2]*matrix[8]; <- on this Position it crashed!!!
Check for this == NULL
Looks like your instance is null (you didnt allocate something)
Check for this == NULL
Looks like your instance is null (you didnt allocate something)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement