[Ves] Kiwi obj texture

Eric Rolf xrolfex at gmail.com
Fri Jun 21 22:08:06 EDT 2013


Pat, 

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. 

Eric

Sent from my iPhone

Sent from my iPhone

> On Jun 21, 2013, at 9:15 PM, Pat Marion <pat.marion at kitware.com> wrote:
> 
> Hi Eric,
> 
> Unfortunately, there's no support for mtl files.  Kiwi uses the OBJ reader from VTK:
> 
> http://www.vtk.org/doc/nightly/html/classvtkOBJReader.html
> 
> 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.  You could try asking on the VTK mailing list to see if someone has a solution for converting obj+tcoords into a vtk dataset.  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.  There's not support for multitextures unfortunately, either.  Basically, if you can get your mesh to appear with texture coordinates in ParaView, then you can export it for KiwiViewer, too.
> 
> Pat
> 
> 
>> On Fri, Jun 21, 2013 at 9:10 PM, Eric Rolf <xrolfex at gmail.com> wrote:
>> 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?
>> 
>> Any thoughts?
>> 
>> Eric
>> 
>> Sent from my iPhone
>> _______________________________________________
>> Ves mailing list
>> Ves at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130621/5d811540/attachment-0002.html>


More information about the Ves mailing list