The reason for using our homebrew custom binary format is performance. Parsing text formats is extremely slow in comparison. Furthermore, it allows us do some calculations offline during the conversion stage, rather than doing it every time the file is loaded.
At the moment, only PNG files are supported as texture.
obj2pbmf that converts models in Wavefront OBJ format to pbmf. OBJ is de facto standard and your favorite tool can most likely export it.Performing the conversion is very simple - you can see how the conversion utility is invoked below:
$ obj2pbmf [--override-normals] [--texture <filename>] <input.obj> <output.pbmf>
--texture argument in case your model has a texture.
1.5.6