gltfjsx icon indicating copy to clipboard operation
gltfjsx copied to clipboard

🎮 Turns GLTFs into JSX components

Results 106 gltfjsx issues
Sort by recently updated
recently updated
newest added

Hello, the following error occurs when I run the `npx gtlfjsx model.gltf` command in a shell env and I'm a little confused. if anyone could point out what I'm doing...

(base) weipingtong@Weis-MacBook-Air my-3d-model % npx gltfjsx avatar.glb ERROR Objects are not valid as a React child (found: Error: Invalid hook call. Hooks can only be called inside of the body...

Hi. While setting this up and testing it on a fresh react typescript project I ran into this issue. Looks like some type definition problem. Am I missing something or...

After command : npx gltfjsx model.glb ``` TypeError: Failed to parse URL from /Documents/GIT/threejs/2022/sandbox.15.06.22/node_modules/draco3dgltf/draco_decoder_gltf.wasm at new Request (node:internal/deps/undici/undici:4813:19) at Agent.fetch2 (node:internal/deps/undici/undici:5539:29) at Object.fetch (node:internal/deps/undici/undici:6370:20) at fetch (node:internal/bootstrap/pre_execution:196:25) at /Documents/GIT/threejs/2022/sandbox.15.06.22/node_modules/draco3dgltf/draco_decoder_gltf_nodejs.js:39:485 at...

## Problem Using `--types`, for example: ```bash npx gltfjsx --types model.gltf ``` TypeScript error message: ``` Type 'GLTFActions' does not satisfy the constraint 'AnimationClip'. Type 'GLTFActions' is missing the following...

### What I want When using the `--transform` option I wan't to be able to transform to GLTF instead of GLB. ### Why I want it In our current workflow...

I was hoping I'd be able to use the GLTFStructureLoader in a node js app using the following ``` const { GLTFStructureLoader } = require("@react-three/gltfjsx"); const fs = require("fs/promises"); const...

More of a question than an issue. When using it with a TS React project can't seem to get around this error - any ideas? Thanks! (Should mention that I...

What is the difference between using --instance, -i Instance re-occuring geometry --instanceall, -I Instance every geometry (for cheaper re-use) I noticed when you use a -i that the group contains...

I'm trying to use the `-d` (Draco binary path) option so that I can host the Draco files myself. Here's the command I ran and its output: ``` $ npx...