maxdelphi
04-02-2012 16:15:03
Hi, i am new in mogre, i am trying load a model, but i have a problem, i see the log file and i found it:
22:16:51: Mesh: Loading mariofbx2009.fbx
22:16:51: OGRE EXCEPTION(2:InvalidParametersException): Header chunk didn't match either endian: Corrupted stream? in Serializer::determineEndianness at ..\..\ogre\OgreMain\src\OgreSerializer.cpp (line 89)
i export from 3ds max with FBX 2009 and 2011 (both testing), and both say the problem....i cant solve it, can you help me plz?, thanks.
my code:
i am inexpert in 3ds max, i download a model with animation, and i export it without cameras and lights.....appear warning when i export it:
with fbx 2011
22:16:51: Mesh: Loading mariofbx2009.fbx
22:16:51: OGRE EXCEPTION(2:InvalidParametersException): Header chunk didn't match either endian: Corrupted stream? in Serializer::determineEndianness at ..\..\ogre\OgreMain\src\OgreSerializer.cpp (line 89)
i export from 3ds max with FBX 2009 and 2011 (both testing), and both say the problem....i cant solve it, can you help me plz?, thanks.
my code:
using Mogre.TutorialFramework;
using Mogre;
...
public static void Main()
{
new Tutorial().Go();
}
protected override void CreateScene()
{
Entity mario = mSceneMgr.CreateEntity("mario", "mariofbx2009.fbx");
SceneNode nodo = mSceneMgr.RootSceneNode.CreateChildSceneNode("nodo");
nodo.AttachObject(mario);
}
i am inexpert in 3ds max, i download a model with animation, and i export it without cameras and lights.....appear warning when i export it:
The plug-in has detected one or more animation controllers that cannot be directly supported. Using the Bake Animation option may better address these limitations. The following nodes are affected:
-Point01
-Mario_Character
-Mario_All_Root
-Mario_Center_dummy
-Mario_Center
-Mario_JointRoot_dummy
-Mario_JointRoot
-Mario_Hip_dummy
-Mario_Hip
-Mario_LegL1_dummy
-Mario_LegL1
-Mario_LegL2_dummy
-Mario_LegL2
-Mario_FootL_dummy
-Mario_LegR1_dummy
-Mario_LegR1
-Mario_LegR2_dummy
-Mario_LegR2
-Mario_FootR_dummy
-Mario_Spine1_dummy
-Mario_Spine1
-Mario_Spine2_dummy
-Mario_Spine2
-Mario_Head_dummy
-Mario_Head
-Mario_CapPosition_dummy
-Mario_CapPosition
-Mario_Cap0_dummy
-Mario_EyePosition_dummy
-Mario_EyePosition
-Mario_Eye0_dummy
-Mario_FacePosition_dummy
-Mario_FacePosition
-Mario_Face0_dummy
-Mario_ShoulderL_dummy
-Mario_ShoulderL
-Mario_ArmL1_dummy
-Mario_ArmL1
-Mario_ArmL2_dummy
-Mario_ArmL2
-Mario_HandL_dummy
-Mario_HandL
-Mario_HandL0_dummy
-Mario_ShoulderR_dummy
-Mario_ShoulderR
-Mario_ArmR1_dummy
-Mario_ArmR1
-Mario_ArmR2_dummy
-Mario_ArmR2
-Mario_HandR_dummy
-Mario_HandR
-Mario_HandR0_dummy
-Mario_PartsControl_dummy
with fbx 2011