tree: 1f5a842807e91921ef0b65d1483b5910e529828a [path history] [tgz]
  1. Makefile
  2. mesh-modify.cc
  3. mesh-util.cc
  4. mesh-util.hh
  5. meson.build
  6. README.md
examples/mesh-modify/README.md

Mesh modify experiment

Sometimes we want to tweak mesh attributes(e.g. vertex position, uv coord, etc). glTF itself does not allow ASCII representation of such data.

This example show how to

  • Export mesh data from .bin to .obj
  • Import mesh data to .bin(update corresponding buffer data) from .obj

Requirement

Assume Buffer is stored as external file(.bin)