# Wavefront .obj WITH materials .mtl

**URL:** <https://discourse.paraview.org/t/wavefront-obj-with-materials-mtl/1012>\
**Category:** ParaView Support\
**Created:** [December 6, 2018, 6:54pm UTC](https://discourse.paraview.org/t/wavefront-obj-with-materials-mtl/1012 "2018-12-06T18:54:21Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Gwang-Jin\_Lee](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gwang-jin_lee/32/3689_2.png) [@Gwang-Jin\_Lee](https://discourse.paraview.org/u/Gwang-Jin_Lee)\
**Post date:** [June 3, 2020, 2:21am UTC](https://discourse.paraview.org/t/wavefront-obj-with-materials-mtl/1012/21 "2020-06-03T02:21:24Z")

</div>

Thank you for sharing the converter program.  
But, I am struggling in find how to transform the loaded objects. When I apply the transform filter to the loaded objects, the texture of the objects disappeared. For examples, 1.5 scale in z direction and x, y movings.  
Is there an way to transform object in obj-mtl-importer.py?

Thank you.

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [June 3, 2020, 9:25am UTC](https://discourse.paraview.org/t/wavefront-obj-with-materials-mtl/1012/22 "2020-06-03T09:25:05Z")

</div>

When you apply a transform filter you actually create a new dataset with a new representation on which the texture is not defined. So you can either load the same texture on that new representation or simply transform the representation itself. That way the rest of the settings remain unchanged.

To adjust the transform on the representation, just write “transform” in the search box of the property panel of ParaView and fill the various parameters that you want to adjust inside the “Display” section.

 ![Screen Shot 2020-06-03 at 11.24.28](https://discourse.paraview.org/uploads/default/original/2X/c/ca119444229917e8326b9daba50ac2b123214388.png)

---

<div class="post-metadata">

**Author:** ![Gwang-Jin\_Lee](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gwang-jin_lee/32/3689_2.png) [@Gwang-Jin\_Lee](https://discourse.paraview.org/u/Gwang-Jin_Lee)\
**Post date:** [June 3, 2020, 1:49pm UTC](https://discourse.paraview.org/t/wavefront-obj-with-materials-mtl/1012/23 "2020-06-03T13:49:46Z")

</div>

Thank you for informing me the search box. It works!

---

<div class="post-metadata">

**Author:** ![david.k](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/65b543/32.png) [@david.k](https://discourse.paraview.org/u/david.k)\
**Post date:** [August 25, 2020, 6:30pm UTC](https://discourse.paraview.org/t/wavefront-obj-with-materials-mtl/1012/24 "2020-08-25T18:30:59Z")

</div>

Hello,

I managed to run the script on my .obj mesh however I lost the coordinates of the scene. Is it somehow possible to maintain the orginal coordinates of the OBJ file?

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 25, 2020, 7:13pm UTC](https://discourse.paraview.org/t/wavefront-obj-with-materials-mtl/1012/25 "2020-08-25T19:13:17Z")

</div>

I’m not sure to follow the question.

[Previous page](https://discourse.paraview.org/t/wavefront-obj-with-materials-mtl/1012.md?page=1)
