FBXLoader: Invalid material indices break raycasting.
See original GitHub issueDescribe the bug
I’m not sure if it was the model that caused the mistake
fbxLoader.load(
'/All.fbx',
(object) => {
this.scene.add(object)
object.traverse(( child ) => {
if ( child.type == 'Group' && ['NAME'].includes(child.name) ) {
//used three.interactive
this.interactionManager.add(child)
child.addEventListener('click', () => {
console.log('click')
})
}
})
},
....
Screenshots
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
[r139 BUG?] `raycaster.intersectObject` fails because ...
I imported an FBX model, then when I try to run raycaster.intersectObject on it ... fbx-loader ... materialIndex is -1 which is an...
Read more >Cannon Debug Renderer - Three.js Tutorials - sbcode.net
Trimesh(vertices, indices) } public static CreateConvexPolyhedron( geometry: THREE.BufferGeometry ): CANNON.ConvexPolyhedron { const position ...
Read more >FBX Import Errors - Unreal Engine Documentation
Face Material index is not valid. Either it is mapped to the wrong index or the material is not available. The importer forces...
Read more >How to change my scene background by creating a post ...
jsm/postprocessing/UnrealBloomPass.js'; import { FBXLoader } from '. ... then render bloom scene on top finalComposer.render(); break; } ...
Read more >RizomUV CHANGELOG - Rizom-Lab
fix: can't load FBX using channel indexes in some cases ... new: FBX loader dialog now detect and display UV set naming ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks @Mugen87
I will communicate with the designer and verify later
https://drive.google.com/file/d/1mSisxqra_77ISP3ltLhikw0QCLjUag7n/view?usp=sharing
name = ‘XJCY’