Transcode .model 3D files to .obj in JavaScript.
model
is a binary format used by Apple in WWDC 2010's GLEssentials sample.
dot-model-2-obj can be used in pure JavaScript applications runnable directly in the browser, as well as any ES5 and ES6 applications (Node.js, React, React Native, React Native Web, etc).
You can install the library with yarn
:
yarn add dot-model-2-obj
You can also use npm:
npm install dot-model-2-obj --save
Coming soon...
Coming soon...
To run the examples, follow the following steps depending on your platform:
First, make sure to run yarn build
or npm run build
. This will generate the dist/dot-model-2-obj.min.js
file used in the example.
Then, simply drag and drop examples/pure-javascript-example/example.html
in your favorite browser, select models/demon.model
and press the Transcode
button. The transcoder will transcode the .model file and save demon.obj
in your downloads folder.
Coming soon...
Coming soon...
Coming soon...
Coming soon...
dot-model-2-obj is MIT licensed.