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
andmodel.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">
<link name="link">
<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>
</link>
</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
:
https://drive.google.com/open?id=1J5f...
https://drive.google.com/a/dis.unirom...
https://drive.google.com/a/dis.unirom...
EDIT 2: @nkoenig, I'm using Gazebo 7.0.0.
Mind posting the collada model?
Can you also say what version of Gazebo you are using?
Looks like the same weird wireframe effect mentioned on this question: http://answers.gazebosim.org/question/16802/gazebo-chair-shines-through-the-table-in-the-simulation/
Thanks, mind attaching the files `Large_BF_213_1.jpg` and `imitation_gold_leaf_pack_432_300x300_1.jpg` too?