assimp/contrib/tinyusdz
Steve M e51eaf54c8 Update with blendshape support 2024-05-02 16:14:20 -07:00
..
tinyusdz_repo Update with blendshape support 2024-05-02 16:14:20 -07:00
README.md Fix failing build on armeabi-v7a via android NDK 2024-04-22 13:15:14 -07:00
assimp_tinyusdz_logging.inc Squash development commits for PR 2024-04-21 09:32:51 -07:00

README.md

tinyusdz

MODIFICATIONS REQUIRED

Need to patch contrib/tinyusdz/tinyusdz_repo/src/external/stb_image_resize2.h to allow build on

armeabi-v7a via android NDK

Add #elif block as indicated below around line 2407

#elif defined(STBIR_WASM) || (defined(STBIR_NEON) && defined(_MSC_VER) && defined(_M_ARM)) // WASM or 32-bit ARM on MSVC/clang
...
#elif defined(STBIR_NEON) && (defined(__ANDROID__) && defined(__arm__)) // 32-bit ARM on android NDK

  static stbir__inline void stbir__half_to_float_SIMD(float * output, stbir__FP16 const * input)
  {
    // TODO: this stub is just to allow build on armeabi-v7a via android NDK
  }

  static stbir__inline void stbir__float_to_half_SIMD(stbir__FP16 * output, float const * input)
  {
    // TODO: this stub is just to allow build on armeabi-v7a via android NDK
  }

  static stbir__inline float stbir__half_to_float( stbir__FP16 h )
  {
    // TODO: this stub is just to allow build on armeabi-v7a via android NDK
    return 0;
  }

  static stbir__inline stbir__FP16 stbir__float_to_half( float f )
  {
    // TODO: this stub is just to allow build on armeabi-v7a via android NDK
    return 0;
  }

#elif defined(STBIR_NEON) && defined(_MSC_VER) && defined(_M_ARM64) && !defined(__clang__) // 64-bit ARM on MSVC (not clang)

Notes

Couldn't leverage tinyusdz CMakeLists.txt. Fell back to compiling source files specified in "android" example.

Assimp update history

Apr 2024

Updated to tinyusdz branch rendermesh-refactor at 18 Mar 2024 commit f9792ce67c4ef08d779cdf91f49ad97acc426466

Mar 2024

Cloned github project tinyusdz branch dev at 10 Mar 2024 commit 912d27e8b632d2352e7284feb86584832c6015d5

Removed folders:

Removed folders in src:

Removed unused .cc files in src, external etc

Removed all files at root level except