Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syoyo/usda-to-usdc-experiment
USDA to USDC conversion experiment in C++
https://github.com/syoyo/usda-to-usdc-experiment
Last synced: about 1 month ago
JSON representation
USDA to USDC conversion experiment in C++
- Host: GitHub
- URL: https://github.com/syoyo/usda-to-usdc-experiment
- Owner: syoyo
- License: mit
- Created: 2018-10-02T05:51:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T05:54:34.000Z (over 6 years ago)
- Last Synced: 2024-10-16T13:21:40.754Z (3 months ago)
- Language: C++
- Size: 2.93 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# USDA to USDC conversion experiment in C++
## Why?
We want to create USDZ for iOS AR app on Linux.
USDZ is composed of USDC(binary format of USD) and assets(e.g. textures).USD build with python module simply failed on Ubuntu 16.04, thus use C++ API for creating USDC from USDA.
## How to build USD
Build USD with minimal dependency(boost and TBB only)
`build_usd.py` automatically downloads boost and TBB.First run(boost build) fails but apparently build itself went well. Thus run build script twice.
In USD repo,
```
$ python2 build_scripts/build_usd.py --no-python --no-ptex --no-usdview --no-embree --no-alembic --no-hdf5 --no-maya --no-katana --no-houdini --no-docs --no-imaging --no-openimageio $HOME/local/USD
$ python2 build_scripts/build_usd.py --no-python --no-ptex --no-usdview --no-embree --no-alembic --no-hdf5 --no-maya --no-katana --no-houdini --no-docs --no-imaging --no-openimageio $HOME/local/USD
```## Conversion example.
main.cc : This is based on `usdcat` script(Python) in USD repo.
## TODO
* [ ] File size check
* [ ] Convert glTF model using TinyGLTF(glTF -> USDA -> USDC).## License
MIT license.