MTL file — which Rhino textures can MTLLoader load?

Hi all,

I’m trying to work something out.

I’m not very adept with 3D modelling software/WebGL, but I do know javascript. I’m currently building out a sort of object viewer in the browser which uses OBJLoader and MTLLoader to allow for my client to upload their own .obj and .mtl files via the backend.

As they do not want to use any image mapping on to textures (i.e. load any external textures from the .mtl file), what I am trying to do is find out which materials in Rhino they can use, that MTLLoader will understand, if that makes sense?

Right now when I use a .mtl file which reads something like:

# Rhino
newmtl Anodized Aluminum
Ka 0.0000 0.0000 0.0000
Kd 0.2471 0.7490 0.7490
Ks 0.0000 1.0000 1.0000
Tf 0.0000 0.0000 0.0000
d 1.0000
Ns 45.52

newmtl Gold
Ka 0.0000 0.0000 0.0000
Kd 0.3882 0.3216 0.1490
Ks 0.8392 0.7843 0.4863
Tf 0.0000 0.0000 0.0000
d 1.0000
Ns 65.03

I see that the browser will load a MeshPhongMaterial for both the Anodized Aluminum and Gold…is this just a default, and the other properties of the MTL file describe the colour, or is threejs capable of understanding these materials in particular, if that makes sense?

If any of you know of any kind of list for these materials, or some more resources about this particular use case, that would be great.