[Paraview] Add texture to obj files

Martín Huarte E martin.huartee at gmail.com
Thu Sep 10 11:38:46 EDT 2015


Hi Cory. Please see attachments. Thanks.

My best, Martín

On Tue, Sep 8, 2015 at 3:21 PM, Cory Quammen <cory.quammen at kitware.com>
wrote:

> Martin,
>
> Is it possible to share a sample file and texture? That would be a great
> help in figuring out what might be going wrong.
>
> Thanks,
> Cory
>
> On Tue, Sep 8, 2015 at 4:10 PM, Martín Huarte E <martin.huartee at gmail.com>
> wrote:
>
>> Dear Cory. Thanks for the tip. I've tried, but there seems to be a
>> problem, as after trying what you suggested, the grid does not show the
>> texture correctly... it looks like a solid, black, color. Meshlab has no
>> such problems... still trying to figure this out.
>>
>> Thanks again.
>>
>> My best, Martín
>>
>> On Fri, Sep 4, 2015 at 3:55 PM, Cory Quammen <cory.quammen at kitware.com>
>> wrote:
>>
>>> Hi Martin,
>>>
>>> Sure, it's possible. Try this:
>>>
>>> - load you OBJ file. Click Apply.
>>> - in the Properties panel, scroll down until you see the Texture option.
>>> Click on the combo box to the right and pick "Load..." Load your JPG
>>> texture.
>>> - if you don't see the texture, change the color array to "Solid Color"
>>>
>>> Note that your OBJ file will need to have texture coordinates that get
>>> read into ParaView. I think someone added this capability relatively
>>> recently - let us know if you can't apply the procedure I outlined above.
>>>
>>> Hope that helps,
>>> Cory
>>>
>>> On Tue, Sep 1, 2015 at 1:55 PM, Martín Huarte E <
>>> martin.huartee at gmail.com> wrote:
>>>
>>>> Dear Paraview enthusiasts: Good day. I’m trying to work an obj file
>>>> along with a jpg one, produced by a 3D scanner. I can load the obj file and
>>>> plot its mesh, etc., however, I cannot map the jpg texture (colors) into
>>>> it. i.e. want to take the jpg stuff and map it onto the mesh from the
>>>> obj file. Any suggestion on how to achieve this would be greatly
>>>> appreciated.
>>>>
>>>> Thank you.
>>>> My best, Martín
>>>>
>>>>
>>>> *Martín Huarte-Espinosa, Ph.D.*
>>>>
>>>> *Computational Physicist  -  Expert Numerical Modeler and Code
>>>> Developer - High Performance Computing Research Specialist*
>>>> *linkedin.com/pub/martin-huarte-espinosa/59/6b7/13a
>>>> <http://linkedin.com/pub/martin-huarte-espinosa/59/6b7/13a>*
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the ParaView Wiki at:
>>>> http://paraview.org/Wiki/ParaView
>>>>
>>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://public.kitware.com/mailman/listinfo/paraview
>>>>
>>>>
>>>
>>>
>>> --
>>> Cory Quammen
>>> R&D Engineer
>>> Kitware, Inc.
>>>
>>
>>
>
>
> --
> Cory Quammen
> R&D Engineer
> Kitware, Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150910/ba323296/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stepper_motor_0.jpg
Type: image/jpeg
Size: 1672277 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150910/ba323296/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stepper_motor.obj
Type: application/octet-stream
Size: 1858618 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150910/ba323296/attachment-0001.obj>


More information about the ParaView mailing list