<div dir="ltr">It is possible to have multiple texture maps applied to a single surface where the texture maps are blended together using a blending function. That is the part we do not support. Hope that helps!</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 16, 2017 at 9:18 PM, vinmean <span dir="ltr"><<a href="mailto:iamdpak@gmail.com" target="_blank">iamdpak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the reply. What I had with me was a single mesh.obj, a single MTL<br>
file mesh.mtl and multiple texture files mesh_material0000_map_kd.png,<br>
mesh_material0001_map_kd.png, mesh_material0002_map_kd.png.<br>
<br>
After setting the obj and mtl file names, I set only the first material<br>
mesh_material0000_map_kd.png using the importer->setTexturePath(). I was<br>
able to get the complete 3D object with the textures applied.<br>
<br>
I had asked this question because the  setTexturePath took only one texture<br>
file path. Even though my problem seems to be resolved, I am curious to<br>
understand if my scenario is different from "/Only one texture per object/".<br>
It would be great if you can point me to tutorials/materials which talk<br>
about how textures are applied because I didn't understand the statement<br>
/"you have an OBJ file where one piece (material?), uses multiple textures<br>
and has multiple sets of texture coordinates per vertex"/<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Using-multile-texture-files-in-vtkOBJImporter-tp5744430p5744463.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Using-multile-texture-<wbr>files-in-vtkOBJImporter-<wbr>tp5744430p5744463.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div></div></div>
</div>