Thanks very much for this Pat. I have a world light in my patch. One strange thing I noticed if my model is foo.obj and my material file is foo.mtl I get a message in the PD console saying it can't find obj.mtl . I thought the mtl file was to be named modelName"+.mtl ie. foo.mtl . I renamed my mtl file obj.mtl and it was found ie. no error message but the texture still doesn't appear on the model? It is white. Any other thoughts?
Jim
You need to include lighting in the texture otherwise it will show only black--
On Fri, Nov 2, 2018 at 4:07 PM Jim Ruxton <jim.ruxton@gmail.com> wrote:
I am trying to get an mtl file to work with a model I downloaded from
Tinkercad. I am able to see the obj file ok but the mtl file isn't
working . Would anyone be able to shed some light on how I can use the
mtl file to colour the surface of the object. I already tried sending a
"material 1" message to the model object.
Thanks,
Jim
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Patrick Pagano B.S.,M.F.A
Assistant Professor in Residence
Digital Media Design & Development
University of Connecticut, Stamford