Menu

#50 mesher bfxm to obj fixes

open
Klauss++
None
5
2015-03-27
2012-12-23
logzero
No

Write Blend, Normals and Map_Reflection material properties to obj if required. Not sure about the Map_Reflection bit, as it is set for all llama materials (except nav ani).

Not fixed issues:
Additional params that are not written to obj are lighting and cull.
While detail_plane is written to obj, it is not read properly(input is converted to upper but scanned for lower case detail_plane). No idea what has been the motivation there...

In general it seems that a round trip bfxm->obj->bfxm was not meant to be supported.

Discussion

  • logzero

    logzero - 2012-12-23

    Attaching patch failed: http://pastebin.com/zczgWiPY

     
  • Klauss++

    Klauss++ - 2012-12-26
    • assigned_to: nobody --> klaussfreire
     
  • Klauss++

    Klauss++ - 2012-12-26

    Just one question... did Blender read those obj files without issue? (We wouldn't like to break compatibility)

     
  • logzero

    logzero - 2012-12-27

    Blender import works fine, will also print the parameters it ignored.

     

Log in to post a comment.