Initial support of texture options.
This commit is contained in:
20
models/texture-options-issue-85.mtl
Normal file
20
models/texture-options-issue-85.mtl
Normal file
@@ -0,0 +1,20 @@
|
||||
newmtl default
|
||||
Ka 0 0 0
|
||||
Kd 0 0 0
|
||||
Ks 0 0 0
|
||||
Kt 0.1 0.2 0.3
|
||||
map_Kd -o 0.1 diffuse.jpg
|
||||
map_Ks -o 0.1 0.2 specular.jpg
|
||||
map_Ns -o 0.1 0.2 0.3 specular_highlight.jpg
|
||||
map_bump -bm 3 bumpmap.jpg
|
||||
|
||||
newmtl bm2
|
||||
Ka 0 0 0
|
||||
Kd 0 0 0
|
||||
Ks 0 0 0
|
||||
Kt 0.1 0.2 0.3
|
||||
# blendu
|
||||
map_Kd -blendu on diffuse.jpg
|
||||
map_Ks -blendv off specular.jpg
|
||||
# -bm after filename
|
||||
map_bump bumpmap2.jpg -bm 1.5
|
||||
7
models/texture-options-issue-85.obj
Normal file
7
models/texture-options-issue-85.obj
Normal file
@@ -0,0 +1,7 @@
|
||||
mtllib texture-options-issue-85.mtl
|
||||
o Test
|
||||
v 1.864151 -1.219172 -5.532511
|
||||
v 0.575869 -0.666304 5.896140
|
||||
v 0.940448 1.000000 -1.971128
|
||||
usemtl default
|
||||
f 1 2 3
|
||||
Reference in New Issue
Block a user