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

I keep getting the `Error: ENOENT: no such file or directory, open '/home/ran/Documents/my-project/public/result.bin'` error when I run it with -T or --transform

Hello! When I was using npx gltfjsx xxx.glb,there went something wrong and I don't know how to fix it!Could somebody help me ? ![ques](https://user-images.githubusercontent.com/108502926/228208663-151ca9ce-146a-4184-80ff-6131d760b071.png)

Hi Let's say I have a plane Board, with 10 threes that are the same. Currently, It will generate 11 components (1 board, and 10 threes that are the same)...

If you try to run the command on a file that doesn't exist, or if you get the path wrong, you get an empty .jsx file in your repository. This...

When I run the command: ``` npx gltfjsx package-30.glb --transform ``` it compresses the model from `28.1MB` to `866KB`. But when I try any different value with the `--resolution` prop...

when using the -s option to add shadows the lights aren't given the castShadow prop needed

Added a fs.existsSync() check before stream is created to prevent an empty .jsx file from being added when a user calls gltfjsx on a file that doesn't exist (or gets...

I Keep getting issues when enabling instancing and the exporter uses instance.MYOBJECT: Uncaught TypeError: Cannot read properties of undefined (reading 'length') ``` {(models) => } ```` ![image](https://user-images.githubusercontent.com/93581121/212714015-3b1ddee2-593e-4c6b-8bdb-698fd45ff997.png)

In the code, gltfjsx uses the `toVector3` method in this location: https://github.com/pmndrs/gltfjsx/blob/7d18a9e65287a3cd0d237bbd3f6bfffc21a09d24/src/utils/parser.js#L170 The definition used is here: https://github.com/mrdoob/three.js/blob/95ef309c79158aa506f3f7ddeab769e7c4908187/src/math/Euler.js#L294 In the current release of three.js, this method is no longer present,...

![image](https://user-images.githubusercontent.com/24933161/211215598-749ab538-73a7-48ca-8e5f-e008e697aa9f.png) It finds the file only when i provide absolute path, relative path does not work ## Solutions: a) Show the directory where the tool checked, but failed to find...