# newmtl [name] 材质名称 # Ns [0~1000] 反射高光度 值越高则高光越密集 # Ni [0.001~10] 折射值 若取值为1.0 光在通过物体的时候不发生弯曲 玻璃的折射率为1.5 # Ka [0~1] [0~1] [0~1] 材质的环境光 阴影色(ambient color) # Kd [0~1] [0~1] [0~1] 散射光 固有色(diffuse color) # Ks [0~1] [0~1] [0~1] 镜面光 高光色(specular color) # d [0~1] 渐隐指数描述 参数factor表示物体融入背景的数量 取值范围为0.0~1.0 取值为1.0表示完全不透明 取值为0.0时表示完全透明 # illum 1 # map_Ka [pic-file] # map_Kd [pic-file] # map_Ks [pic-file] newmtl gmt_seis Ns 96.078431 Ni 1.000000 Ka 0.100000 0.100000 0.100000 Kd 0.640000 0.640000 0.640000 Ks 0.000000 0.000000 0.000000 d 1.0 illum 1 map_Ka GMT_seis.png map_Kd GMT_seis.png newmtl gmt_rainbow Ns 96.078431 Ni 1.000000 Ka 0.100000 0.100000 0.100000 Kd 0.640000 0.640000 0.640000 Ks 0.000000 0.000000 0.000000 d 1.0 illum 1 map_Ka GMT_rainbow.png map_Kd GMT_rainbow.png newmtl arctic Ns 96.078431 Ni 1.000000 Ka 0.100000 0.100000 0.100000 Kd 0.640000 0.640000 0.640000 Ks 0.000000 0.000000 0.000000 d 1.0 illum 1 map_Ka arctic.png map_Kd arctic.png