mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
Add script to clone OpenSubdiv.
This commit is contained in:
@@ -39,6 +39,10 @@ $ make
|
||||
* `TINYUSDZ_WITH_OPENSUBDIV` : Use OpenSubviv to tessellate subdivision surface.
|
||||
* `osd_DIR` to specify the path to OpenSubdiv repo(I recommend to use https://github.com/syoyo/OpenSubdiv-aarch64 )
|
||||
|
||||
#### Build with OpenSubdiv
|
||||
|
||||
Recommended way is to run `scripts/clone_osd.sh` to clone OpenSubdiv-aarch64 repo to `deps/OpenSudiv`, then run `scripts/bootstrap-cmake-linux-with-osd.sh` .
|
||||
|
||||
### Meson
|
||||
|
||||
Meson build is provided for testing compilation.
|
||||
|
||||
5
scripts/clone_osd.sh
Executable file
5
scripts/clone_osd.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
curdir=`pwd`
|
||||
|
||||
git clone --depth 1 https://github.com/syoyo/OpenSubdiv-aarch64 ${curdir}/deps/OpenSubdiv
|
||||
Reference in New Issue
Block a user