[Bf-gamedev] FBX-exporter (initial progress)

Bastien Montagne montagne29 at wanadoo.fr
Mon Sep 23 22:32:14 CEST 2013


Hi Campbell,

Nice and great work! :) Do you intend to keep on and write the bin 
exporter itself as well? I won’t have much time for Blender in the next 
two days as well… :/

Bastien

On 23/09/2013 16:44, Campbell Barton wrote:
> Heres an update on FBX exporter progress.
> I was going to mail Bastian directly (since we're looking to work on
> FBX-exporter re-upgrade) but no reason to keep it private.
>
>
> Over the weekend I worked on writing binary FBX data, mostly this was
> just a matter of reversing the logic of the parser used for the new
> fbx-importer,
> however there were some problems writing the footer (Which the FBX-SDK
> is highly picky about).
>
> Just finished with this, and have written up a test script that parses
> an FBX into Python data, then re-encodes it back into a valid FBX that
> Blender and the FBX-SDK can read.
>
> Repo:
> https://github.com/ideasman42/pyfbx_i42
>
> Encode (main part needed for exporting):
> https://github.com/ideasman42/pyfbx_i42/blob/master/pyfbx/encode_bin.py
>
> Test re-encode:
> https://github.com/ideasman42/pyfbx_i42/blob/master/tests/reencode.py
>
>
> Now upgrading the existing exporter should be fairly straightforward.
> and not so hard to debug since we can convert the binary data into ascii/json.
>
> --
> - Campbell
> _______________________________________________
> Bf-gamedev mailing list
> Bf-gamedev at blender.org
> http://lists.blender.org/mailman/listinfo/bf-gamedev
>


More information about the Bf-gamedev mailing list