2 ms·
.obj is a horrid format for runtime usage in a game engine. The effort required to parse a non-trivial model will explode your load times on resource constraine
by hesdeadjim 12y ago
.obj is a horrid format for runtime usage in a game engine. The effort required to parse a non-trivial model will explode your load times on resource constrained systems.
The content pipeline that I implemented for our game engine always converted .obj files into a binary format that is trivial to load at runtime. In an ideal world (i.e. not Android), your binary format is one that you can simply mmap into your process and then at worst "loading" consists of copying this memory and doing some pointer fixups.
- meelooo 12y agoYes, and that's why one can wonder why they once again chose JSON for part of this new "web standard". Text based data formats should die.