No matching definitions.

export/obj

src/export/obj.tur

OBJ + MTL export for colored meshes.

Since: Phase 2

defn

export-obj

(export-obj [mesh :int path :cstr] :int)

write a colored mesh to OBJ + MTL files.

meshcmesh handle from mc-extract-colored
pathfile path base WITHOUT extension (e.g. "output/scene")

0 on success; -1 if either file could not be opened.

(export-obj my-mesh "output")  ; writes output.obj + output.mtl

Since: Phase 2