|
BlendParse
Blender .blend parser
IntroductionThe open source Blender modeler uses the binary .blend format to store all its assets. We developed a parser, fully under the permissive zlib license, to extract any data from this file format. The parsing is very fast so it can be directly used in a game or application. DetailsSome of the data that can be extracted from a .blend file:
ImplementationThe .blend parser and example code is located in Oolong Engine2/Examples/Demos/ReadBlend. NotesIf necessary, you can optimize the triangle mesh data using PowerVR SDK utilities such as TriStrip.
See also the OgreKit project at http://gamekit.googlecode.com on more advanced usage, such as extracting skeletal animation and skinning from a .blend file. |
► Sign in to add a comment
Please note that the method:
has memory leak for
if the object type is: OB_RIGID_BODY or OB_DYNAMIC and the object->boundtype is:
since all of the above bound types dosent use allocated meshInterface.