For all...
I find the reply to question.
In this link -
http://blenderartists.org/forum/showthread.php?t=73602 - you find a exporter for Blender 2.42 (work fine in 2.43), it export correctly the animation and object.
But when i load the model into a programm (vb.net) the debug show a strange message:
Unknown data object in x file: AnimTicksPerSecond
Some idea (see code, is very simple...):
Code: Select all
Sub Main()
Dim mDevice As New IrrlichtDevice(Video.DriverType.DIRECT3D9, New Dimension2D(800, 600), 32, False, True, False)
Dim mDebug As System.IO.TextWriter
mDevice.WindowCaption = "HP Test by MCunha98"
mDebug = Console.Out
If (mDevice Is Nothing) Then
mDebug.WriteLine("Device nao definido !")
Exit Sub
End If
Dim mScene As ISceneManager = mDevice.SceneManager
Dim mDriver As IVideoDriver = mDevice.VideoDriver
Dim mPlayer As IAnimatedMesh = mDevice.SceneManager.GetMesh("d:\apl\blender\hp.x")
Dim mCamera As ICameraSceneNode = mDevice.SceneManager.AddCameraSceneNodeFPS(Nothing, 100, 100, 1065)
mCamera.Position = New Vector3D(20, 0, -50)
While mDevice.Run()
If mDevice.WindowActive Then
mDevice.SceneManager.DrawAll()
'mDevice.VideoDriver.EndScene()
End If
End While
End Sub