This viewer uses NanoRT(SW ray tracer) to render the model and display it using SDL2 (So no OpenGL dependency)
W.I.P.
- C++14 compiler
- external library imgui_sdl requires C++14
- cmake
- X11 related package(Linux only)
- SDL2
You may use system installed SDL2, but we recommend to build SDL2 from source codes. Please download SDL2 source package and unpack it to ../common/ See ../common/README.sdl2 for details.
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./usdz_view <input.usdz>
Setup emcc, then
$ ./bootstrap-emscripten-linux.sh
$ cd build_emcc/
$ make
Then run http server(e.g. python -m http.server
) and open usdz_view.html
.
- Subdivision surface
- imgui : MIT license.
- SDL2 : zlib license.
- nativefiledialog-extended : zlib license.