Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Slowdown in the export of OBJ files

0 REPLIES 0
Reply
Message 1 of 1
henriquelucas09
318 Views, 0 Replies

Slowdown in the export of OBJ files

Hello.

I created a program in C++ using the FBX SDK 2020.2 . This program imports an FBX file, removes some objects, and finally exports the created scene as an OBJ file. When I remove all the materials present in the scene, the export of the file to OBJ occurs in a reasonable time, but when I don't perform this removal, the export time increases considerably.

 

The following table illustrates two conversions of an FBX file using the same program described above. The input file has a size of 1.5 GB:

 

ModeImport TimeExport Time
Materials removed00:11:1900:04:21
Materials not removed00:11:4001:11:01

 

I don't understand the reason for such a significant change in export time. Perhaps the process of creating the .mtl file (which accompanies the OBJ file and stores information about the materials) becomes costly, as it is necessary to traverse the entire object tree of the FBX file in search of materials for each object.

Could someone tell me if this theory is correct or not? Is it possible to work around this problem and make the export process more efficient?

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report