<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">Pat,&nbsp;</span></div><div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">Do you know of a good way to convert and obj with an mtl or .tga onto a formate kiwi can render textures with. I can load obj fine alone with other models but can't figure a good way to convert obj and mtl or tga to a format kiwi can texture render.&nbsp;</span></div><div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br></span></div><div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">Eric<br><br>Sent from my iPhone</span></div><br><span style="-webkit-text-size-adjust: auto;">Sent from my iPhone</span></div><div style="-webkit-text-size-adjust: auto;"><br>On Jun 21, 2013, at 9:15 PM, Pat Marion &lt;<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>&gt; wrote:<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto;"><div><div dir="ltr"><div><div>Hi Eric,<br><br></div>Unfortunately, there's no support for mtl files.&nbsp; Kiwi uses the OBJ reader from VTK:<br><br><a href="http://www.vtk.org/doc/nightly/html/classvtkOBJReader.html">http://www.vtk.org/doc/nightly/html/classvtkOBJReader.html</a><br>

<br></div>And that reader is missing texture support, it doesn't read mtl files and it doesn't read the texture coordinates from the obj file.&nbsp; You could try asking on the VTK mailing list to see if someone has a solution for converting obj+tcoords into a vtk dataset.&nbsp; Kiwi's current method for loading textured meshes is to load a vtk dataset with texture coordinates, then use a .kiwi file to associate a png or jpg file.&nbsp; There's not support for multitextures unfortunately, either.&nbsp; Basically, if you can get your mesh to appear with texture coordinates in ParaView, then you can export it for KiwiViewer, too.<br>

<br>Pat<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 21, 2013 at 9:10 PM, Eric Rolf <span dir="ltr">&lt;<a href="mailto:xrolfex@gmail.com" target="_blank">xrolfex@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was taking a look at the kiwi simple app but I'm not seeing a clear way to load mtl and texture files for obj in KIWI?<br>


<br>
Any thoughts?<br>
<br>
Eric<br>
<br>
Sent from my iPhone<br>
_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
</blockquote></div><br></div>
</div></blockquote></body></html>