Comments (3)
Same errors using the latest cli as well:
npx gltfjsx diana.gltf -t
/*
Auto-generated by: https://github.com/pmndrs/gltfjsx
Command: npx [email protected] diana.gltf -t
*/
![image](https://private-user-images.githubusercontent.com/62854158/303748530-4eccbffe-3407-4159-91b2-eaf8fdd1c2cf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTUyNDE1NzcsIm5iZiI6MTcxNTI0MTI3NywicGF0aCI6Ii82Mjg1NDE1OC8zMDM3NDg1MzAtNGVjY2JmZmUtMzQwNy00MTU5LTkxYjItZWFmOGZkZDFjMmNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTA5VDA3NTQzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc4OWNhZjM3NzA0ODE5ZDQzOTZhMmFmZGM0ZmJkMGNkOTMzN2EyYzFiOTA3YTFlZDBjOWVlNmY0NjJiMGZiNTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bRmSUqnbDdYtj8qRSs04ZKKPkmYhBIYW8kz4WorRHyo)
from gltfjsx.
I just ran the CLI version with --types
and can confirm that there are a bunch of errors for example:
(a)
TS2339: Property 'instanceMatrix' does not exist on type 'Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>'.
(b)
TS2304: Cannot find name 'GLTFAction'.
161 | PaletteMaterial001: THREE.MeshStandardMaterial
162 | }
> 163 | animations: GLTFAction[]
Would be great if someone can confirm if there's a currently known-working version that I can pin, and also get some test coverage on the typescript-generating code paths.
from gltfjsx.
Related Issues (20)
- Prepass to de-duplicate object names at JSX generation time HOT 2
- Additional UV sets being removed with --transform, no option to make sure these are preserved HOT 1
- Wrong UV values HOT 1
- TypeError: fetch failed
- TypeError: objectInfluences is undefined HOT 5
- Application error: a client-side exception has occurred (see the browser console for more information). HOT 2
- Question: How can I allow users to change the node's surface colour HOT 1
- Model gets deformed when being converted HOT 1
- v6.2.12 - Cannot read properties of undefined (reading 'length') HOT 2
- stylelint fails with meow
- The instance all option generates code that doesn't work with animations. HOT 1
- new feature - skeleton programmatically HOT 1
- Uncaught TypeError: objectInfluences is undefined HOT 2
- Expose materials attributes/properties / Explode materials
- Using gltfjsx in Next.js - No "exports" main defined in /node_modules/@monogrid/gainmap-js/package.json
- Parsing input arbitrary three.js scene graph to component tree HOT 3
- How to rewrite gltfjsx generated jsx file to separate geometry and material HOT 1
- instruction for installation in documentation 😔❌ HOT 2
- Unit testing - gltfjsx created components
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gltfjsx.