News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

BVH File parser source

Started by Farabi, July 12, 2009, 04:41:09 AM

Previous topic - Next topic

Farabi

Here is my BVH file parser.
It will extract all the value defined on the BVH file and determined the parent bone.

Dependencies:
hNullString.inc (Included)
Additional.inc (Included)
Mocap.inc (Included)

This parser is created by Onan Farabi and are not based on any code. Use it at your own risk.

Using this code mean you will need to deal with an object called fObject.


fObject struct
lpName dword 0  ; Address of the node name
nChannel dword 0    ; Unsigned number of channel
OffsetX dword 0      ; Real4
OffsetY dword 0        ; Real4
OffsetZ dword 0     ; Real4
PositionX dword 0     ; Real4
PositionY dword 0     ; Real4
PositionZ dword 0     ; Real4
RotationX dword 0     ; Real4
RotationY dword 0     ; Real4
RotationZ dword 0     ; Real4
lpChannel1 dword 0  ; Address of the channel name
lpChannel2 dword 0 ;Address of the channel name
lpChannel3 dword 0;Address of the channel name
lpChannel4 dword 0;Address of the channel name
lpChannel5 dword 0;Address of the channel name
lpChannel6 dword 0;Address of the channel name
nParent dword 0   ; Unsigned ID of parent node
fObject ends

[attachment deleted by admin]
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"