[PD] model object with mtl texture

IOhannes m zmölnig zmoelnig at iem.at
Wed Dec 2 21:27:38 CET 2020


On 12/2/20 7:42 PM, Csaba Láng wrote:
> Dear list,
> 
> I have both obj and mtl in the same folder, but when I send 1 to material
> message, nothing happens. I found a topic on the forum, that pix_image and
> pix_texture will add the material, but not from the mtl file.
> Long story short, how can I add the mtl texture to my obj 3d model?
> 

you have to apply it manually.
the mtl file will define the colour (ambient,specular,...), but any 
texture information is ignored.
manually load the texture and apply it to the model.
if multiple textures are to be applied, you basically need to load 
mulitple (sub)models ("group") and apply the textures individually.

famsrd
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20201202/3719d01e/attachment.sig>


More information about the Pd-list mailing list