Collada model is not visible in gazebo 8/9 if transparent = A_ONE

asked 2018-07-22 14:15:07 -0500

blatic gravatar image

I use a number of Collada models received from SolidWorks using different converters (Blender, OpenCollada, 3DMax). All models are correctly visualized in gazebo 7 but not visible in gazebo 8/9 (collision works)

As I discovered, the problem is related to the transparent tag in dae files. If it is set to RGB_ZERO then models are visible in gazebo 7/8/9. But if it is set to A_ONE then model is visible only in gazebo 7, but it is invisible in gazebo 8/9. Also, if transparent is removed from dae file, the models are also visible in all versions of gazebo. A_ONE is set by OpenCollada and blender converters, RGB_ZERO – 3DMax.

As I saw, the code for processing transparent in changed between 7th and 8th versions but it looks correct in the 8th and 9th versions.

The interesting part of my dae files looks like this:

<transparent opaque="A_ONE">
     <color>1 1 1 1</color>

The question is: does the problem lie in how gazebo handles transparent or in incorrect parameters specified by the exporters?

edit retag flag offensive close merge delete


I've also observed this. However, if I add a `transparency` tag after it, it works. <transparent opaque="A_ONE"> <color>1 1 1 1</color> </transparent> <transparency><float>1</float></transparency>

arifrahman gravatar imagearifrahman ( 2018-08-13 20:57:06 -0500 )edit

Would be happy to know about your further research you might have done for this topic.

pmuthu2s gravatar imagepmuthu2s ( 2019-05-29 03:37:26 -0500 )edit

Hi i was having a similiar problem, i solve it exporting the dae in a newer version of blender 2.82.7 works just fine in Gazebo 9.

The original model was exported in blender 2.78.0.

And i notice that the transparent flag it doesnt appears in the blender 2.82.7.

Hope to hear news about this problem.

nmarticorena gravatar imagenmarticorena ( 2020-05-29 02:02:02 -0500 )edit