Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
akimgacem edited this page Jan 11, 2017 · 32 revisions

Current version : 1.45

Getting started with Laya FBX Tools

FBX (Filmbox) is a proprietary file format (.fbx) developed by Kaydara and owned by Autodesk since 2006. It is used to provide interoperability between digital content creation applications. The format saw wider support from other 3D software packages such as Cinema 4D, SoftImage 3D, PowerAnimator, LightWave 3D, Blender and 3D Studio MAX.

Overview

Laya convert *.FBX model based on latest official SDK : FBX SDK version 2016.1.2 release

System requirement:

  • Windows 7 (32/64 bits) or newer

Installation Guide:

  1. Download LayaAir FBX Tools package here : FBXTools
  2. Extract archive file in FBXTools folder * Settings files :
    • config.ini :
      • globalPath defined absolute texture path to concat with current relative texture path of your FBX. Nothing means relative texture path only.
    • LayaModelConfig.ini :
      • SAVEPATH defined default output converting files folder, nothing means current FBX folder one. (F:\LAYABOX\asset\mymodels)
      • SUBDIVISION make compression model depending their bones data, useful for animated model. (1 for true, 0 for false)
      • BONESMAX if previous setting SUBDIVISION is true, let split our mesh with this max value. (advice 21 for iOS, 24 for Android)
      • STEPUNIT scale your model data, advice you to use one fit "meter" unit system.
      • STATIC you can set it to true if you want optimize your static model in render time. (1 for true, 0 for false)
      • COMPRESS compression data for skin animation, use 0.0 for no compression.
      • TANGENT use for bump mapping light effect, 3 setting values possible (Import/Calculate/None)
  3. Convert to Laya Model engine * Drag your *.FBX files into FBXTools.exe, you may have these following output files:
    • .lm : model mesh data
    • .lmat : material model data
    • .lsani : skeletal animation data
    • .lrani : transform animation data
    • .lcani : camera animation data
    • .lh : hierarchy scene model in world position data

Uses and Limitations:

  • Spline not supported yet
  • FBX Tools can support chinese and no-ASCII characters (cf. D:/我的3D/...)
  • Material model data can generate .lmat files. So characters such as / \ : + - are not allowed
  • FBX SDK version 2016.1.2 release limitations , such as UV keyframe animation.
Clone this wiki locally