gltfjsx
Convert GLTF/GLB 3D models into reusable React Three Fiber JSX components for integrating 3D assets into React applications with performance optimization options.
Instructions
Converts a GLTF/GLB 3D model file into a reusable, declarative React (react-three-fiber) JSX component. Supports options for TypeScript output, mesh/material instancing, pruning, compression, texture format, mesh simplification, and more. Useful for integrating 3D assets into React apps with optimal performance and flexibility.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelPath | Yes | The path to the GLTF/GLB model file to convert to JSX. The path should be absolute. The path should be absolute on the file system. Do not use relative paths. | |
| options | Yes |