An open API service indexing awesome lists of open source software.

https://github.com/camerodev/fbx-model-basic

Import 3D model with FBX and put texture using three.js
https://github.com/camerodev/fbx-model-basic

3d fbx model thressjs

Last synced: about 1 month ago
JSON representation

Import 3D model with FBX and put texture using three.js

Awesome Lists containing this project

README

        

# FBX Model Render using Three.js and Put Texture
### Import FBX Model
```

function Scene() {
const fbx = useFBX("SkullDagger3PartLP.fbx");
});

return (
<>






>
);
}
```
### Put Texture to FBX
```
fbx.traverse(function (child) {
if (child instanceof THREE.Mesh) {
child.material.map = colorMap
child.material.needsUpdate = true;
}
});
```
![ezgif-5-73bd2b1bac](https://user-images.githubusercontent.com/92864027/217254624-c12a21f5-d5e7-4bdf-9afc-521a42095b51.gif)