three-stdlib icon indicating copy to clipboard operation
three-stdlib copied to clipboard

useGLTF with KTX2Loader

Open KallkaGo opened this issue 1 year ago • 2 comments
trafficstars

i use gltfpack to compression model and Texture ,so i use useGLTF to load it this is my code : image but i got an error image Interestingly using the KTX2Loader from three/example it works fine. Is my usage wrong? Or is there something wrong with the KTX2Loader of three-stdlib?

version: @react-three/drei: "9.105.3", @react-three/fiber: "^8.16.2", three: "^0.161.0", three-stdlib: "2.29.6",

KallkaGo avatar Apr 17 '24 15:04 KallkaGo

This looks like a bug, nothing wrong on your part. I'll take a closer look.

CodyJasonBennett avatar Apr 17 '24 15:04 CodyJasonBennett

i use gltfpack to compression model and Texture ,so i use useGLTF to load it this is my code : image but i got an error image Interestingly using the KTX2Loader from three/example it works fine. Is my usage wrong? Or is there something wrong with the KTX2Loader of three-stdlib?

version: @react-three/drei: "9.105.3", @react-three/fiber: "^8.16.2", three: "^0.161.0", three-stdlib: "2.29.6",

Having same issue using:

"@react-three/drei": "^9.105.4", "@react-three/fiber": "^8.16.2", "three": "^0.163.0", "three-stdlib": "^2.29.6",

jereloh avatar Apr 18 '24 04:04 jereloh

Fixed with #374.

CodyJasonBennett avatar Aug 19 '24 13:08 CodyJasonBennett