Object files define the geometry and other properties for objects in
Wavefront's Advanced Visualizer. Object files can also be used to
transfer geometric data back and forth between the Advanced Visualizer
and other applications.
Object files can be in ASCII format (.obj) or binary format (.mod).
OBJ format information and examples from John Burkardt
Author: John Burkardt Change: 02 Mar 2007 Tomasz Lis adjusted to new IVCONV class, minor fixes A list of supported elements follows. Please modify if you'll enhance something. Format support note - reading: - Full 32-bit vertices support - Full 32-bit faces support, unlimited face order - No meshes support (but possible to add) - No materials support (but possible to add) - No textures support - No Texture UV support - No camera/view support - No Environment or lights support - Partial shapes support (only one type of lines; possible to extend) Format support note - writing: - Full 32-bit vertices support - Full 32-bit faces support, unlimited face order - No meshes support (but possible to add) - No materials support (but possible to add) - No textures support - No Texture UV support - No camera/view support - No Environment or lights support - Partial shapes support (possible to extend) Example: # magnolia.obj mtllib ./vp.mtl g v -3.269770 -39.572201 0.876128 v -3.263720 -39.507999 2.160890 ... v 0.000000 -9.988540 0.000000 g stem s 1 usemtl brownskn f 8 9 11 10 f 12 13 15 14 ... f 788 806 774 Copying and copyrights: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.