3d model has no texture, it is black, how to add texture?

It’s seems something went wrong during your upload…

Anyway, the following example demonstrates how to load OBJ/MTL files. Maybe it’s a good resource for your own code:

https://threejs.org/examples/webgl_loader_obj_mtl