Hi. I've just started working with Away3D and so far it's been pretty
good. I'm having some issues with a UV mapped Obj file though and
didn't find definitive answers in the message archive.
My object is entirely textured even though I've only defined 2 faces
with the "Letters" material. The "Conc" material never shows up (solid
color) and the texture from letters is repeated over all remaining
faces (where I'd expect the Conc material to be).
I'm loading like this. I'm not so clear on what should be in the
initialization object so maybe that's the problem?
loader = Obj.load("../objects/Tower.obj", { material:"Letters",
scaling:5, bothsides:false } );
The object is a simple 28 faces exported from Lightwave 9.5. Thanks in
advance.
----
newmtl Conc
Ka 0 0 0
Kd 0.501961 0.501961 0.25098
Ks 0 0 0
Ni 1
Ns 400
Tf 1 1 1
d 1
newmtl Letters
Ka 0 0 0
Kd 0.784314 0.784314 0.784314
Ks 0 0 0
Ni 1
Ns 400
Tf 1 1 1
d 1
map_Kd RQUV.png