Gazebo | Ignition | Community
Ask Your Question

Large Collada meshes only render partially

asked 2016-10-13 16:24:42 -0500

pcdangio gravatar image

updated 2016-10-13 16:26:43 -0500

Ever since I've upgraded to Gazebo 7, any LARGE mesh I use as a visual in a model file only partially loads. The majority of the polygons/shapes are missing when I load the model in Gazebo. I have opened the Collada files in other software and verified that the meshes are correct. Any ideas what might be causing the issue? These meshes used to work fine in previous versions of Gazebo.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-10-21 09:44:01 -0500

pcdangio gravatar image

I found the answer:

It turns out that Google SketchUp screws up the orientation of surface normals when exporting Collada (dae) meshes. What I have to do is export a SketchUp file as an OBJECT (obj) file, and then import the obj file into MeshLab. I then export as a Collada (dae) file from MeshLab, since MeshLab makes sure the orientation of the surface normals is done correctly. The mesh then loads fine in Gazebo.

The weird thing is that I've been using the same model for years now. It hasn't been until the last 2 or 3 versions of Gazebo that I noticed the model's mesh stopped loading properly. Maybe something changed with ogre?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-10-13 16:24:42 -0500

Seen: 434 times

Last updated: Oct 21 '16