FBX Reader
| FBX | |
| File Extension | FBX |
| Supported Versions | ASCII: from 7100 to 7500, Binary: All |
| *Platforms | |
| Tessellation | Supported |
| Boundary Representation (B-rep) | Unsupported by format |
| Product Manufacturing Information (PMI) | Unsupported by format |
FBX is a proprietary 3D file format developed by Autodesk for exchanging 3D models, scenes, textures, and animation data between digital content creation tools.
The HOOPS Exchange FBX reader provides access to the tessellated geometry and associated texture data stored in an FBX file for visualization, but it does not extract CAD-specific information such as B-rep, PMI, or assembly structure.
A file does not need to have a particular extension to be read correctly by HOOPS Exchange. However, the file extensions of FBX files that you can expect to be loaded by HOOPS Exchange include:
- .fbx
How to Import From FBX
Reading FBX files follows the same pattern as other formats: configure load parameters, then call the standard load function.
To load an FBX file, use A3DAsmModelFileLoadFromFile().
The A3DParamsLoadData structure is used to customize the loading behavior:
A3DAsmModelFile* pModelFile = 0;
A3DRWParamsLoadData sReadParam = A3D_MAKE_DATA(A3DRWParamsLoadData);
sReadParam.m_sGeneral.m_bReadSolids = true;
// ... set other A3DRWParamsLoadData fields as necessary
A3DAsmModelFileLoadFromFile("path/to/file.fbx", &sReadParam, &pModelFile);
See Simple Load and Export for more about loading model files.
Tessellation
Geometry
As noted above, FBX is a tessellation-only format. Consequently, other data such as Product Manufacturing Information (PMI) and Boundary Representation (B-rep) are not supported by the format, including when using FBX with HOOPS Exchange.
Boundary Representation (B-rep)
As noted above, Boundary Representation is unsupported by FBX.
Product Manufacturing Information (PMI)
As noted above, Product Manufacturing Information (PMI) is unsupported by FBX.
Textures
Textures are fully supported when parsing FBX files with HOOPS Exchange.
The detailed description of the material data format is included in the documentation of the A3DGraphMaterialData structure.
For more information about accessing textures and attributes, please read the documentation
for the A3DGlobalData, A3DGraphMaterialData, A3DGraphTextureApplicationData and A3DMiscAttributeData structures.