OMF C API
Examples
C examples, from simplest to most complex:
pyramid.c
writes a file containing a small surface and line-set of a square pyramid, then reads it back and prints everything.metadata.c
stores and retrieves metadata, including nested structures.geometries.c
stores and retrieves the remaining element geometries: point set, grid surface, block models, and composite.attributes.c
puts different types of attributes on a cube surface, then reads back and prints a few of them.textures.c
creates mapped and projected textures from a pre-existing image and reads it back as pixels.