Home | Tutorials | Wiki | Issues
Ask Your Question

Strange effect when importing DAE model retrieved on the web

asked 2017-12-01 04:48:34 -0500

federico.nardi gravatar image

updated 2017-12-01 13:27:14 -0500

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!

image description

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"?>

  <sdf version="1.5">model.sdf</sdf>

    <name>Federico Nardi</name>


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">
      <visual name="visual">

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

image description

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?


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




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

edit retag flag offensive close merge delete


Mind posting the collada model?

sloretz gravatar imagesloretz ( 2017-12-01 09:33:16 -0500 )edit

Can you also say what version of Gazebo you are using?

nkoenig gravatar imagenkoenig ( 2017-12-01 09:49:05 -0500 )edit

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/

chapulina gravatar imagechapulina ( 2017-12-01 10:35:21 -0500 )edit

Thanks, mind attaching the files `Large_BF_213_1.jpg` and `imitation_gold_leaf_pack_432_300x300_1.jpg` too?

sloretz gravatar imagesloretz ( 2017-12-01 13:04:16 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-12-01 13:45:28 -0500

sloretz gravatar image

updated 2017-12-01 13:47:02 -0500

Looks like blender shows the lines in Object Mode too: image description

In model.dae I see a tag called <lines> beginning on line 229. After deleting this block I no longer see the lines in gazebo 7.8.1.

<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
  <!-- ... -->
    <geometry id="Mesh14_Group5_Group_15_1_Component1_Model-mesh" name="Mesh14 Group5 Group_15_1 Component1 Model">
        <!-- ...delete the block below -->
        <lines count="2444">
          <input semantic="VERTEX" source="#Mesh14_Group5_Group_15_1_Component1_Model-mesh-vertices" offset="0"/>
          <!-- lots of numbers here -->
        <!-- delete the block above... -->
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-12-01 04:48:34 -0500

Seen: 91 times

Last updated: Dec 01 '17