# Import OBJ - question on texturing

**URL:** <https://discourse.mcneel.com/t/import-obj-question-on-texturing/44098>\
**Category:** Serengeti (Rhino BETA)\
**Created:** [May 15, 2017, 11:12am UTC](https://discourse.mcneel.com/t/import-obj-question-on-texturing/44098 "2017-05-15T11:12:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [May 15, 2017, 11:12am UTC](https://discourse.mcneel.com/t/import-obj-question-on-texturing/44098/1 "2017-05-15T11:12:27Z")

</div>

I’m having a go at importing 3D scans and found some on the net.  
[https://www.artec3d.com/3d-models](https://www.artec3d.com/3d-models)

I first imported the VW Bus, then deleted everything in the scene and imported the car compressor. This was the result:

 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/d/3/d3b37d7fe5efe089e51fcb83936f62fe1695e56a.jpg)

 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/b/c/bcfbd1cfe65ae8d9128eee22c0d942ecdd0e07c7.jpg)

If I import the compressor in a new session of Rhino, I get this:

 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/e/0/e0b9a45a82a6f79cb051b80f173860de8fa1e506.jpg)

Question: is that intended behavior?

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [May 15, 2017, 3:13pm UTC](https://discourse.mcneel.com/t/import-obj-question-on-texturing/44098/2 "2017-05-15T15:13:23Z")

</div>

Hi Wim - are there overlaps or collisions in group or object or layer names in the two files? OBJ import has so many settings for how to treat objects and groups and layers, it seems a clue would be in that part of the process. Can you send us those? Oh, I see the link… thanks.

@wim - both files’ mtl files have the same exact names inside - only the bitmap changes, so I guess Rhino currently thinks they are the same material… so far just mucking around here, I can’t find a way to name these that avoids the overlap though… still poking, I’ll probably need to check with Tim on this one.

-Pascal

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [May 16, 2017, 5:46am UTC](https://discourse.mcneel.com/t/import-obj-question-on-texturing/44098/3 "2017-05-16T05:46:44Z")

</div>

> [@pascal](#):
>
> both files’ mtl files have the same exact names inside

I’m not used to working with OBJ’s and so probably missing a lot - but I’m not seeing that here - or at least only partially:

the `Compressor.mtl` file is as follows:

> newmtl material\_0  
> Ka 1 1 1  
> Kd 1 1 1  
> Ks 1 1 1  
> Ns 1000  
> map\_Kd Compressor\_0.jpg
> 
> newmtl material\_1  
> Ka 1 1 1  
> Kd 1 1 1  
> Ks 1 1 1  
> Ns 1000

the `Bus.mtl` file is as follows:

> newmtl material\_0  
> Ka 1 1 1  
> Kd 1 1 1  
> Ks 1 1 1  
> Ns 1000  
> map\_Kd Bus\_0.jpg
> 
> newmtl material\_1  
> Ka 1 1 1  
> Kd 1 1 1  
> Ks 1 1 1  
> Ns 1000

So, yes, the material names are the same but I would think that Rhino should be able to update `map_Kd Bus_0.jpg` with `map_Kd Compressor_0.jpg`. Perhaps with a `Warning - Existing Material Found: Replace / Rename / Cancel` question?

---

<div class="post-metadata">

**Author:** ![BrianJ](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/brianj/32/751593_2.png) [@BrianJ](https://discourse.mcneel.com/u/BrianJ)\
**Post date:** [May 16, 2017, 1:05pm UTC](https://discourse.mcneel.com/t/import-obj-question-on-texturing/44098/4 "2017-05-16T13:05:22Z")

</div>

Thanks for the report… filed as [https://mcneel.myjetbrains.com/youtrack/issue/RH-39362](https://mcneel.myjetbrains.com/youtrack/issue/RH-39362)

In the meantime, renaming the material for the bus scan prior to deleting that mesh prevents the confusion with the duplicate material name.

---

<div class="post-metadata">

**Author:** ![brian](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/brian/32/504171_2.png) [@brian](https://discourse.mcneel.com/u/brian)\
**Post date:** [May 24, 2017, 12:33am UTC](https://discourse.mcneel.com/t/import-obj-question-on-texturing/44098/5 "2017-05-24T00:33:16Z")

</div>

[RH-39362](https://mcneel.myjetbrains.com/youtrack/issue/RH-39362) is fixed in the latest WIP
