PAT
1
I copied the code from the example
https://threejs.org/examples/#webgl_loader_obj_mtl
to my server and applied my own model and mtl file, but the texture does not load.
File can be viewed at http://abc1mail.com/test/test2/exampleOBJ.html
What is it I am missing?
It seems there are no texture definitions in your MTL file:
# Blender MTL File: 'vanity.blend'
# Material Count: 2
newmtl Material.001
Ns 96.078431
Ka 0.000000 0.000000 0.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ni 1.000000
d 1.000000
illum 2
newmtl Material.002
Ns 96.078431
Ka 0.000000 0.000000 0.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ni 1.000000
d 1.000000
illum 2