# Revision history [back]

### Strange effect when importing DAE model retrieved on the web

Hi all,

I'm trying to enlarge my models database by retrieving models from the 3D warehouse.

As a reference I'm following this tutorial. And the procedure I follow to generate a COLLADA model is the following.

To check the outcome of the procedure, I open the .dae model with Meshlab. And this is what I get!

So, I'm pretty happy with the result!!!

Next, I create a gazebo model in the following steps:

• go to ~/gazebo/models folder
• create a folder to store the necessary files (e.g. ./armchair)
• create model.config and model.sdf files
• copy the model.dae file in the ./armchair/meshes folder
• copy the texture images (if any) in the ./armchair/materials/textures/ folder

where the model.config file contains:

<?xml version="1.0"?>

<model>
<name>armchair</name>
<version>1.0</version>
<sdf version="1.5">model.sdf</sdf>

<author>
<name>Federico Nardi</name>
<email>fnardi@dis.uniroma1.it</email>
</author>

<description>
Armchair
</description>
</model>


and the model.sdf:

<?xml version="1.0" ?>
<sdf version="1.5">
<model name="armchair">
<pose>0 0 0 0 0 0</pose>
<collision name="collision">
<geometry>
<mesh>
<uri>model://armchair/meshes/model.dae</uri>
</mesh>
</geometry>
</collision>
<visual name="visual">
<geometry>
<mesh>
<uri>model://armchair/meshes/model.dae</uri>
</mesh>
</geometry>
</visual>
</model>
</sdf>


When I insert the model in gazebo, this is the picture:

As you can see the textures are correctly loaded, but the edges of the model are marked in white!

Can someone please explain me what's happening?

Thanks.

### Strange effect when importing DAE model retrieved on the web

Hi all,

I'm trying to enlarge my models database by retrieving models from the 3D warehouse.

As a reference I'm following this tutorial. And the procedure I follow to generate a COLLADA model is the following.

To check the outcome of the procedure, I open the .dae model with Meshlab. And this is what I get!

So, I'm pretty happy with the result!!!

Next, I create a gazebo model in the following steps:

• go to ~/gazebo/models folder
• create a folder to store the necessary files (e.g. ./armchair)
• create model.config and model.sdf files
• copy the model.dae file in the ./armchair/meshes folder
• copy the texture images (if any) in the ./armchair/materials/textures/ folder

where the model.config file contains:

<?xml version="1.0"?>

<model>
<name>armchair</name>
<version>1.0</version>
<sdf version="1.5">model.sdf</sdf>

<author>
<name>Federico Nardi</name>
<email>fnardi@dis.uniroma1.it</email>
</author>

<description>
Armchair
</description>
</model>


and the model.sdf:

<?xml version="1.0" ?>
<sdf version="1.5">
<model name="armchair">
<pose>0 0 0 0 0 0</pose>
<collision name="collision">
<geometry>
<mesh>
<uri>model://armchair/meshes/model.dae</uri>
</mesh>
</geometry>
</collision>
<visual name="visual">
<geometry>
<mesh>
<uri>model://armchair/meshes/model.dae</uri>
</mesh>
</geometry>
</visual>
</model>
</sdf>


When I insert the model in gazebo, this is the picture:

As you can see the textures are correctly loaded, but the edges of the model are marked in white!

Can someone please explain me what's happening?

Thanks.

EDIT: @sloretz, here is the model.dae:

EDIT 2: @nkoenig, I'm using Gazebo 7.0.0.

### Strange effect when importing DAE model retrieved on the web

Hi all,

I'm trying to enlarge my models database by retrieving models from the 3D warehouse.

As a reference I'm following this tutorial. And the procedure I follow to generate a COLLADA model is the following.

To check the outcome of the procedure, I open the .dae model with Meshlab. And this is what I get!

So, I'm pretty happy with the result!!!

Next, I create a gazebo model in the following steps:

• go to ~/gazebo/models folder
• create a folder to store the necessary files (e.g. ./armchair)
• create model.config and model.sdf files
• copy the model.dae file in the ./armchair/meshes folder
• copy the texture images (if any) in the ./armchair/materials/textures/ folder

where the model.config file contains:

<?xml version="1.0"?>

<model>
<name>armchair</name>
<version>1.0</version>
<sdf version="1.5">model.sdf</sdf>

<author>
<name>Federico Nardi</name>
<email>fnardi@dis.uniroma1.it</email>
</author>

<description>
Armchair
</description>
</model>


and the model.sdf:

<?xml version="1.0" ?>
<sdf version="1.5">
<model name="armchair">
<pose>0 0 0 0 0 0</pose>
<collision name="collision">
<geometry>
<mesh>
<uri>model://armchair/meshes/model.dae</uri>
</mesh>
</geometry>
</collision>
<visual name="visual">
<geometry>
<mesh>
<uri>model://armchair/meshes/model.dae</uri>
</mesh>
</geometry>
</visual>
</model>
</sdf>


When I insert the model in gazebo, this is the picture:

As you can see the textures are correctly loaded, but the edges of the model are marked in white!

Can someone please explain me what's happening?

Thanks.

EDIT: @sloretz, here is the model.dae: