skip to Main Content

I am developing an mobile app using react native to render Draco compressed GLB file. I have tried to render GLB file using @react-three/fiber package and I was able to render GLB file without compression. But not able to render compressed one. Please help me to decompress Draco GLB file and render it in react native.

Thanks in advance!

2

Answers


  1. It seems that you can not use meshopt or DRACO for compression for models on react native. Here is a thread explaining the issue:

    https://github.com/pmndrs/react-three-fiber/issues/2992

    Login or Signup to reply.
  2. Try using ktx2 loader for glb model compression

    Here’s a thread which might be useful for you

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search