You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, I am receiving the following assertion from Ogre: (!pos.isNaN() && "Invalid vector supplied as parameter"), function setPosition, file .../OgreMain/src/OgreOldNode.cpp, line 391.
It looks like convertWorldToLocalPosition is returning NaN values because the scale of the parent bone is +inf.
If I comment out the following line, the mesh loads fine - however, playing an animation makes everything look awful. I may be mistaken but I believe the scale becomes so small until it reaches a point where _getDerivedScale starts returning +inf.
Try removing the scale. As you see in line 38 it is doing a decomposition of the bind matrix into rotation, translation and scale. What are the contents of that matrix.?
Hello, lovely plugin here. I'm just struggling to load a particular mesh:
Walking2.glb.zip
(However, CesiumMan works fine)
Basically, I am receiving the following assertion from Ogre:
(!pos.isNaN() && "Invalid vector supplied as parameter"), function setPosition, file .../OgreMain/src/OgreOldNode.cpp, line 391.
Ogre_glTF/src/Ogre_glTF_skeletonImporter.cpp
Line 40 in 6a59adf
It looks like
convertWorldToLocalPosition
is returning NaN values because thescale
of the parent bone is +inf.If I comment out the following line, the mesh loads fine - however, playing an animation makes everything look awful. I may be mistaken but I believe the scale becomes so small until it reaches a point where
_getDerivedScale
starts returning +inf.Ogre_glTF/src/Ogre_glTF_skeletonImporter.cpp
Line 42 in 6a59adf
I'm kinda running out of ideas and would appreciate it if I could be pointed in the right direction
Thanks!
The text was updated successfully, but these errors were encountered: