From: Michael Logan (mlogan++at++mail.arc.nasa.gov)
Date: 09/05/2003 17:08:05
Hi, I note that the shinycow.obj example works, but I can ONLY
get textures with REFL turned on to work.. ( "refl" keyword
in the .mtl file).
This trivial case enclosed will display color/material changes,
but not the texture... add "refl" at the end of the .mtl file,
and it displays something.
Any ideas as to how to get this working?
Nothing obvious to me in the pfobj.c loader...
thanks,
ml
-------------cut poly.obj ----------------------
mtllib bay.mtl
usemtl bay
v -1 -1 0
v 1 -1 0
v 1 1 0
v -1 1 0
vt 0 0
vt 1 0
vt 1 1
vt 0 1
-------------cut bay.mtl ----------------------
newmtl bay
Ka 0.5 0.5 0.5
Kd 1 1 1
Ks 1 1 1
# pick any rgb file, they all fail
map_Kd /usr/share/Performer/data/iris.rgb
-- Michael Logan (650)-604-4494 QSS Group,Inc./NASA Ames Research CenterTask Lead, Visual Cueing & Simulation Task Lead, Dynamic Aircraft Reconfiguration & Damage Adaptive Control MS 262-6,Moffett Field, CA, 94035 private: vonlogan++at++rcn.com, http://users.rcn.com/vonlogan/index.htm
This archive was generated by hypermail 2b29 : Fri Sep 05 2003 - 17:18:06 PDT